Welcome to
www.tdxlibrary.org
Home of the
the TDx_Library...
"RAD DirectX"
for
C++ Builder
...
|
TDx_3DI_Library v2.00 Component Reference
|
|
[ TD3DPrimCaps::TextureCaps ]
[ next: TextureFilterCaps ]
[ prev: TextureBlendCaps ]
public:
__property dword TextureCaps = { read=FGetTextureCaps, write=FSetTextureCaps, default=0 };
TD3DPRIMCAPS::TEXTURECAPS
[ component property ]
- Description
The TextureCaps property flags indicates which texture mapping capabilities are available.
The described effect applies when the flag is set.
- Flags
D3DPTEXTURECAPS_ALPHA
Support for RGBA textures when using decal and modulate texture filtering modes is available.
Regardless of this value, alpha must be supported in the decal mask, decal alpha and modulate alpha filtering modes if they are available.
D3DPTEXTURECAPS_ALPHAPALETTE
Support for alpha palettized texture surfaces is available.
D3DPTEXTURECAPS_BORDER
NOT USED
Superseded by the TD3DPrimCaps::TextureAddressCaps.D3DPTADDRESSCAPS_BORDER flag.
D3DPTEXTURECAPS_COLORKEYBLEND
Support for alpha blended colorkeying is available.
D3DPTEXTURECAPS_CUBEMAP
Support for cubic environment maps (cubemaps) is available.
D3DPTEXTURECAPS_NONPOW2CONDITIONAL
Support for textures with dimensions that are not powers of 2 is available.
To use this capability, the addressing mode must be set to D3DTADDRESS_CLAMP and texture wrapping disabled (D3DRENDERSTATE_WRAPn = 0).
D3DPTEXTURECAPS_PERSPECTIVE
Support for perspective correction is available.
D3DPTEXTURECAPS_POW2
The U and V texture dimensions must always be powers of two.
D3DPTEXTURECAPS_PROJECTED
Support for projected texture transforms is available.
Setting the D3DTTFF_PROJECTED texture transformation flag means transformed texture coordinates will be divided by the last texture coordinate.
D3DPTEXTURECAPS_SQUAREONLY
The U and V texture dimensions must always be equal.
D3DPTEXTURECAPS_TEXREPEATNOTSCALEDBYSIZE
Support for not scaling texture idices by texture size prior to interpolation is available.
D3DPTEXTURECAPS_TRANSPARENCY
Support for texture transparency is available.
Texture pixels that are the current transparent color are not drawn.
- See Also
- Top
If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.
|
|