OGRE-Next: OgrePlatform.h File Reference

| OGRE-Next 3.0.0 Object-Oriented Graphics Rendering Engine

Loading...
Searching...
No Matches
Namespaces | Macros | Typedefs
OgrePlatform.h File Reference
`#include "OgreConfig.h"`

## Namespaces
namespace | Ogre
| bswapNN may be defined as macros in <sys/endian.h> or <sys/bswap.h>

## Macros
#define | __OGRE_HAVE_DIRECTXMATH 0
#define | __OGRE_HAVE_NEON 0
#define | __OGRE_HAVE_SSE 0
#define | _CRT_SECURE_NO_WARNINGS
#define | _OGRE_SIMD_ALIGN_ATTRIBUTE
#define | _SCL_SECURE_NO_WARNINGS
#define | DECL_MALLOC __declspec( restrict ) __declspec( noalias )
#define | OGRE_ALIGNED_DECL(type, var, alignment)
#define | OGRE_ARCH_TYPE OGRE_ARCHITECTURE_32
#define | OGRE_ARCHITECTURE_32 1
#define | OGRE_ARCHITECTURE_64 2
#define | OGRE_ASSERT_HIGH OGRE_ASSERT
#define | OGRE_ASSERT_LOW OGRE_ASSERT
#define | OGRE_ASSERT_MEDIUM OGRE_ASSERT
#define | OGRE_ASSERTS_ENABLED
#define | OGRE_BUILD_SUFFIX ""
#define | OGRE_COMPILER_BORL 3
#define | OGRE_COMPILER_CLANG 6
#define | OGRE_COMPILER_GCCE 5
#define | OGRE_COMPILER_GNUC 2
#define | OGRE_COMPILER_MSVC 1
#define | OGRE_COMPILER_WINSCW 4
#define | OGRE_CPU OGRE_CPU_UNKNOWN
#define | OGRE_CPU_ARM 3
#define | OGRE_CPU_MIPS 4
#define | OGRE_CPU_PPC 2
#define | OGRE_CPU_UNKNOWN 0
#define | OGRE_CPU_X86 1
#define | OGRE_DEBUG_HIGH 3
#define | OGRE_DEBUG_LOW 1
#define | OGRE_DEBUG_MEDIUM 2
#define | OGRE_DEBUG_MODE OGRE_DEBUG_LEVEL_RELEASE
#define | OGRE_DEBUG_NONE 0
#define | OGRE_DEFAULT_LOCALE "C"
#define | OGRE_DEPRECATED __declspec( deprecated )
#define | OGRE_DEPRECATED_ENUM_VER(x)
#define | OGRE_DEPRECATED_VER(x)
#define | OGRE_ENDIAN OGRE_ENDIAN_LITTLE
#define | OGRE_ENDIAN_BIG 2
#define | OGRE_ENDIAN_LITTLE 1
#define | OGRE_FLEXIBILITY_LEVEL 0
#define | OGRE_GCC_VISIBILITY
#define | OGRE_NORETURN __declspec( noreturn )
#define | OGRE_PLATFORM OGRE_PLATFORM_LINUX
#define | OGRE_PLATFORM_ANDROID 5
#define | OGRE_PLATFORM_APPLE 3
#define | OGRE_PLATFORM_APPLE_IOS 4
#define | OGRE_PLATFORM_EMSCRIPTEN 8
#define | OGRE_PLATFORM_FREEBSD 9
#define | OGRE_PLATFORM_LINUX 2
#define | OGRE_PLATFORM_UNUSED 6
#define | OGRE_PLATFORM_WIN32 1
#define | OGRE_PLATFORM_WINRT 7
#define | OGRE_QUOTE(x)
#define | OGRE_QUOTE_INPLACE(x)
#define | OGRE_RESTRICT_ALIASING 0
#define | OGRE_SIMD_ALIGNED_DECL(type, var)
#define | OGRE_SIMD_ALIGNMENT 16
#define | OGRE_WARN(x)
#define | OGRE_WCHAR_T_STRINGS 0
#define | RESTRICT_ALIAS
#define | RESTRICT_ALIAS_RETURN
#define | virtual_l0 virtual
#define | virtual_l1
#define | virtual_l2

## Typedefs
typedef short | Ogre::int16
typedef int | Ogre::int32
typedef __int64 | Ogre::int64
typedef signed char | Ogre::int8
typedef unsigned short | Ogre::uint16
typedef unsigned int | Ogre::uint32
typedef unsigned __int64 | Ogre::uint64
typedef unsigned char | Ogre::uint8

## Macro Definition Documentation

## ◆ __OGRE_HAVE_DIRECTXMATH

#define __OGRE_HAVE_DIRECTXMATH 0

## ◆ __OGRE_HAVE_NEON

#define __OGRE_HAVE_NEON 0

## ◆ __OGRE_HAVE_SSE

#define __OGRE_HAVE_SSE 0

## ◆ _CRT_SECURE_NO_WARNINGS

#define _CRT_SECURE_NO_WARNINGS

## ◆ _OGRE_SIMD_ALIGN_ATTRIBUTE

#define _OGRE_SIMD_ALIGN_ATTRIBUTE

## ◆ _SCL_SECURE_NO_WARNINGS

#define _SCL_SECURE_NO_WARNINGS

## ◆ DECL_MALLOC

#define DECL_MALLOC __declspec( restrict ) __declspec( noalias )

Referenced by Ogre::AlignedMemory::allocate(), and Ogre::AlignedMemory::allocate().

## ◆ OGRE_ALIGNED_DECL

#define OGRE_ALIGNED_DECL | ( |  | type,
|  |  | var,
|  |  | alignment )

Value:
__declspec( align( alignment ) ) type var

## ◆ OGRE_ARCH_TYPE

#define OGRE_ARCH_TYPE OGRE_ARCHITECTURE_32

## ◆ OGRE_ARCHITECTURE_32

#define OGRE_ARCHITECTURE_32 1

## ◆ OGRE_ARCHITECTURE_64

#define OGRE_ARCHITECTURE_64 2

## ◆ OGRE_ASSERT_HIGH

#define OGRE_ASSERT_HIGH OGRE_ASSERT

Referenced by Ogre::Math::DegreesToRadians(), and Ogre::Math::RadiansToDegrees().

## ◆ OGRE_ASSERT_LOW

#define OGRE_ASSERT_LOW OGRE_ASSERT

Referenced by Ogre::StackVector< T, Capacity >::StackVector(), Ogre::StackVector< T, Capacity >::appendPOD(), Ogre::StackVector< T, Capacity >::insert(), Ogre::StackVector< T, Capacity >::insertPOD(), Ogre::StackVector< T, Capacity >::operator=(), Ogre::StackVector< T, Capacity >::pop_back(), Ogre::StackVector< T, Capacity >::push_back(), Ogre::StackVector< T, Capacity >::resize(), and Ogre::StackVector< T, Capacity >::resizePOD().

## ◆ OGRE_ASSERT_MEDIUM

#define OGRE_ASSERT_MEDIUM OGRE_ASSERT

Referenced by Ogre::Node::_getFullTransform(), Ogre::Bone::_getLocalSpaceTransform(), Ogre::DescriptorSetSampler::checkValidity(), Ogre::IdString::operator!=(), Ogre::IdString::operator<(), and Ogre::IdString::operator==().

## ◆ OGRE_ASSERTS_ENABLED

#define OGRE_ASSERTS_ENABLED

## ◆ OGRE_BUILD_SUFFIX

#define OGRE_BUILD_SUFFIX ""

Referenced by Ogre::Root::Root(), and Ogre::FileSystemLayer::getConfigFilePath().

## ◆ OGRE_COMPILER_BORL

#define OGRE_COMPILER_BORL 3

## ◆ OGRE_COMPILER_CLANG

#define OGRE_COMPILER_CLANG 6

## ◆ OGRE_COMPILER_GCCE

#define OGRE_COMPILER_GCCE 5

## ◆ OGRE_COMPILER_GNUC

#define OGRE_COMPILER_GNUC 2

## ◆ OGRE_COMPILER_MSVC

#define OGRE_COMPILER_MSVC 1

## ◆ OGRE_COMPILER_WINSCW

#define OGRE_COMPILER_WINSCW 4

## ◆ OGRE_CPU

#define OGRE_CPU OGRE_CPU_UNKNOWN

## ◆ OGRE_CPU_ARM

#define OGRE_CPU_ARM 3

## ◆ OGRE_CPU_MIPS

#define OGRE_CPU_MIPS 4

## ◆ OGRE_CPU_PPC

#define OGRE_CPU_PPC 2

## ◆ OGRE_CPU_UNKNOWN

#define OGRE_CPU_UNKNOWN 0

## ◆ OGRE_CPU_X86

#define OGRE_CPU_X86 1

## ◆ OGRE_DEBUG_HIGH

#define OGRE_DEBUG_HIGH 3

## ◆ OGRE_DEBUG_LOW

#define OGRE_DEBUG_LOW 1

## ◆ OGRE_DEBUG_MEDIUM

#define OGRE_DEBUG_MEDIUM 2

## ◆ OGRE_DEBUG_MODE

#define OGRE_DEBUG_MODE OGRE_DEBUG_LEVEL_RELEASE

Referenced by Ogre::v1::RenderOperation::RenderOperation(), and Ogre::generateAbiCookie().

## ◆ OGRE_DEBUG_NONE

#define OGRE_DEBUG_NONE 0

## ◆ OGRE_DEFAULT_LOCALE

#define OGRE_DEFAULT_LOCALE "C"

## ◆ OGRE_DEPRECATED

#define OGRE_DEPRECATED __declspec( deprecated )

Referenced by Ogre::SharedPtr< FileInfoList >::bind(), Ogre::SharedPtr< FileInfoList >::dynamicCast(), Ogre::SharedPtr< FileInfoList >::getPointer(), Ogre::Node::getUserAny(), Ogre::Renderable::getUserAny(), Ogre::SharedPtr< FileInfoList >::isNull(), Ogre::SharedPtr< FileInfoList >::setNull(), Ogre::Node::setUserAny(), Ogre::Renderable::setUserAny(), Ogre::SharedPtr< FileInfoList >::staticCast(), and Ogre::SharedPtr< FileInfoList >::useCount().

## ◆ OGRE_DEPRECATED_ENUM_VER

#define OGRE_DEPRECATED_ENUM_VER | ( |  | x | ) |

## ◆ OGRE_DEPRECATED_VER

#define OGRE_DEPRECATED_VER | ( |  | x | ) |

Value:
__declspec( deprecated )

## ◆ OGRE_ENDIAN

#define OGRE_ENDIAN OGRE_ENDIAN_LITTLE

## ◆ OGRE_ENDIAN_BIG

#define OGRE_ENDIAN_BIG 2

## ◆ OGRE_ENDIAN_LITTLE

#define OGRE_ENDIAN_LITTLE 1

## ◆ OGRE_FLEXIBILITY_LEVEL

#define OGRE_FLEXIBILITY_LEVEL 0

Referenced by Ogre::generateAbiCookie().

## ◆ OGRE_GCC_VISIBILITY

#define OGRE_GCC_VISIBILITY

## ◆ OGRE_NORETURN

#define OGRE_NORETURN __declspec( noreturn )

Referenced by Ogre::ExceptionFactory::throwException().

## ◆ OGRE_PLATFORM

#define OGRE_PLATFORM OGRE_PLATFORM_LINUX

## ◆ OGRE_PLATFORM_ANDROID

#define OGRE_PLATFORM_ANDROID 5

## ◆ OGRE_PLATFORM_APPLE

#define OGRE_PLATFORM_APPLE 3

## ◆ OGRE_PLATFORM_APPLE_IOS

#define OGRE_PLATFORM_APPLE_IOS 4

## ◆ OGRE_PLATFORM_EMSCRIPTEN

#define OGRE_PLATFORM_EMSCRIPTEN 8

## ◆ OGRE_PLATFORM_FREEBSD

#define OGRE_PLATFORM_FREEBSD 9

## ◆ OGRE_PLATFORM_LINUX

#define OGRE_PLATFORM_LINUX 2

## ◆ OGRE_PLATFORM_UNUSED

#define OGRE_PLATFORM_UNUSED 6

## ◆ OGRE_PLATFORM_WIN32

#define OGRE_PLATFORM_WIN32 1

## ◆ OGRE_PLATFORM_WINRT

#define OGRE_PLATFORM_WINRT 7

## ◆ OGRE_QUOTE

#define OGRE_QUOTE | ( |  | x | ) |

Value:
OGRE_QUOTE_INPLACE( x )
OGRE_QUOTE_INPLACE
#define OGRE_QUOTE_INPLACE(x)
Definition OgrePlatform.h:216

## ◆ OGRE_QUOTE_INPLACE

#define OGRE_QUOTE_INPLACE | ( |  | x | ) |

Value:
#x

## ◆ OGRE_RESTRICT_ALIASING

#define OGRE_RESTRICT_ALIASING 0

Referenced by Ogre::generateAbiCookie().

## ◆ OGRE_SIMD_ALIGNED_DECL

#define OGRE_SIMD_ALIGNED_DECL | ( |  | type,
|  |  | var )

Value:
OGRE_ALIGNED_DECL( type, var, OGRE_SIMD_ALIGNMENT )
OGRE_SIMD_ALIGNMENT
#define OGRE_SIMD_ALIGNMENT
Definition OgrePlatform.h:495
OGRE_ALIGNED_DECL
#define OGRE_ALIGNED_DECL(type, var, alignment)
Definition OgrePlatform.h:485

## ◆ OGRE_SIMD_ALIGNMENT

#define OGRE_SIMD_ALIGNMENT 16

Referenced by Ogre::generateAbiCookie().

## ◆ OGRE_WARN

#define OGRE_WARN | ( |  | x | ) |

Value:
message( __FILE__ "(" QUOTE( __LINE__ ) ") : " x "\n" )

## ◆ OGRE_WCHAR_T_STRINGS

#define OGRE_WCHAR_T_STRINGS 0

## ◆ RESTRICT_ALIAS

#define RESTRICT_ALIAS

Referenced by Ogre::RawSimdUniquePtr< T, M_CATEGORY >::RawSimdUniquePtr(), Ogre::SubMesh::_dearrangeEfficient(), Ogre::Bone::_initialize(), Ogre::SkeletonTrack::applyKeyFrameRigAt(), Ogre::KfTransformArrayMemoryManager::createNewNode(), Ogre::Forward3D::fillConstBufferData(), Ogre::ForwardClustered::fillConstBufferData(), Ogre::ForwardPlusBase::fillConstBufferData(), Ogre::PlanarReflections::fillConstBufferData(), Ogre::ArrayQuaternion::FromOrthoDet1RotationMatrix(), Ogre::ArrayMatrix4::getAsMatrix4(), Ogre::SkeletonInstance::getTransforms(), Ogre::ArrayMatrix4::loadFromAoS(), Ogre::ArrayMatrix4::loadFromAoS(), Ogre::ArrayMatrixAf4x3::loadFromAoS(), Ogre::ArrayMatrixAf4x3::loadFromAoS(), Ogre::ArrayMatrixAf4x3::loadFromAoS(), Ogre::ArrayMatrixAf4x3::loadFromAoS(), Ogre::ArrayVector3::loadFromAoS(), Ogre::RawSimdUniquePtr< T, M_CATEGORY >::operator=(), Ogre::StackVector< T, Capacity >::operator=(), Ogre::ArrayMatrix4::setFromMatrix4(), Ogre::SimpleMatrixAf4x3::store(), Ogre::SimpleMatrixAf4x3::store4x3(), Ogre::SimpleMatrixAf4x3::store4x3(), Ogre::ArrayMatrix4::storeToAoS(), Ogre::ArrayMatrixAf4x3::storeToAoS(), Ogre::SimpleMatrixAf4x3::streamTo4x3(), Ogre::ArrayMatrixAf4x3::streamToAoS(), Ogre::ArrayMatrixAf4x3::streamToAoS(), Ogre::MovableObject::updateAllBounds(), Ogre::Bone::updateAllTransforms(), Ogre::MetalProgram::updateBuffers(), and Ogre::VulkanProgram::updateBuffers().

## ◆ RESTRICT_ALIAS_RETURN

#define RESTRICT_ALIAS_RETURN

Referenced by Ogre::RawSimdUniquePtr< T, M_CATEGORY >::get(), Ogre::RawSimdUniquePtr< T, M_CATEGORY >::get(), Ogre::BufferInterface::map(), Ogre::BufferPacked::map(), Ogre::D3D11BufferInterface::map(), Ogre::D3D11CompatBufferInterface::map(), Ogre::D3D11DynamicBuffer::map(), Ogre::GL3PlusBufferInterface::map(), Ogre::GL3PlusDynamicBuffer::map(), Ogre::GLES2BufferInterface::map(), Ogre::GLES2DynamicBuffer::map(), Ogre::MetalBufferInterface::map(), Ogre::MetalDynamicBuffer::map(), Ogre::NULLBufferInterface::map(), Ogre::VulkanBufferInterface::map(), and Ogre::VulkanDynamicBuffer::map().

## ◆ virtual_l0

#define virtual_l0 virtual

## ◆ virtual_l1

#define virtual_l1

Referenced by Ogre::SceneNode::_attachBone(), Ogre::SceneNode::_detachAllBones(), Ogre::SceneNode::_detachBone(), Ogre::ManualObject::begin(), Ogre::ManualObject::beginUpdate(), Ogre::ManualObject::clear(), Ogre::ManualObject::colour(), Ogre::ManualObject::colour(), Ogre::ManualObject::end(), Ogre::ManualObject::estimateIndexCount(), Ogre::ManualObject::estimateVertexCount(), Ogre::SceneManager::findSceneNodes(), Ogre::ManualObject::getCurrentIndexCount(), Ogre::ManualObject::getCurrentVertexCount(), Ogre::SceneManager::getSceneNode(), Ogre::SceneManager::getSceneNode(), Ogre::ManualObject::index(), Ogre::ManualObject::line(), Ogre::ManualObject::normal(), Ogre::ManualObject::normal(), Ogre::ManualObject::position(), Ogre::ManualObject::position(), Ogre::ManualObject::quad(), Ogre::Node::resetOrientation(), Ogre::ManualObject::setDatablock(), Ogre::Node::setOrientation(), Ogre::Node::setOrientation(), Ogre::Node::setPosition(), Ogre::Node::setPosition(), Ogre::Node::setScale(), Ogre::Node::setScale(), Ogre::ManualObject::specular(), Ogre::ManualObject::specular(), Ogre::ManualObject::tangent(), Ogre::ManualObject::tangent(), Ogre::ManualObject::textureCoord(), Ogre::ManualObject::textureCoord(), Ogre::ManualObject::textureCoord(), Ogre::ManualObject::textureCoord(), Ogre::ManualObject::textureCoord(), Ogre::ManualObject::textureCoord(), Ogre::ManualObject::textureCoord(), and Ogre::ManualObject::triangle().

## ◆ virtual_l2

#define virtual_l2

Referenced by Ogre::Node::_getDerivedOrientation(), Ogre::Node::_getDerivedOrientationUpdated(), Ogre::Node::_getDerivedPosition(), Ogre::Node::_getDerivedPositionUpdated(), Ogre::Node::_getDerivedScale(), Ogre::Node::_getDerivedScaleUpdated(), Ogre::Node::_getFullTransform(), Ogre::Node::_getFullTransformUpdated(), Ogre::Node::_setDerivedOrientation(), Ogre::Node::_setDerivedPosition(), Ogre::SceneNode::attachObject(), Ogre::Node::convertLocalToWorldDirection(), Ogre::Node::convertLocalToWorldOrientation(), Ogre::Node::convertLocalToWorldPosition(), Ogre::Node::convertWorldToLocalDirection(), Ogre::Node::convertWorldToLocalOrientation(), Ogre::Node::convertWorldToLocalPosition(), Ogre::SceneNode::detachObject(), Ogre::Node::getInheritOrientation(), Ogre::Node::getInheritScale(), Ogre::SceneManager::getLightMask(), Ogre::Node::getLocalAxes(), Ogre::Node::getOrientation(), Ogre::Node::getPosition(), Ogre::Node::getScale(), Ogre::SceneManager::getVisibilityMask(), Ogre::Node::pitch(), Ogre::Node::roll(), Ogre::Node::rotate(), Ogre::Node::rotate(), Ogre::Node::scale(), Ogre::Node::scale(), Ogre::Node::setInheritOrientation(), Ogre::Node::setInheritScale(), Ogre::SceneManager::setLightMask(), Ogre::SceneManager::setVisibilityMask(), Ogre::Node::translate(), Ogre::Node::translate(), Ogre::Node::translate(), Ogre::Node::translate(), and Ogre::Node::yaw().