Welcome to
www.tdxlibrary.org
Home of the
the TDx_Library...
"RAD DirectX"
for
C++ Builder
...
|
TDx_3DI_Library v2.00 Component Reference
|
|
[ TDx_3D::CreateVertexBuffer() ]
[ next: Destroy() ]
[ prev: CreateDevice() ]
public:
virtual bool __fastcall CreateVertexBuffer( TD3DVertexBufferDesc* pVBDesc, TDx_3DVertexBuffer* pD3DVertexBuffer );
TDX_3D::CREATEVERTEXBUFFER()
[ component method ]
- Description
The
TDx_3D::CreateVertexBuffer()
method
will
create
a
TDx_VertexBuffer
interface
which
can
then
be
used
to
manipulate
vertex
buffered
vertices.
If
the
method
call
fails,
the
OnError
event
will
be
triggered
with
one
of
the
following
values:
CLASS_E_NOAGGREGATION
D3DERR_INVALIDVERTEXFORMAT
D3DERR_VBUF_CREATE_FAILED
DDERR_INVALIDOBJECT
DDERR_INVALIDPARAMS
DDERR_OUTOFMEMORY
- Parameters
VBDesc
The VBDesc parameter references the TD3DVertexBufferDesc component describing the number and format of the vertices the new vertex buffer will accomodate.
D3DVertexBuffer
The D3DVertexBuffer paremeter references the new vertex buffer if the method returns successfully.
- See Also
- Top
If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.
|
|