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::PreLoad() ]
[ next: SetClipPlane() ]
[ prev: MultiplyTransform() ]
public:
virtual bool __fastcall PreLoad( TDx_DrawSurface* pTexture );
TDX_3DDEVICE::PRELOAD()
[ component method ]
- Description
The
TDx_3DDevice::PreLoad()
method
will
force
the
texture
manager
to
load
a
specified
managed
texture
into
video
memory,
expelling
other
textures
if
neccessary.
Managed
textures
are
those
created
with
the
DDSCAPS2_TEXTUREMANAGE
or
DDSCAPS2_D3DTEXTUREMANAGE
flag.
If
the
method
call
fails,
the
OnError
event
will
be
triggered
with
one
of
the
following
values:
DDERR_INVALIDOBJECT
DDERR_INVALIDPARAMS
- Parameters
Texture
The Texture parameter references the TDx_DrawSurface holding the managed texture that is to be loaded into video memory.
- See Also
- Top
If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.
|
|