|
|
|
|
Reference: Muli3D: IMuli3DTriangleShader Class Reference
IMuli3DTriangleShader Class Reference#include <m3dcore_shaders.h>
Inheritance diagram for IMuli3DTriangleShader:
List of all members.
Detailed Description
Defines the triangle shader interface.
Member Function Documentation
virtual bool IMuli3DTriangleShader::bExecute |
( |
shaderreg * |
io_pShaderRegs0, |
|
|
shaderreg * |
io_pShaderRegs1, |
|
|
shaderreg * |
io_pShaderRegs2 |
|
) |
[protected, pure virtual] |
|
|
Accessible by CMuli3DDevice. This is the core function of a triangle shader: It performs per triangle operations on vertices. - Parameters:
-
[in,out] | io_pShaderRegs0 | shader registers outputted from vertex shader for the first triangle vertex. |
[in,out] | io_pShaderRegs1 | shader registers outputted from vertex shader for the second triangle vertex. |
[in,out] | io_pShaderRegs2 | shader registers outputted from vertex shader for the third triangle vertex. |
- Note:
- A triangle shader may operate on the registers outputted by the vertex shader.
- Returns:
- false if triangle should not be rendered.
|
|
|