OGRE-Next 4.0.0unstable
Object-Oriented Graphics Rendering Engine
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
OgreHlmsDatablock.h File Reference
#include "OgreHlmsCommon.h"
#include "OgreStringVector.h"
#include "OgreHeaderPrefix.h"
#include "OgreHeaderSuffix.h"

Classes

struct  Ogre::BasicBlock
 
struct  Ogre::HlmsBlendblock
 A blend block contains settings that rarely change, and thus are common to many materials. More...
 
class  Ogre::HlmsDatablock
 An hlms datablock contains individual information about a specific material. More...
 
struct  Ogre::HlmsMacroblock
 A macro block contains settings that will rarely change, and thus are common to many materials. More...
 
class  Ogre::HlmsTextureExportListener
 

Namespaces

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

Macros

#define DECLARE_BLENDFACTORS(Name, offset)
 
#define DECLARE_BLENDOPERATIONS(Name, offset)
 

Enumerations

enum  Ogre::HlmsBasicBlock { Ogre::BLOCK_MACRO , Ogre::BLOCK_BLEND , Ogre::BLOCK_SAMPLER , Ogre::NUM_BASIC_BLOCKS }
 

Macro Definition Documentation

◆ DECLARE_BLENDFACTORS

#define DECLARE_BLENDFACTORS (   Name,
  offset 
)
Value:
Name##Mask = 15u << offset, \
Name##_ONE = 1u << offset, \
Name##_ZERO = 2u << offset, \
Name##_DEST_COLOUR = 3u << offset, \
Name##_SOURCE_COLOUR = 4u << offset, \
Name##_ONE_MINUS_DEST_COLOUR = 5u << offset, \
Name##_ONE_MINUS_SOURCE_COLOUR = 6u << offset, \
Name##_DEST_ALPHA = 7u << offset, \
Name##_SOURCE_ALPHA = 8u << offset, \
Name##_ONE_MINUS_DEST_ALPHA = 9u << offset, \
Name##_ONE_MINUS_SOURCE_ALPHA = 10u << offset

◆ DECLARE_BLENDOPERATIONS

#define DECLARE_BLENDOPERATIONS (   Name,
  offset 
)
Value:
Name##Mask = 15u << offset, \
Name##_ADD = 1u << offset, \
Name##_SUBTRACT = 2u << offset, \
Name##_REVERSE_SUBTRACT = 3u << offset, \
Name##_MIN = 4u << offset, \
Name##_MAX = 5u << offset