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::CreateDevice() ]
[ next: CreateVertexBuffer() ]
[ prev: Create() ]
public:
virtual bool __fastcall CreateDevice( REFCLSID pClsId, TDx_DrawSurface* pDDS, TDx_3DDevice* pD3DDevice );
TDX_3D::CREATEDEVICE()
[ component method ]
- Description
The
TDx_3D::CreateDevice()
method
will
create
a
TDx_3DDevice
interface
which
can
then
be
used
to
access
the
draw
primitive
methods.
Multiple
rendering
devices
can
be
created
from
a
single
TDx_3D
component.
However,
because
they
share
the
same
physical
resources,
performance
will
be
significantly
affected.
- Parameters
ClsId
The ClsId parameter identifies the type of device being created.
The possible values are:
IID_IDirect3DTnLHalDevice
IID_IDirect3DHALDevice
IID_IDirect3DMMXDevice
IID_IDirect3DRGBDevice
DDS
The DDS parameter references the new 3D device's render target surface.
The surface must have been created with the DDSCAPS_3DDEVICE flag set.
D3DDevice
The D3DDevice property will reference the address of the new 3D device 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.
|
|