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::EnumTextureFormats() ]
[ next: GetCaps() ]
[ prev: EndStateBlock() ]
public:
virtual bool __fastcall EnumTextureFormats( void* pArg );
TDX_3DDEVICE::ENUMTEXTUREFORMATS()
[ component method ]
- Description
The
TDx_3DDevice::EnumTextureFormats()
method
will
retrieve
a
list
of
supported
texture
formats
from
the
device
driver.
This
method
may
not
reveal
newly
implemented
texture
formats
for
some
devices.
If
the
format
is
required,
try
creating
a
surface
of
that
format
and
if
creation
succeeds
the
format
is
supported.
This
method
will
trigger
a
TDx_3DDevice::OnEnumTextureFormats()
event
for
each
texture
format
enumerated.
If
the
method
call
fails,
the
OnError
event
will
be
triggered
with
one
of
the
following
values:
DDERR_INVALIDOBJECT
DDERR_INVALIDPARAMS
- Parameters
Arg
The Arg parameter references application defined data to be passed to the OnEnumPixelFormatsCallback() event for each texture format enumerated.
- See Also
- Top
If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.
|
|