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::SetTextureStageState() ]
[ next: SetTransform() ]
[ prev: SetTexture() ]
public:
virtual bool __fastcall SetTextureStageState( dword pStage, D3DTEXTURESTAGESTATETYPE pState, dword pValue );
TDX_3DDEVICE::SETTEXTURESTAGESTATE()
[ component method ]
- Description
The
TDx_3DDevice::SetTextureStageState()
method
will
define
the
state
of
the
texture
assigned
to
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 state is to be defined.
Dx7 supports up to 8 texture stages, so this value must be between 0 and 7.
State
The State parameter defines which texture state type is to be defined.
Possible values are:
D3DTSS_COLOROP
D3DTSS_COLORARG1
D3DTSS_COLORARG2
D3DTSS_ALPHAOP
D3DTSS_ALPHAARG1
D3DTSS_ALPHAARG2
D3DTSS_BUMPENVMAT00
D3DTSS_BUMPENVMAT01
D3DTSS_BUMPENVMAT10
D3DTSS_BUMPENVMAT11
D3DTSS_TEXCOORDINDEX
D3DTSS_ADDRESS
D3DTSS_ADDRESSU
D3DTSS_ADDRESSV
D3DTSS_BORDERCOLOR
D3DTSS_MAGFILTER
D3DTSS_MINFILTER
D3DTSS_MIPFILTER
D3DTSS_MIPMAPLODBIAS
D3DTSS_MAXMIPLEVEL
D3DTSS_MAXANISOTROPY
D3DTSS_BUMPENVLSCALE
D3DTSS_BUMPENVLOFFSET
D3DTSS_TEXTURETRANSFORMFLAGS
Value
The Value parameter defines the value to which the specified texture state should be set.
- See Also
- Top
If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.
|
|