Welcome to
www.tdxlibrary.org
Home of the
the TDx_Library...
"RAD DirectX"
for
C++ Builder
...
|
TDx_3DI_Library v2.00 Component Reference
|
|
[ TDx_3DDevice::DrawPrimitiveVB() ]
[ next: EndScene() ]
[ prev: DrawPrimitiveStrided() ]
public:
virtual bool __fastcall DrawPrimitiveVB( D3DPRIMITIVETYPE pPrimitiveType, TDx_3DVertexBuffer* pVertexBuffer, dword pStartVertex, dword pNumVertices, dword pFlags );
TDX_3DDEVICE::DRAWPRIMITIVEVB()
[ component method ]
- Description
- Parameters
PrimitiveType
The PrimitiveType parameter defines the type of primitive that is to be rendered.
Possible values are:
D3DPT_POINTLIST
D3DPT_LINELIST
D3DPT_LINESTRIP
D3DPT_TRIANGLELIST
D3DPT_TRIANGLESTRIP
D3DPT_TRIANGLEFAN
VertexBuffer
The VertexBuffer parameter references the TDx_3DVertexBuffer that holds the vertex array.
StartVertex
The StartVertex parameter defines the index of the first vertex to be rendered from the vertex buffer.
NumVertices
The NumVertices parameter defines how many vertices will be rendered.
Flags
The Flags parameter indicates whether the method should wait for rendering before returning.
The described effect applies when the flag is set.
Set 0 to return as soon as the polygons are sent to the card.
D3DDP_WAIT
Wait until rendering has been done rather than returning as soon as the data has been sent to the card.
The method will return immediately when a scene capture cards responds.
Usually for debugging, do not use this flag to ensure the scene is up to date before continuing.
- See Also
- Top
If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.
|
|