www.BCB-Tools.com
Home of
RAD DirectX
for
C++ Builder
...
...
Please Register
So we can
create more
the TDx_Library
the TDx9_Library
|
TDx9_Graphics_Library v1.00 Component Reference
|
|
[ TDx9_Graphics_Library::TD3DMaterial ]
[ next: TD3DMatrix ]
[ prev: TD3DLocked_Rect ]
class TD3DMaterial : public TComponent
class PACKAGE TD3DMaterial : public TComponent
class type : Wrapper
TD3DMATERIAL
[ component ]
- Description
The TD3DMaterial component wraps the DirectX D3DMATERIAL9 structure, which specifies the color properties of a material in response to lighting.
This component is used by the TDx9_3DDevice::GetMaterial() and TDx9_3DDevice::SetMaterial() methods when retrieving or modifying material properties.
It is also used as part of the TD3DXMaterial component of the TDx9_3DX_Library and by the TDx9_3DXEffectStateManager::SetMaterial() method of the TDx9_3DXEffect_Library.
For improved performance the D3DRS_SPECULARENABLE value in the D3DRENDERSTATE enumerated type can be set to false, thus disabling specular calculations and skipping that step entirely.
- Properties
- Methods
- Events
- SeeAlso
- Top
If you would like to submit additions or improvements to this page, click: [email protected].
|
|