Welcome to
www.tdxlibrary.org
Home of the
the TDx_Library...
"RAD DirectX"
for
C++ Builder
...
|
TDx_Draw_Library v2.00 Component Reference
|
|
[ TDx_DrawSurface::SetPriority() ]
[ next: SetPrivateData() ]
[ prev: SetPalette() ]
public:
virtual bool __fastcall SetPriority( dword pPriority );
TDX_DRAWSURFACE::SETPRIORITY()
[ component method ]
- Description
The
TDx_DrawSurface::SetPriority
method
will
define
the
management
priority
level
for
a
texture.
This
method
only
works
with
managed
textures,
which
are
removed
in
order
of
the
least
recently
used
texture
first.
The
priority
level
indicates
which
texture
will
be
removed
first
if
two
textures
have
the
same
"last
use"
time
stamp.
If
the
method
call
fails,
the
OnError
event
will
be
triggered
with
the
following
value:
DDERR_INVALIDOBJECT
- Parameters
Priority
The Priority parameter defines the new texture-management priority to be set for the texture.
- See Also
- Top
If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.
|
|