OGRE-Next  4.0.0unstable
Object-Oriented Graphics Rendering Engine
OgreArrayConfig.h File Reference

Namespaces

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

Macros

#define ARRAY_INT_ZERO   0
 
#define ARRAY_MASK_ZERO   false
 
#define ARRAY_PACKED_REALS   1
 
#define ARRAY_REAL_ZERO   0
 
#define CastArrayToInt32(outInt32Ptr, arraySimd)    ( *( outInt32Ptr ) = static_cast<int32>( arraySimd ) )
 
#define CastArrayToReal(outFloatPtr, arraySimd)   ( *( outFloatPtr ) = arraySimd )
 Input must be 16-byte aligned. More...
 
#define CastIntToReal(x)   ( x )
 
#define CastRealToInt(x)   ( x )
 
#define ogre_madd(a, b, c)   ( ( c ) + ( ( a ) * ( b ) ) )
 
#define OGRE_PREFETCH_NTA(x)   ( (void)0 )
 
#define OGRE_PREFETCH_SLOT_DISTANCE   0
 
#define OGRE_PREFETCH_T0(x)   ( (void)0 )
 
#define OGRE_PREFETCH_T1(x)   ( (void)0 )
 
#define OGRE_PREFETCH_T2(x)   ( (void)0 )
 

Typedefs

typedef uint32 Ogre::ArrayInt
 
typedef bool Ogre::ArrayMaskI
 
typedef bool Ogre::ArrayMaskR
 
typedef Radian Ogre::ArrayRadian
 
typedef Real Ogre::ArrayReal
 
typedef uint32 Ogre::ArrayToS16
 To store the result of ToSnorm16, can be consumed by extractS16. More...
 
typedef uint32 Ogre::ArrayToS8
 To store the result of ToSnorm8, can be consumed by extractS8. More...
 

Macro Definition Documentation

◆ ARRAY_INT_ZERO

#define ARRAY_INT_ZERO   0

◆ ARRAY_MASK_ZERO

#define ARRAY_MASK_ZERO   false

◆ ARRAY_PACKED_REALS

#define ARRAY_PACKED_REALS   1

◆ ARRAY_REAL_ZERO

#define ARRAY_REAL_ZERO   0

◆ CastArrayToInt32

#define CastArrayToInt32 (   outInt32Ptr,
  arraySimd 
)     ( *( outInt32Ptr ) = static_cast<int32>( arraySimd ) )

◆ CastArrayToReal

#define CastArrayToReal (   outFloatPtr,
  arraySimd 
)    ( *( outFloatPtr ) = arraySimd )

Input must be 16-byte aligned.

◆ CastIntToReal

#define CastIntToReal (   x)    ( x )

◆ CastRealToInt

#define CastRealToInt (   x)    ( x )

◆ ogre_madd

#define ogre_madd (   a,
  b,
 
)    ( ( c ) + ( ( a ) * ( b ) ) )

◆ OGRE_PREFETCH_NTA

#define OGRE_PREFETCH_NTA (   x)    ( (void)0 )

◆ OGRE_PREFETCH_SLOT_DISTANCE

#define OGRE_PREFETCH_SLOT_DISTANCE   0

◆ OGRE_PREFETCH_T0

#define OGRE_PREFETCH_T0 (   x)    ( (void)0 )

◆ OGRE_PREFETCH_T1

#define OGRE_PREFETCH_T1 (   x)    ( (void)0 )

◆ OGRE_PREFETCH_T2

#define OGRE_PREFETCH_T2 (   x)    ( (void)0 )