|
|
|
|
Reference: Muli3D: IMuli3DVertexShader Class Reference
IMuli3DVertexShader Class Reference#include <m3dcore_shaders.h>
Inheritance diagram for IMuli3DVertexShader:
List of all members.
Detailed Description
Defines the vertex shader interface.
Member Function Documentation
virtual void IMuli3DVertexShader::Execute |
( |
const shaderreg * |
i_pInput, |
|
|
vector4 & |
o_vPosition, |
|
|
shaderreg * |
o_pOutput |
|
) |
[protected, pure virtual] |
|
|
Accessible by CMuli3DDevice. This is the core function of a vertex shader: It transforms vertex positions to homogeneous clipping space and sets up registers for the pixel shader. - Parameters:
-
[in] | i_pInput | vertex shader input registers, data is loaded from the active vertex streams. |
[out] | o_vPosition | vertex position transformed to homogeneous clipping space. |
[out] | o_pOutput | vertex shader output registers which will be interpolated and passed to the pixel shader. |
|
virtual m3dshaderregtype IMuli3DVertexShader::GetOutputRegisters |
( |
uint32 |
i_iRegister |
) |
[protected, pure virtual] |
|
|
Returns the type of a particular output register. Member of the enumeration m3dshaderregtype; if a given register is not used, return m3dsrt_unused. - Parameters:
-
[in] | i_iRegister | index of register, e [0;c_iPixelShaderRegisters[. |
|
|
|