Platform SDK: DirectX

CONST_D3DTEXTURESTAGESINGLE

The CONST_D3DTEXTURESTAGESINGLE enumeration defines texture stage states that accepts values of type Single. Constants of this enumeration are used with the Direct3DDevice7.GetTextureStageStateSingle and Direct3DDevice7.SetTextureStageStateSingle methods to retrieve and set texture state values.

Enum CONST_D3DTEXTURESTAGESINGLE
    D3DTSS_BUMPENVLOFFSET = 23 
    D3DTSS_BUMPENVLSCALE  = 22 
    D3DTSS_BUMPENVMAT00   = 7  
    D3DTSS_BUMPENVMAT01   = 8  
    D3DTSS_BUMPENVMAT10   = 9  
    D3DTSS_BUMPENVMAT11   = 10 
    D3DTSS_MIPMAPLODBIAS  = 19 
End Enum
D3DTSS_BUMPENVMAT00
The texture stage state is a value for the [0][0] coefficient in a bump mapping matrix. The default value is 0.
D3DTSS_BUMPENVMAT01
The texture stage state is a value for the [0][1] coefficient in a bump mapping matrix. The default value is 0.
D3DTSS_BUMPENVMAT10
The texture stage state is a value for the [1][0] coefficient in a bump mapping matrix. The default value is 0.
D3DTSS_BUMPENVMAT11
The texture stage state is a value for the [1][1] coefficient in a bump mapping matrix. The default value is 0.
D3DTSS_BUMPENVLSCALE
Scale for bump map luminance. The default value is 0.
D3DTSS_BUMPENVLOFFSET
Offset for bump map luminance. The default value is 0.
D3DTSS_MIPMAPLODBIAS
Level of detail bias for mipmaps. Can be used to make textures appear more chunky or more blurred. The default value is 0.

Remarks

The valid range of values for the D3DTSS_BUMPENVMAT00, D3DTSS_BUMPENVMAT01, D3DTSS_BUMPENVMAT10, and D3DTSS_BUMPENVMAT11 bump-mapping matrix coefficients is greater than or equal to -8.0, and less than 8.0. This range, expressed in mathematical notation is [-8.0,8.0).

See Also

Direct3DDevice7.GetTextureStageStateSingle, Direct3DDevice7.SetTextureStageStateSingle