ExposureFeatureX2HLSL Class Reference

#include <sgLightingFeaturesHLSL.h>

Inheritance diagram for ExposureFeatureX2HLSL:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 ExposureFeatureX2HLSL ()
void processPix (Vector< ShaderComponent * > &componentList, GFXMaterialFeatureData &fd)
virtual Material::BlendOp getBlendOp ()
 Identifies what type of blending a feature uses.
virtual String getName ()
 Returns the name of this feature.

Protected Attributes

F32 amount

Constructor & Destructor Documentation

ExposureFeatureX2HLSL::ExposureFeatureX2HLSL (  )  [inline]


Member Function Documentation

void ExposureFeatureX2HLSL::processPix ( Vector< ShaderComponent * > &  componentList,
GFXMaterialFeatureData fd 
) [inline, virtual]

Process pixel shader - This function is used by each feature to generate a list of LangElements that can be traversed and "printed" to generate the actual shader code. The 'output' member is the head of that list.

The componentList is used mostly for access to the "Connector" structure which is used to pass data from the vertex to the pixel shader.

The GFXMaterialFeatureData parameter is used to determine what other features are present for the shader being generated.

Reimplemented from ShaderFeature.

virtual Material::BlendOp ExposureFeatureX2HLSL::getBlendOp (  )  [inline, virtual]

Identifies what type of blending a feature uses.

This is used to group features with the same blend operation together in a multipass situation.

Reimplemented from ShaderFeature.

virtual String ExposureFeatureX2HLSL::getName (  )  [inline, virtual]

Returns the name of this feature.

Reimplemented from ShaderFeatureHLSL.

Reimplemented in ExposureFeatureX4HLSL.


Member Data Documentation