The D3DTRANSFORMDATA structure contains information about transformations for the IDirect3DViewport2::TransformVertices method.
typedef struct _D3DTRANSFORMDATA {
DWORD dwSize;
LPVOID lpIn;
DWORD dwInSize;
LPVOID lpOut;
DWORD dwOutSize;
LPD3DHVERTEX lpHOut;
DWORD dwClip;
DWORD dwClipIntersection;
DWORD dwClipUnion;
D3DRECT drExtent;
} D3DTRANSFORMDATA, *LPD3DTRANSFORMDATA;
D3DCLIP_BACK | |
Clipped by the back plane of the viewing frustum. | |
D3DCLIP_BOTTOM | |
Clipped by the bottom plane of the viewing frustum. | |
D3DCLIP_FRONT | |
Clipped by the front plane of the viewing frustum. | |
D3DCLIP_GEN0 through D3DCLIP_GEN5 | |
Application-defined clipping planes. | |
D3DCLIP_LEFT | |
Clipped by the left plane of the viewing frustum. | |
D3DCLIP_RIGHT | |
Clipped by the right plane of the viewing frustum. | |
D3DCLIP_TOP | |
Clipped by the top plane of the viewing frustum. |
D3DSTATUS_CLIPINTERSECTIONBACK | |
Logical AND of the clip flags for the vertices compared to the back clipping plane of the viewing frustum. | |
D3DSTATUS_CLIPINTERSECTIONBOTTOM | |
Logical AND of the clip flags for the vertices compared to the bottom of the viewing frustum. | |
D3DSTATUS_CLIPINTERSECTIONFRONT | |
Logical AND of the clip flags for the vertices compared to the front clipping plane of the viewing frustum. | |
D3DSTATUS_CLIPINTERSECTIONGEN0 through D3DSTATUS_CLIPINTERSECTIONGEN5 | |
Logical AND of the clip flags for application-defined clipping planes. | |
D3DSTATUS_CLIPINTERSECTIONLEFT | |
Logical AND of the clip flags for the vertices compared to the left side of the viewing frustum. | |
D3DSTATUS_CLIPINTERSECTIONRIGHT | |
Logical AND of the clip flags for the vertices compared to the right side of the viewing frustum. | |
D3DSTATUS_CLIPINTERSECTIONTOP | |
Logical AND of the clip flags for the vertices compared to the top of the viewing frustum. |
D3DSTATUS_CLIPUNIONBACK | |
Equal to D3DCLIP_BACK. | |
D3DSTATUS_CLIPUNIONBOTTOM | |
Equal to D3DCLIP_BOTTOM. | |
D3DSTATUS_CLIPUNIONFRONT | |
Equal to D3DCLIP_FRONT. | |
D3DSTATUS_CLIPUNIONGEN0 through D3DSTATUS_CLIPUNIONGEN5 | |
Equal to D3DCLIP_GEN0 through D3DCLIP_GEN5. | |
D3DSTATUS_CLIPUNIONLEFT | |
Equal to D3DCLIP_LEFT. | |
D3DSTATUS_CLIPUNIONRIGHT | |
Equal to D3DCLIP_RIGHT. | |
D3DSTATUS_CLIPUNIONTOP | |
Equal to D3DCLIP_TOP. |
Each input vertex should be a three-vector vertex giving the [x y z] coordinates in model space for the geometry. The dwInSize member gives the amount to skip between vertices, allowing the application to store extra data inline with each vertex.
All values generated by the transformation module are stored as 16-bit precision values. The clip is treated as an integer bitfield that is set to the inclusive OR of the viewing volume planes that clip a given transformed vertex.
Windows NT: Use version 4.0 or later.
Windows: Use Windows 95 or later. Available as a redistributable for Windows 95.
Windows CE: Unsupported.
Header: Declared in d3dtypes.h.
IDirect3DViewport2::TransformVertices