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::TD3DBox ]
[ next: TD3DCaps ]
[ prev: TD3DAdapter_Identifier ]
class TD3DBox : public TComponent
class PACKAGE TD3DBox : public TComponent
class type : Wrapper
TD3DBOX
[ component ]
- Description
The TD3DBox component wraps the DirectX D3DBOX structure which defines a 3D volume.
A defined volume counts from the left, top and front edges to the right, bottom and back edges but does not include the last units of the latter three.
Example: When defining the volume of a 10 by 10 by 10 cube, counting from 0, the width, height and depth would be 0 to 10 (not 0 to 9). In essence the beginning of the "10" value defines the end of the box, so the "10" value is not actually included in the defined volume.
This component is used by the TDx9_3DVolume::LockBox() and TDx9_3DVolumeTexture::LockBox() to specify the volume that is to be locked and by the TDx9_3DVolumeTexture::AddDirtyBox() to designate a dirty region.
It is also used in the texturing functions D3DXLoadVolumeFromFile, D3DXLoadVolumeFromFileInMemory, D3DXLoadVolumeFromMemory, D3DXLoadVolumeFromResource and D3DXLoadVolumeFromVolume of the TDx9_3DX_Library to specify source and destination volumes when loading and it specifies the source volume when saving with TDx9_3DX_Library D3DXSaveVolumeToFile and D3DXSaveVolumeToFileInMemory functions.
- Properties
- Methods
- Events
- SeeAlso
- Top
If you would like to submit additions or improvements to this page, click: [email protected].
|
|