Main Page -
Class Hierarchy -
Class List -
File List -
Class Members -
Related Pages -

Information | Reference | SourceForge Project | Author
Muli3D

Reference: Muli3D: IMuli3DTriangleShader Class Reference

IMuli3DTriangleShader Class Reference

#include <m3dcore_shaders.h>

Inheritance diagram for IMuli3DTriangleShader:

IMuli3DBaseShader IBase List of all members.

Detailed Description

Defines the triangle shader interface.


Protected Member Functions

virtual bool bExecute (shaderreg *io_pShaderRegs0, shaderreg *io_pShaderRegs1, shaderreg *io_pShaderRegs2)=0


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.

Documentation created with doxygen SourceForge.net Logo