www.BCB-Tools.com
Home of
RAD DirectX
for
C++ Builder
...
...
Please Register
So we can
create more
the TDx_Library
the TDx9_Library
|
TDx9_Graphics_Library v1.00 Component Reference
|
|
[ TDx9_Graphics_Library::TD3DClipStatus ]
[ next: TD3DColorValue ]
[ prev: TD3DCaps ]
class TD3DClipStatus : public TComponent
class PACKAGE TD3DClipStatus : public TComponent
class type : Wrapper
TD3DCLIPSTATUS
[ component ]
- Description
The TD3DClipStatus component wraps the DirectX D3DCLIPSTATUS9 structure which defines the union and intersection settings for clipping.
This component is used by the TDx9_3DDevice::GetClipStatus() and TDx9_3DDevice::SetClipStatus() methods for holding clipping settings.
When vertex processing with clipping enabled (TDx9_3DDevice::ProcessVertices(), TDx9_3DDevice::DrawPrimitive(), etc) a clip code is calculated for each vertex using the ClipUnion and ClipIntersection settings.
Vertices outside a particular clipping plane will have the corresponding bit set in its clip code.
ClipUnion is a bitwise OR of all clip codes and ClipIntersection is a bitwise AND of all clipping codes.
The initial values of ClipUnion and ClipIntersection are 0 and 0xFFFFFFFF respectively but both are set to 0 if clipping is not enabled.
The clip status is updated during drawing calls but not by calls to TDx9_3DDevice::DrawRectPatch() or TDx9_3DDevice::DrawTriPatch() as there is no software emulation for those methods.
- Properties
- Methods
- Events
- SeeAlso
- Top
If you would like to submit additions or improvements to this page, click: [email protected].
|
|