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::GetTexture() ]
[ next: GetTextureStageState() ]
[ prev: GetRenderTarget() ]
public:
virtual bool __fastcall GetTexture( dword pStage, TDx_DrawSurface* pTexture );
TDX_3DDEVICE::GETTEXTURE()
[ component method ]
- Description
The
TDx_3DDevice::GetTexture
method
will
retrieve
the
texture
associated
with
a
specified
texture
stage.
If
the
method
call
fails,
the
OnError
event
will
be
triggered
with
one
of
the
following
values:
DDERR_INVALIDOBJECT
DDERR_INVALIDPARAMS
- Parameters
Stage
The Stage parameter defines which stage's texture is to be retrieved.
Dx7 supports up to 8 texture stages, so this value must be between 0 and 7.
Texture
The Texture parameter will reference the TDx_DrawSurface component holding the retrieved texture if this method returns successfully.
- See Also
- Top
If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.
|
|