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


    GLOSSARY REFERENCE

    Below you will find the glossary reference for 'D3DPRIMITIVETYPE'
    Go to the Welcome Page
    If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.



    D3DPRIMITIVETYPE

    [ TDx_3DI_Library ]     [ next: D3DRECT ]     [ prev: D3DPRIMCAPS ]

    Text and description quoted verbatim from Microsoft DirectX 7 help file, included here for convenient reference.

    The D3DPRIMITIVETYPE enumerated type lists the primitives supported by DrawPrimitive methods. This type was introduced in DirectX 5.0.

    typedef enum _D3DPRIMITIVETYPE {
    D3DPT_POINTLIST = 1,
    D3DPT_LINELIST = 2,
    D3DPT_LINESTRIP = 3,
    D3DPT_TRIANGLELIST = 4,
    D3DPT_TRIANGLESTRIP = 5,
    D3DPT_TRIANGLEFAN = 6
    D3DPT_FORCE_DWORD = 0x7fffffff,
    } D3DPRIMITIVETYPE;

    D3DPT_POINTLIST
    Renders the vertices as a collection of isolated points.
    D3DPT_LINELIST
    Renders the vertices as a list of isolated straight line segments. Calls using this primitive type fail if the count is less than 2 or is odd.
    D3DPT_LINESTRIP
    Renders the vertices as a single polyline. Calls using this primitive type fail if the count is less than 2.
    D3DPT_TRIANGLELIST
    Renders the specified vertices as a sequence of isolated triangles. Each group of three vertices defines a separate triangle. Calls using this primitive type fail if the count is less than 3 or not evenly divisible by 3.
    Backface culling is affected by the current winding-order render state.

    D3DPT_TRIANGLESTRIP
    Renders the vertices as a triangle strip. Calls using this primitive type fail if the count is less than 3. The backface-culling flag is automatically flipped on even-numbered triangles.
    D3DPT_TRIANGLEFAN
    Renders the vertices as a triangle fan. Calls using this primitive type fail if the count is less than 3.
    D3DPT_FORCE_DWORD
    Forces this enumeration to compile to 32 bits in size. This value is not used.
    Remarks
    Using triangle strips or fans is often more efficient than using triangle lists because fewer vertices are duplicated. For more information, see Triangle Strips and Triangle Fans.





























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.