OGRE-Next 4.0.0unstable
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
OgreArrayConfig.h File Reference

Namespaces

namespace  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)
#define CastArrayToReal(outFloatPtr, arraySimd)
 Input must be 16-byte aligned.
#define CastIntToReal(x)
#define CastRealToInt(x)
#define ogre_madd(a, b, c)
#define OGRE_PREFETCH_NTA(x)
#define OGRE_PREFETCH_SLOT_DISTANCE   0
#define OGRE_PREFETCH_T0(x)
#define OGRE_PREFETCH_T1(x)
#define OGRE_PREFETCH_T2(x)

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.
typedef uint32 Ogre::ArrayToS8
 To store the result of ToSnorm8, can be consumed by extractS8.

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

Referenced by Ogre::ObjectData::advanceBoundsPack(), Ogre::ObjectData::advanceCullLightPack(), Ogre::ObjectData::advanceDirtyInstanceMgr(), Ogre::ObjectData::advanceFrustumPack(), Ogre::ObjectData::advanceLightPack(), Ogre::ObjectData::advanceLodPack(), Ogre::BoneTransform::advancePack(), Ogre::BoneTransform::advancePack(), Ogre::ObjectData::advancePack(), Ogre::ObjectData::advancePack(), Ogre::Transform::advancePack(), Ogre::Transform::advancePack(), Ogre::SkeletonDef::blockIdxToSlotStart(), Ogre::MathlibC::extractS16(), Ogre::MathlibC::extractS8(), Ogre::ArrayAabb::getAsAabb(), Ogre::ArrayMatrix4::getAsMatrix4(), Ogre::ArrayQuaternion::getAsQuaternion(), Ogre::ArrayQuaternion::getAsQuaternion(), Ogre::ArrayVector2::getAsVector2(), Ogre::ArrayVector2::getAsVector2(), Ogre::ArrayVector3::getAsVector3(), Ogre::ArrayVector3::getAsVector3(), Ogre::ArrayVector4::getAsVector4(), Ogre::ArrayVector4::getAsVector4(), Ogre::Frustum::getCustomWorldSpaceCorners(), Ogre::BooleanMask4::getMask(), Ogre::ParticleSystemDef::getNumSimdActiveParticles(), Ogre::ParticleSystemDef::getParticlesToRenderTighter(), Ogre::LodStrategy::lodSet(), Ogre::MovableObject::LodStrategy::lodSet, Ogre::Renderable::LodStrategy::lodSet, Ogre::ParticleSystemDef::ParticleSystemManager2, Ogre::ArrayAabb::setFromAabb(), Ogre::ArrayMatrix4::setFromMatrix4(), Ogre::ArrayQuaternion::setFromQuaternion(), Ogre::ArrayVector2::setFromVector2(), Ogre::ArrayVector3::setFromVector3(), Ogre::ArrayVector4::setFromVector4(), and Ogre::SkeletonDef::slotToBlockIdx().

◆ ARRAY_REAL_ZERO

#define ARRAY_REAL_ZERO   0

◆ CastArrayToInt32

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

◆ CastArrayToReal

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

Input must be 16-byte aligned.

◆ CastIntToReal

#define CastIntToReal ( x)
Value:
( x )

◆ CastRealToInt

#define CastRealToInt ( x)
Value:
( x )

◆ ogre_madd

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

◆ OGRE_PREFETCH_NTA

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

◆ OGRE_PREFETCH_SLOT_DISTANCE

#define OGRE_PREFETCH_SLOT_DISTANCE   0

◆ OGRE_PREFETCH_T0

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

◆ OGRE_PREFETCH_T1

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

◆ OGRE_PREFETCH_T2

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