![]() |
OGRE
1.12.1
Object-Oriented Graphics Rendering Engine
|
#include "OgreAlignedAllocator.h"Classes | |
| class | Ogre::AllocatedObject< Category > |
| class | Ogre::AllocPolicy |
Namespaces | |
| Ogre | |
Macros | |
| #define | OGRE_ALLOC_T(T, count, category) (T*)new char[(count) * sizeof(T)] |
| Allocate a block of memory for a primitive type, and indicate the category of usage. More... | |
| #define | OGRE_DELETE delete |
| #define | OGRE_DELETE_ARRAY_T(ptr, T, count, category) delete[] ptr |
| Free the memory allocated with OGRE_NEW_ARRAY_T. Category is required to be restated to ensure the matching policy is used, count and type to call destructor. More... | |
| #define | OGRE_DELETE_T(ptr, T, category) delete ptr |
| Free the memory allocated with OGRE_NEW_T. Category is required to be restated to ensure the matching policy is used. More... | |
| #define | OGRE_FREE(ptr, category) delete[] (char*)ptr |
| Free the memory allocated with OGRE_MALLOC or OGRE_ALLOC_T. Category is required to be restated to ensure the matching policy is used. More... | |
| #define | OGRE_FREE_SIMD(ptr, category) ::Ogre::AlignedMemory::deallocate((void*)ptr) |
| Free the memory allocated with either OGRE_MALLOC_SIMD or OGRE_ALLOC_T_SIMD. Category is required to be restated to ensure the matching policy is used. More... | |
| #define | OGRE_MALLOC(bytes, category) (void*)new char[bytes] |
| Allocate a block of raw memory, and indicate the category of usage. More... | |
| #define | OGRE_MALLOC_SIMD(bytes, category) ::Ogre::AlignedMemory::allocate(bytes) |
| Allocate a block of raw memory aligned to SIMD boundaries, and indicate the category of usage. More... | |
| #define | OGRE_NEW new |
| #define | OGRE_NEW_ARRAY_T(T, count, category) new T[count] |
| Allocate a block of memory for 'count' primitive types - do not use for classes that inherit from AllocatedObject. More... | |
| #define | OGRE_NEW_T(T, category) new T |
| Allocate space for one primitive type, external type or non-virtual type with constructor parameters. More... | |
Typedefs | |
| typedef ScriptingAllocatedObject | Ogre::AbstractNodeAlloc |
| typedef AnimationAllocatedObject | Ogre::AnimableAlloc |
| typedef AnimationAllocatedObject | Ogre::AnimationAlloc |
| typedef AllocatedObject | Ogre::AnimationAllocatedObject |
| typedef AllocPolicy | Ogre::AnimationAllocPolicy |
| typedef GeneralAllocatedObject | Ogre::ArchiveAlloc |
| typedef GeometryAllocatedObject | Ogre::BatchedGeometryAlloc |
| typedef RenderSysAllocatedObject | Ogre::BufferAlloc |
| typedef GeneralAllocatedObject | Ogre::CodecAlloc |
| typedef ResourceAllocatedObject | Ogre::CompositorInstAlloc |
| typedef GeneralAllocatedObject | Ogre::ConfigAlloc |
| typedef GeneralAllocatedObject | Ogre::ControllerAlloc |
| typedef GeometryAllocatedObject | Ogre::DebugGeomAlloc |
| typedef GeneralAllocatedObject | Ogre::DynLibAlloc |
| typedef GeometryAllocatedObject | Ogre::EdgeDataAlloc |
| typedef GeneralAllocatedObject | Ogre::FactoryAlloc |
| typedef GeneralAllocatedObject | Ogre::FileSystemLayerAlloc |
| typedef SceneObjAllocatedObject | Ogre::FXAlloc |
| typedef AllocatedObject | Ogre::GeneralAllocatedObject |
| typedef AllocPolicy | Ogre::GeneralAllocPolicy |
| typedef AllocatedObject | Ogre::GeometryAllocatedObject |
| typedef AllocPolicy | Ogre::GeometryAllocPolicy |
| typedef RenderSysAllocatedObject | Ogre::GpuParamsAlloc |
| typedef GeneralAllocatedObject | Ogre::ImageAlloc |
| typedef GeometryAllocatedObject | Ogre::IndexDataAlloc |
| typedef SceneCtlAllocatedObject | Ogre::LodAlloc |
| typedef GeneralAllocatedObject | Ogre::LogAlloc |
| typedef SceneObjAllocatedObject | Ogre::MovableAlloc |
| typedef SceneCtlAllocatedObject | Ogre::NodeAlloc |
| typedef SceneObjAllocatedObject | Ogre::OverlayAlloc |
| typedef ResourceAllocatedObject | Ogre::PassAlloc |
| typedef GeometryAllocatedObject | Ogre::PatchAlloc |
| typedef GeneralAllocatedObject | Ogre::PluginAlloc |
| typedef GeneralAllocatedObject | Ogre::ProfilerAlloc |
| typedef GeometryAllocatedObject | Ogre::ProgMeshAlloc |
| typedef SceneCtlAllocatedObject | Ogre::RenderQueueAlloc |
| typedef RenderSysAllocatedObject | Ogre::RenderSysAlloc |
| typedef AllocatedObject | Ogre::RenderSysAllocatedObject |
| typedef AllocPolicy | Ogre::RenderSysAllocPolicy |
| typedef ResourceAllocatedObject | Ogre::ResourceAlloc |
| typedef AllocatedObject | Ogre::ResourceAllocatedObject |
| typedef AllocPolicy | Ogre::ResourceAllocPolicy |
| typedef GeneralAllocatedObject | Ogre::RootAlloc |
| typedef AllocatedObject | Ogre::SceneCtlAllocatedObject |
| typedef AllocPolicy | Ogre::SceneCtlAllocPolicy |
| typedef SceneCtlAllocatedObject | Ogre::SceneMgtAlloc |
| typedef AllocatedObject | Ogre::SceneObjAllocatedObject |
| typedef AllocPolicy | Ogre::SceneObjAllocPolicy |
| typedef ScriptingAllocatedObject | Ogre::ScriptCompilerAlloc |
| typedef AllocatedObject | Ogre::ScriptingAllocatedObject |
| typedef AllocPolicy | Ogre::ScriptingAllocPolicy |
| typedef ScriptingAllocatedObject | Ogre::ScriptTranslatorAlloc |
| typedef GeneralAllocatedObject | Ogre::SerializerAlloc |
| typedef SceneCtlAllocatedObject | Ogre::ShadowDataAlloc |
| typedef GeneralAllocatedObject | Ogre::StereoDriverAlloc |
| typedef GeneralAllocatedObject | Ogre::StreamAlloc |
| typedef SceneObjAllocatedObject | Ogre::SubEntityAlloc |
| typedef ResourceAllocatedObject | Ogre::SubMeshAlloc |
| typedef ResourceAllocatedObject | Ogre::TechniqueAlloc |
| typedef ResourceAllocatedObject | Ogre::TextureUnitStateAlloc |
| typedef GeneralAllocatedObject | Ogre::TimerAlloc |
| typedef GeneralAllocatedObject | Ogre::UtilityAlloc |
| typedef GeometryAllocatedObject | Ogre::VertexDataAlloc |
| typedef RenderSysAllocatedObject | Ogre::ViewportAlloc |
Enumerations | |
| enum | Ogre::MemoryCategory { Ogre::MEMCATEGORY_GENERAL = 0, Ogre::MEMCATEGORY_GEOMETRY = 1, Ogre::MEMCATEGORY_ANIMATION = 2, Ogre::MEMCATEGORY_SCENE_CONTROL = 3, Ogre::MEMCATEGORY_SCENE_OBJECTS = 4, Ogre::MEMCATEGORY_RESOURCE = 5, Ogre::MEMCATEGORY_SCRIPTING = 6, Ogre::MEMCATEGORY_RENDERSYS = 7, Ogre::MEMCATEGORY_COUNT = 8 } |
| A set of categories that indicate the purpose of a chunk of memory being allocated. More... | |