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

Information | Reference | SourceForge Project | Author
Muli3D

Reference: Muli3D: m3dtriangleinfo Struct Reference

m3dtriangleinfo Struct Reference

#include <m3dtypes.h>

List of all members.


Detailed Description

Describes a structure that is used for triangle gradient storage.
Note:
This structure is used internally by devices.


Public Attributes

float32 fCommonGradient
float32 fCurPixelInvW
float32 fWDdx
float32 fWDdy
float32 fZDdx
float32 fZDdy
uint32 iCurPixelX
uint32 iCurPixelY
const m3dvsoutputpBaseVertex
shaderreg ShaderOutputsDdx [c_iPixelShaderRegisters]
shaderreg ShaderOutputsDdy [c_iPixelShaderRegisters]


Member Data Documentation

float32 m3dtriangleinfo::fCommonGradient
 

Gradient constant.

float32 m3dtriangleinfo::fCurPixelInvW
 

1.0f / w of the current pixel; needed by pixel shader for computation of partial derivatives.

float32 m3dtriangleinfo::fWDdx
 

w partial derivatives with respect to the screen-space x- and y-coordinates.

float32 m3dtriangleinfo::fWDdy
 

w partial derivatives with respect to the screen-space x- and y-coordinates.

float32 m3dtriangleinfo::fZDdx
 

z partial derivatives with respect to the screen-space x- and y-coordinates.

float32 m3dtriangleinfo::fZDdy
 

z partial derivatives with respect to the screen-space x- and y-coordinates.

uint32 m3dtriangleinfo::iCurPixelX
 

Integer-coordinates of current pixel; needed by pixel shader for computation of partial derivatives.

uint32 m3dtriangleinfo::iCurPixelY
 

Integer-coordinates of current pixel; needed by pixel shader for computation of partial derivatives.

const m3dvsoutput* m3dtriangleinfo::pBaseVertex
 

Base vertex for gradient computations.

shaderreg m3dtriangleinfo::ShaderOutputsDdx[c_iPixelShaderRegisters]
 

Shader register partial derivatives with respect to the screen-space x-coordinate.

shaderreg m3dtriangleinfo::ShaderOutputsDdy[c_iPixelShaderRegisters]
 

Shader register partial derivatives with respect to the screen-space y-coordinate.

Documentation created with doxygen SourceForge.net Logo