OGRE-Next  4.0.0unstable
Object-Oriented Graphics Rendering Engine
OgrePlatform.h File Reference
#include "OgreConfig.h"
#include <stdint.h>

Namespaces

 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 _OGRE_SIMD_ALIGN_ATTRIBUTE
 
#define DECL_MALLOC   __attribute__( ( malloc ) )
 
#define FORCEINLINE   __inline
 
#define OGRE_ALIGNED_DECL(type, var, alignment)   type var
 
#define OGRE_ARCH_TYPE   OGRE_ARCHITECTURE_32
 
#define OGRE_ARCHITECTURE_32   1
 
#define OGRE_ARCHITECTURE_64   2
 
#define OGRE_ASSERT_HIGH(condition)   ( (void)0 )
 
#define OGRE_ASSERT_LOW(condition)   ( (void)0 )
 
#define OGRE_ASSERT_MEDIUM(condition)   ( (void)0 )
 
#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
 
#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_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)   OGRE_QUOTE_INPLACE( x )
 
#define OGRE_QUOTE_INPLACE(x)   #x
 
#define OGRE_RESTRICT_ALIASING   0
 
#define OGRE_SIMD_ALIGNED_DECL(type, var)   OGRE_ALIGNED_DECL( type, var, OGRE_SIMD_ALIGNMENT )
 
#define OGRE_SIMD_ALIGNMENT   16
 
#define OGRE_WARN(x)   message( __FILE__ "(" QUOTE( __LINE__ ) ") : " x "\n" )
 
#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 ::int16_t Ogre::int16
 
typedef ::int32_t Ogre::int32
 
typedef ::int64_t Ogre::int64
 
typedef ::int8_t Ogre::int8
 
typedef ::uint16_t Ogre::uint16
 
typedef ::uint32_t Ogre::uint32
 
typedef ::uint64_t Ogre::uint64
 
typedef ::uint8_t 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

◆ _OGRE_SIMD_ALIGN_ATTRIBUTE

#define _OGRE_SIMD_ALIGN_ATTRIBUTE

◆ DECL_MALLOC

#define DECL_MALLOC   __attribute__( ( malloc ) )

◆ FORCEINLINE

#define FORCEINLINE   __inline

◆ OGRE_ALIGNED_DECL

#define OGRE_ALIGNED_DECL (   type,
  var,
  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 (   condition)    ( (void)0 )

◆ OGRE_ASSERT_LOW

#define OGRE_ASSERT_LOW (   condition)    ( (void)0 )

◆ OGRE_ASSERT_MEDIUM

#define OGRE_ASSERT_MEDIUM (   condition)    ( (void)0 )

◆ OGRE_ASSERTS_ENABLED

#define OGRE_ASSERTS_ENABLED

◆ OGRE_BUILD_SUFFIX

#define OGRE_BUILD_SUFFIX   ""

◆ 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

◆ OGRE_DEBUG_NONE

#define OGRE_DEBUG_NONE   0

◆ OGRE_DEFAULT_LOCALE

#define OGRE_DEFAULT_LOCALE   "C"

◆ OGRE_DEPRECATED

#define OGRE_DEPRECATED

◆ OGRE_DEPRECATED_ENUM_VER

#define OGRE_DEPRECATED_ENUM_VER (   x)

◆ OGRE_DEPRECATED_VER

#define OGRE_DEPRECATED_VER (   x)

◆ 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

◆ OGRE_NORETURN

#define OGRE_NORETURN

◆ 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)    OGRE_QUOTE_INPLACE( x )

◆ OGRE_QUOTE_INPLACE

#define OGRE_QUOTE_INPLACE (   x)    #x

◆ OGRE_RESTRICT_ALIASING

#define OGRE_RESTRICT_ALIASING   0

◆ OGRE_SIMD_ALIGNED_DECL

#define OGRE_SIMD_ALIGNED_DECL (   type,
  var 
)    OGRE_ALIGNED_DECL( type, var, OGRE_SIMD_ALIGNMENT )

◆ OGRE_SIMD_ALIGNMENT

#define OGRE_SIMD_ALIGNMENT   16

◆ OGRE_WARN

#define OGRE_WARN (   x)    message( __FILE__ "(" QUOTE( __LINE__ ) ") : " x "\n" )

◆ OGRE_WCHAR_T_STRINGS

#define OGRE_WCHAR_T_STRINGS   0

◆ RESTRICT_ALIAS

#define RESTRICT_ALIAS

◆ RESTRICT_ALIAS_RETURN

#define RESTRICT_ALIAS_RETURN

◆ virtual_l0

#define virtual_l0   virtual

◆ virtual_l1

#define virtual_l1

◆ virtual_l2

#define virtual_l2