Torque3D Documentation / _generateds / GBufferConditionerHLSL

GBufferConditionerHLSL

Engine/source/lighting/advanced/hlsl/gBufferConditionerHLSL.h

More...

Public Types

enum
NormalSpace {
  WorldSpace 
  ViewSpace 
}
enum
NormalStorage {
  CartesianXYZ 
  CartesianXY 
  Spherical 
  LambertAzimuthal 
}

Private Types

Public Functions

Returns the name of this feature.

Returns the resource requirements of this feature based on what other features are present.

Protected Functions

Var *
_conditionOutput(Var * unconditionedOutput, MultiLine * meta)
Var *
_unconditionInput(Var * conditionedInput, MultiLine * meta)
Var *
printMethodHeader(MethodType methodType, const String & methodName, Stream & stream, MultiLine * meta)

Detailed Description

Public Types

NormalSpace

Enumerator

WorldSpace
ViewSpace
NormalStorage

Enumerator

CartesianXYZ
CartesianXY
Spherical
LambertAzimuthal

Private Types

typedef ConditionerFeature Parent 

Protected Attributes

U32 mBitsPerChannel 
bool mCanWriteNegativeValues 
NormalStorage mNormalStorageType 

Public Functions

GBufferConditionerHLSL(const GFXFormat bufferFormat, const NormalSpace nrmSpace)

~GBufferConditionerHLSL()

getName()

Reimplemented from: ShaderFeature

getResources(const MaterialFeatureData & fd)

Reimplemented from: ShaderFeature

processPix(Vector< ShaderComponent * > & componentList, const MaterialFeatureData & fd)

Reimplemented from: ShaderFeature

processVert(Vector< ShaderComponent * > & componentList, const MaterialFeatureData & fd)

Reimplemented from: ShaderFeature

Protected Functions

_conditionOutput(Var * unconditionedOutput, MultiLine * meta)

Reimplemented from: ConditionerFeature

_posnegDecode(GenOp * val)

_posnegEncode(GenOp * val)

_unconditionInput(Var * conditionedInput, MultiLine * meta)

Reimplemented from: ConditionerFeature

printMethodHeader(MethodType methodType, const String & methodName, Stream & stream, MultiLine * meta)

Reimplemented from: ConditionerFeature