OGRE  1.12.13
Object-Oriented Graphics Rendering Engine
OgreMetalPrerequisites.h File Reference

Namespaces

 Ogre
 

Macros

#define _OgreMetalExport
 
#define OGRE_METAL_CONST_SLOT_START   16u
 
#define OGRE_METAL_CS_CONST_SLOT_START   0u
 
#define OGRE_METAL_CS_PARAMETER_SLOT   8u
 
#define OGRE_METAL_CS_TEX_SLOT_START   16u
 
#define OGRE_METAL_CS_UAV_SLOT_START   8u
 
#define OGRE_METAL_PARAMETER_SLOT   23u
 
#define OGRE_METAL_TEX_SLOT_START   24u
 
#define OGRE_METAL_UAV_SLOT_START   28u
 
#define RESTRICT_ALIAS   __restrict__
 
#define RESTRICT_ALIAS_RETURN
 

Typedefs

typedef MetalStagingBuffer Ogre::StagingBuffer
 

Enumerations

enum  Ogre::MappingState { Ogre::MS_UNMAPPED, Ogre::MS_MAPPED, Ogre::NUM_MAPPING_STATE }
 
enum  Ogre::StagingStallType { Ogre::STALL_NONE, Ogre::STALL_PARTIAL, Ogre::STALL_FULL, Ogre::NUM_STALL_TYPES }
 
enum  Ogre::UnmapOptions { Ogre::UO_UNMAP_ALL, Ogre::UO_KEEP_PERSISTENT }
 

Functions

size_t Ogre::alignToNextMultiple (size_t offset, size_t alignment)
 Aligns the input 'offset' to the next multiple of 'alignment'. More...
 
template<typename T >
T::iterator Ogre::efficientVectorRemove (T &container, typename T::iterator &iterator)
 Used for efficient removal in std::vector and std::deque (like an std::list) However it assumes the order of elements in container is not important or something external to the container holds the index of an element in it (but still should be kept deterministically across machines) Basically it swaps the iterator with the last iterator, and pops back Returns the next iterator. More...
 

Macro Definition Documentation

◆ OGRE_METAL_CONST_SLOT_START

#define OGRE_METAL_CONST_SLOT_START   16u

◆ OGRE_METAL_TEX_SLOT_START

#define OGRE_METAL_TEX_SLOT_START   24u

◆ OGRE_METAL_PARAMETER_SLOT

#define OGRE_METAL_PARAMETER_SLOT   23u

◆ OGRE_METAL_UAV_SLOT_START

#define OGRE_METAL_UAV_SLOT_START   28u

◆ OGRE_METAL_CS_PARAMETER_SLOT

#define OGRE_METAL_CS_PARAMETER_SLOT   8u

◆ OGRE_METAL_CS_CONST_SLOT_START

#define OGRE_METAL_CS_CONST_SLOT_START   0u

◆ OGRE_METAL_CS_UAV_SLOT_START

#define OGRE_METAL_CS_UAV_SLOT_START   8u

◆ OGRE_METAL_CS_TEX_SLOT_START

#define OGRE_METAL_CS_TEX_SLOT_START   16u

◆ RESTRICT_ALIAS

#define RESTRICT_ALIAS   __restrict__

◆ RESTRICT_ALIAS_RETURN

#define RESTRICT_ALIAS_RETURN

◆ _OgreMetalExport

#define _OgreMetalExport