IFXShaderLitTexture |
The ShaderLitTexture interface serves as the primary shader for Shockwave 3D§. It supports texture mapping, environment mapping, bump mapping, and light mapping.
When to Use
Used when standard computer graphics shading models are required including texture maps, environment maps, bump maps, and light maps.
|
Interface Methods |
Description |
|
Returns which channels are enabled |
|
|
Sets the channels |
|
|
Gets the alpha texture channel |
|
|
Sets the alpha texture channel |
|
|
Gets ID of material in material palette |
|
|
Sets ID of material in material palette |
|
|
Gets ID of the texture in the texture palette |
|
|
Sets ID of the texture in the texture palette |
|
|
Gets texture intensity level |
|
|
Sets texture intensity level |
|
|
Gets texture blend function |
|
|
Sets texture blend function |
|
|
Gets texture blend source |
|
|
Sets texture blend source |
|
|
Gets texture blend constant |
|
|
Sets texture blend constant |
|
|
Gets texture mode |
|
|
Sets texture mode |
|
|
Gets texture transform |
|
|
Sets texture transform |
|
|
Gets texture wrap transform |
|
|
Sets texture wrap transform |
|
|
Queries whether texture repeats |
|
|
Indicates whether texture repeats |
|
|
Queries whether diffuse is used |
|
|
Indicates whether diffuse is used |
|
|
Gets scenegraph |
This method gets the channels.
Parameters:
None
Return Values:
U32
This method sets the channels.
Parameters:
|
UInEnabledFlags |
Sets a number indicating the flags that are currently enabled |
Return Values:
This method gets the alpha texture channels.
Parameters:
None
Return Values:
U32
This method sets the alpha texture channels.
Parameters:
|
UInEnabledFlags |
Sets a number indicating the flags that are currently enabled |
Return Values:
U32
This method gets the material ID.
Parameters:
This method sets the material ID.
Parameters:
|
uInMaterialID |
ID of material in material palette to be used by the shader |
This method gets the texture ID.
Parameters:
|
uInLayer |
Texture Layer ID |
|
puOutID |
Pointer to the texture ID in the texture palette to be used by the shader |
This method sets the texture ID.
Parameters:
|
uInLayer |
Texture Layer ID |
|
uInID |
Texture ID in the texture palette to be used by the shader |
This method gets the texture intensity level.
Parameters:
|
uInLayer |
Texture Layer ID |
|
pfOutIntensity |
Pointer to the texture intensity level amount |
This method sets the texture intensity level.
Parameters:
|
uInLayer |
Texture Layer ID |
|
fInIntensity |
Texture intensity level amount |
This method gets the texture blend function.
Parameters:
|
uInLayer |
Texture Layer ID |
|
peOut |
Pointer to the texture blend function |
This method sets the texture blend function.
Parameters:
|
uInLayer |
Texture Layer ID |
|
eInFn |
Texture blend function |
This method gets the texture blend source.
Parameters:
|
uInLayer |
Texture Layer ID |
|
peOut |
Pointer to the texture source |
This method sets the texture blend source.
Parameters:
|
uInLayer |
Texture Layer ID |
|
eIn |
Texture blend source |
This method gets the texture blend constant.
Parameters:
|
uInLayer |
Texture Layer ID |
|
peOut |
Pointer to the texture blend constant |
This method sets the texture blend constant.
Parameters:
|
uInLayer |
Texture Layer ID |
|
fInConstant |
Texture blend constant |
This method gets the texture mode.
Parameters:
|
uInLayer |
Texture Layer ID |
|
peOut |
Pointer to the texture mode |
This method sets the texture blend source.
Parameters:
|
uInLayer |
Texture Layer ID |
|
eInMode |
Texture blend source |
This method gets the texture transform.
Parameters:
|
uInLayer |
Texture Layer ID |
|
ppmOUtTextureTransform |
Pointer to the texture transform |
This method sets the texture transform.
Parameters:
|
uInLayer |
Texture Layer ID |
|
pmInTextureTransform |
Texture transform |
This method gets the texture wrap transform.
Parameters:
|
uInLayer |
Texture Layer ID |
|
ppmOutWrapTransform |
Pointer to the texture wrap transform |
This method sets the texture transform.
Parameters:
|
uInLayer |
Texture Layer ID |
|
pmInWrapTransform |
Texture wrap transform |
This method determines whether the texture is repeated.
Parameters:
|
uInLayer |
Texture Layer ID |
|
pbOutTextureRepeat |
Pointer to texture repeat boolean |
This method declares whether the texture is repeated.
Parameters:
|
uInLayer |
Texture Layer ID |
|
bInTextureRepeat |
Texture repeat boolean |
This method gets the value of whether or not diffuse color is used.
Parameters:
None
Return Values:
BOOL
This method gets the value of whether or not diffuse color is used.
Parameters:
|
bUseDiffuse |
Indicates whether or not diffuse is used |
Return Values:
None
Parameters:
|
ppOutSceneGraph |
Returns pointer to the scenegraph used by the shader |
§See asterisked (*) statement at Legal Information © 2001 Intel Corporation.