VCL RAD DirectX for C++ Builder

Welcome to

www.tdxlibrary.org

Home of the
the TDx_Library...

=- RAD DirectX =-

"RAD DirectX"
for
C++ Builder

...

Welcome to tdxlibrary.org Latest News

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

Register our Tools Available Downloads

Frequently Asked Questions Links to other sites Information about the tdxlibrary.org website


    TDx_3DI_Library v2.00 Component Reference

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

    [ TDx_3D::CreateDevice() ]     [ next: CreateVertexBuffer() ]     [ prev: Create() ]

    public:

         virtual bool __fastcall CreateDevice( REFCLSID pClsId, TDx_DrawSurface* pDDS, TDx_3DDevice* pD3DDevice );





    -= Go to the TDx_3D description =-    TDX_3D::CREATEDEVICE()   [ component method ]

    • Description

        The TDx_3D::CreateDevice() method will create a TDx_3DDevice interface which can then be used to access the draw primitive methods.

        Multiple rendering devices can be created from a single TDx_3D component. However, because they share the same physical resources, performance will be significantly affected.

    • Parameters

        ClsId
        The ClsId parameter identifies the type of device being created.

        The possible values are:

        IID_IDirect3DTnLHalDevice
        IID_IDirect3DHALDevice
        IID_IDirect3DMMXDevice
        IID_IDirect3DRGBDevice

        DDS
        The DDS parameter references the new 3D device's render target surface.

        The surface must have been created with the DDSCAPS_3DDEVICE flag set.

        D3DDevice
        The D3DDevice property will reference the address of the new 3D device if the method returns successfully.


    • See Also
    • Top





    If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.



























Top

Welcome |  Latest News |  Tools |  Demos |  Tutorials |  Reference |  Register |  Downloads
FAQ |  Links |  Site Information

This page is Copyright © 2019 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.