www.BCB-Tools.com

Home of
RAD DirectX
for
C++ Builder

...

C++ Builder wrapping DirectX

...

Please Register

So we can
create more

the TDx_Library
the TDx9_Library



Welcome to BCB-Tools.com Latest News

Development Tools Demo Applications Step-by-Step Tutorials Component Reference

Register Here! Available Downloads

Frequently Asked Questions Discussion Forums Receive emails from BCB-Tools.com Send us some Feedback

Links to other sites Information about the BCB-Tools.com website


    TDx9_Graphics_Library v1.00 Component Reference

    -= Click to navigate the reference =-
    Go to the Welcome Page

    [ TDx9_Graphics_Library::TD3DBox ]     [ next: TD3DCaps ]     [ prev: TD3DAdapter_Identifier ]

    class TD3DBox : public TComponent
    class PACKAGE TD3DBox : public TComponent

    class type : Wrapper


    -= Go to the TD3DBox description =-    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].



























Top

Welcome |  Latest News |  Tools |  Demos |  Tutorials |  Reference |  Register |  Downloads
FAQ |  Forums |  Feedback |  Mailing List |  Links |  Site Information

This page is Copyright © 2008 Darren John Dwyer, Australia. All Rights Reserved.
Borland C++ Builder, CBuilder, etc are Trademarks of Borland Corporation.
DirectX, DirectDraw, Windows, etc are Trademarks of Microsoft Corporation.