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::GetInfo() ]
[ next: GetLight() ]
[ prev: GetDirect3D() ]
public:
virtual bool __fastcall GetInfo( dword pDevInfoID, void* pDevInfoStruct, dword pSize );
TDX_3DDEVICE::GETINFO()
[ component method ]
- Description
The
TDx_3DDevice::GetInfo()
method
will
retrieve
Direct3D
or
device
driver
rendering
information.
This
method
can
reveal
driver
specific
types
and
structures
not
documented
in
Dx7.
Use
this
method
on
debug
Dx7,
as
attempts
to
use
it
on
retail
Dx7
will
cause
the
method
succeed
but
return
with
S_FALSE.
Execution
is
synchronous
and
can
impact
performance,
so
do
not
call
it
between
calls
to
TDx_3DDevice::BeginScene()
and
TDx_3DDevice::EndScene().
If
the
method
call
fails,
the
OnError
event
will
be
triggered
with
one
of
the
following
values:
DDERR_INVALIDOBJECT
DDERR_INVALIDPARAMS
- Parameters
DevInfoID
The DevInfoID parameter indicates what type of information to retrieve.
The described effect applies when the flag is set.
D3DDEVINFOID_D3DTEXTUREMANAGER
DevInfoStruct references a TD3DDevInfo_TextureManager component for holding Direct3D texture management information.
D3DDEVINFOID_TEXTUREMANAGER
DevInfoStruct references a TD3DDevInfo_TextureManager component for holding device driver texture management information.
If the driver performs no texture management, Direct3D texture management information will be retrieved instead.
D3DDEVINFOID_TEXTURING
DevInfoStruct references a TD3DDevInfo_Texturing component for holding the applications texturing activity.
DevInfoStruct
The DevInfoStruct parameter will reference the specified device information if this method returns successfully.
This can be a TD3DDevInfo_Texturing or a TD3DDevInfo_TextureManager component, as specified by the DevInfoID parameter.
Size
The Size parameter defines the size, in bytes, of the component referenced by the DevInfoStruct parameter.
- See Also
- Top
If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.
|
|