GFXMaterialFeatureData Struct Reference

#include <materialFeatureData.h>

List of all members.

Public Types

typedef U32 FeatureListHandle
 DXTnm = 0
 TexAnim
 BaseTex
 DetailMap
 DiffuseColor
 ColorMultiply
 DynamicLight
 DynamicLightDual
 DynamicLightMask
 DynamicLightAttenuateBackFace
 CustomShadowCoord
 CustomShadowCoord2
 CustomShadowCompare
 CustomShadowCompare2
 CustomShadow
 CustomShadow2
 RTLighting
 CustomLighting
 CustomLighting2
 SelfIllumination
 LightMap
 LightNormMap
 BumpMap
 ExposureX2
 ExposureX4
 EnvMap
 CubeMap
 PixSpecular
 VertSpecular
 Translucent
 Visibility
 Fog
 NumFeatures
enum  FeatureType {
  DXTnm = 0,
  TexAnim,
  BaseTex,
  DetailMap,
  DiffuseColor,
  ColorMultiply,
  DynamicLight,
  DynamicLightDual,
  DynamicLightMask,
  DynamicLightAttenuateBackFace,
  CustomShadowCoord,
  CustomShadowCoord2,
  CustomShadowCompare,
  CustomShadowCompare2,
  CustomShadow,
  CustomShadow2,
  RTLighting,
  CustomLighting,
  CustomLighting2,
  SelfIllumination,
  LightMap,
  LightNormMap,
  BumpMap,
  ExposureX2,
  ExposureX4,
  EnvMap,
  CubeMap,
  PixSpecular,
  VertSpecular,
  Translucent,
  Visibility,
  Fog,
  NumFeatures
}

Public Member Functions

 GFXMaterialFeatureData ()
FeatureListHandle codify () const

Static Public Member Functions

static bool hasFeature (const FeatureType feature, const FeatureListHandle codifyResult)
static FeatureListHandle combine (const FeatureListHandle a, const FeatureListHandle b)

Public Attributes

bool useLightDir
bool features [NumFeatures]
bool materialFeatures [NumFeatures]


Member Typedef Documentation


Member Enumeration Documentation

Enumerator:
DXTnm 
TexAnim 
BaseTex 
DetailMap 
DiffuseColor 
ColorMultiply 
DynamicLight 
DynamicLightDual 
DynamicLightMask 
DynamicLightAttenuateBackFace 
CustomShadowCoord 
CustomShadowCoord2 
CustomShadowCompare 
CustomShadowCompare2 
CustomShadow 
CustomShadow2 
RTLighting 
CustomLighting 
CustomLighting2 
SelfIllumination 
LightMap 
LightNormMap 
BumpMap 
ExposureX2 
ExposureX4 
EnvMap 
CubeMap 
PixSpecular 
VertSpecular 
Translucent 
Visibility 
Fog 
NumFeatures 


Constructor & Destructor Documentation

GFXMaterialFeatureData::GFXMaterialFeatureData (  ) 


Member Function Documentation

FeatureListHandle GFXMaterialFeatureData::codify (  )  const

static bool GFXMaterialFeatureData::hasFeature ( const FeatureType  feature,
const FeatureListHandle  codifyResult 
) [static]

static FeatureListHandle GFXMaterialFeatureData::combine ( const FeatureListHandle  a,
const FeatureListHandle  b 
) [static]


Member Data Documentation