Project

General

Profile

SO3Engine

#include <SO3GBufferMaterialPermutation.h>

Inheritance diagram for SO3::SGBufferMaterialPermutation:
SO3::SDeferredPermutation< Ogre::uint32 >

Public Types

enum  GBufferPermutations {
  SO3_GBP_NO_TEXTURES = 0x00000000 , SO3_GBP_ONE_TEXTURE = 0x00000001 , SO3_GBP_TWO_TEXTURES = 0x00000002 , SO3_GBP_THREE_TEXTURES = 0x00000003 ,
  SO3_GBP_TEXTURE_MASK = 0x0000000F , SO3_GBP_HAS_DIFFUSE_COLOUR = 0x00000010 , SO3_GBP_HAS_SPECULAR_COLOUR = 0x00000020 , SO3_GBP_HAS_EMISSIVE_COLOUR = 0x00000040 ,
  SO3_GBP_HAS_ALPHA_REJECTION = 0x00000080 , SO3_GBP_NO_TEXCOORDS = 0x00000000 , SO3_GBP_ONE_TEXCOORD = 0x00000100 , SO3_GBP_TWO_TEXCOORDS = 0x00000200 ,
  SO3_GBP_TEXCOORD_MASK = 0x00000700 , SO3_GBP_NORMAL_MAP = 0x00000800 , SO3_GBP_LIGHT_MAP = 0x00001000 , SO3_GBP_SPECULAR_MAP = 0x00002000 ,
  SO3_GBP_SKINNED = 0x00010000
}
 

Public Member Functions

 SGBufferMaterialPermutation ()
 
Ogre::uint32 operator& (const GBufferPermutations &perms)
 
Ogre::uint32 operator| (const GBufferPermutations &perms)
 
Ogre::uint32 operator|= (const GBufferPermutations &perms)
 
- Public Member Functions inherited from SO3::SDeferredPermutation< Ogre::uint32 >
 SDeferredPermutation ()
 
Ogre::uint32 GetPermutations ()
 
Ogre::uint32 GetMaterialPermutations ()
 
Ogre::uint32 GetVertexPermutations ()
 
Ogre::uint32 GetFragmentPermutations ()
 
std::string ToString ()
 

Public Attributes

Ogre::uint32 flags
 

Static Public Attributes

static const Ogre::uint32 SO3_GBUFFER_MAT_MASK = 0xFF00FFFF
 
static const Ogre::uint32 SO3_GBUFFER_VS_MASK = 0x00FFFF00
 
static const Ogre::uint32 SO3_GBUFFER_FS_MASK = 0x0000FFFF
 

Protected Member Functions

virtual Ogre::uint32 GetPermutationsImpl ()
 
virtual Ogre::uint32 GetMaterialPermutationsImpl ()
 
virtual Ogre::uint32 GetVertexPermutationsImpl ()
 
virtual Ogre::uint32 GetFragmentPermutationsImpl ()
 
virtual std::string ToStringImpl ()
 

Detailed Description

Definition at line 36 of file SO3GBufferMaterialPermutation.h.

Member Enumeration Documentation

◆ GBufferPermutations

Enumerator
SO3_GBP_NO_TEXTURES 
SO3_GBP_ONE_TEXTURE 
SO3_GBP_TWO_TEXTURES 
SO3_GBP_THREE_TEXTURES 
SO3_GBP_TEXTURE_MASK 
SO3_GBP_HAS_DIFFUSE_COLOUR 
SO3_GBP_HAS_SPECULAR_COLOUR 
SO3_GBP_HAS_EMISSIVE_COLOUR 
SO3_GBP_HAS_ALPHA_REJECTION 
SO3_GBP_NO_TEXCOORDS 
SO3_GBP_ONE_TEXCOORD 
SO3_GBP_TWO_TEXCOORDS 
SO3_GBP_TEXCOORD_MASK 
SO3_GBP_NORMAL_MAP 
SO3_GBP_LIGHT_MAP 
SO3_GBP_SPECULAR_MAP 
SO3_GBP_SKINNED 

Definition at line 40 of file SO3GBufferMaterialPermutation.h.

Constructor & Destructor Documentation

◆ SGBufferMaterialPermutation()

SO3::SGBufferMaterialPermutation::SGBufferMaterialPermutation ( )

Definition at line 30 of file SO3GBufferMaterialPermutation.cpp.

Member Function Documentation

◆ GetFragmentPermutationsImpl()

Ogre::uint32 SO3::SGBufferMaterialPermutation::GetFragmentPermutationsImpl ( )
protectedvirtual

◆ GetMaterialPermutationsImpl()

Ogre::uint32 SO3::SGBufferMaterialPermutation::GetMaterialPermutationsImpl ( )
protectedvirtual

◆ GetPermutationsImpl()

Ogre::uint32 SO3::SGBufferMaterialPermutation::GetPermutationsImpl ( )
protectedvirtual

◆ GetVertexPermutationsImpl()

Ogre::uint32 SO3::SGBufferMaterialPermutation::GetVertexPermutationsImpl ( )
protectedvirtual

◆ operator&()

Ogre::uint32 SO3::SGBufferMaterialPermutation::operator& ( const GBufferPermutations perms)

Definition at line 35 of file SO3GBufferMaterialPermutation.cpp.

◆ operator|()

Ogre::uint32 SO3::SGBufferMaterialPermutation::operator| ( const GBufferPermutations perms)

Definition at line 40 of file SO3GBufferMaterialPermutation.cpp.

◆ operator|=()

Ogre::uint32 SO3::SGBufferMaterialPermutation::operator|= ( const GBufferPermutations perms)

Definition at line 45 of file SO3GBufferMaterialPermutation.cpp.

◆ ToStringImpl()

std::string SO3::SGBufferMaterialPermutation::ToStringImpl ( )
protectedvirtual

Member Data Documentation

◆ flags

Ogre::uint32 SO3::SGBufferMaterialPermutation::flags

Definition at line 76 of file SO3GBufferMaterialPermutation.h.

◆ SO3_GBUFFER_FS_MASK

const Ogre::uint32 SO3::SGBufferMaterialPermutation::SO3_GBUFFER_FS_MASK = 0x0000FFFF
static

Definition at line 75 of file SO3GBufferMaterialPermutation.h.

◆ SO3_GBUFFER_MAT_MASK

const Ogre::uint32 SO3::SGBufferMaterialPermutation::SO3_GBUFFER_MAT_MASK = 0xFF00FFFF
static

Definition at line 73 of file SO3GBufferMaterialPermutation.h.

◆ SO3_GBUFFER_VS_MASK

const Ogre::uint32 SO3::SGBufferMaterialPermutation::SO3_GBUFFER_VS_MASK = 0x00FFFF00
static

Definition at line 74 of file SO3GBufferMaterialPermutation.h.


The documentation for this class was generated from the following files: