Torque3D Documentation / _generateds / GFXSamplerStateDesc

GFXSamplerStateDesc

Engine/source/gfx/gfxStateBlock.h

More...

Public Static Functions

Returns an modulate, clamp, and linear sampled state.

Returns an modulate, clamp, and point sampled state.

Returns an modulate, wrap, and linear sampled state.

Returns an modulate, wrap, and point sampled state.

Detailed Description

Public Attributes

GFXTextureAddressMode addressModeU 
GFXTextureAddressMode addressModeV 
GFXTextureAddressMode addressModeW 
GFXTextureArgument alphaArg1 
GFXTextureArgument alphaArg2 
GFXTextureArgument alphaArg3 
GFXTextureOp alphaOp 
GFXTextureArgument colorArg1 
GFXTextureArgument colorArg2 
GFXTextureArgument colorArg3 
GFXTextureFilterType magFilter 
U32 maxAnisotropy 

The maximum anisotropy used when one of the filter types is set to anisotropic.

Defaults to 1.

GFXTextureFilterType minFilter 
GFXTextureFilterType mipFilter 
F32 mipLODBias 

Used to offset the mipmap selection by whole or fractional amounts either postively or negatively.

Defaults to zero.

GFXTextureArgument resultArg 
GFXTextureOp textureColorOp 
GFXTextureTransformFlags textureTransform 

Public Functions

GFXSamplerStateDesc()

operator==(const GFXSamplerStateDesc & b)

Public Static Functions

getClampLinear()

Returns an modulate, clamp, and linear sampled state.

getClampPoint()

Returns an modulate, clamp, and point sampled state.

getWrapLinear()

Returns an modulate, wrap, and linear sampled state.

getWrapPoint()

Returns an modulate, wrap, and point sampled state.