NamedTexTarget
Engine/source/materials/matTextureTarget.h
Public Types
Map< String, NamedTexTarget * >
TargetMap
Delegate< GFXTextureObject *(U32)>
TexDelegate
The delegate used to override the getTexture method.
Protected Attributes
bool
mTex [4]
The held textures.
Public Static Functions
Public Functions
getShaderMacros(Vector< GFXShaderMacro > * outMacros)
getTexture(U32 index)
bool
bool
registerWithName(const String & name)
setConditioner(ConditionerFeature * cond)
setSamplerState(const GFXSamplerStateDesc & desc)
setTexture(GFXTextureObject * tex)
setTexture(U32 index, GFXTextureObject * tex)
setupSamplerState(GFXSamplerStateDesc * desc)
setViewport(const RectI & viewport)
Detailed Description
Public Types
typedef Map< String, NamedTexTarget * > TargetMap
typedef Delegate< GFXTextureObject *(U32)> TexDelegate
The delegate used to override the getTexture method.
see:
Protected Static Attributes
TargetMap smTargets
Protected Attributes
ConditionerFeature * mConditioner
bool mIsRegistered
String mName
The target name we were registered with.
GFXSamplerStateDesc mSamplerDesc
GFXTexHandle mTex [4]
The held textures.
TexDelegate mTexDelegate
RectI mViewport
Public Static Functions
find(const String & name)
getTargetMap()
Public Functions
NamedTexTarget()
~NamedTexTarget()
getConditioner()
getName()
Returns the target name we were registered with.
getShaderMacros(Vector< GFXShaderMacro > * outMacros)
getTexture(U32 index)
getTextureDelegate()
see:
getTextureDelegate()
getViewport()
isRegistered()
registerWithName(const String & name)
release()
Release all the textures.
setConditioner(ConditionerFeature * cond)
setSamplerState(const GFXSamplerStateDesc & desc)
setTexture(GFXTextureObject * tex)
setTexture(U32 index, GFXTextureObject * tex)
setupSamplerState(GFXSamplerStateDesc * desc)
setViewport(const RectI & viewport)
unregister()