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 'D3DSHADEMODE'
    Go to the Welcome Page
    If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.



    D3DSHADEMODE

    [ TDx_3DI_Library ]     [ next: D3DSTATEBLOCK ]     [ prev: D3DRENDERSTATETYPE ]

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

    The D3DSHADEMODE enumerated type describes the supported shading mode for the D3DRENDERSTATE_SHADEMODE render state in the D3DRENDERSTATETYPE enumerated type.

    typedef enum _D3DSHADEMODE {
    D3DSHADE_FLAT = 1,
    D3DSHADE_GOURAUD = 2,
    D3DSHADE_PHONG = 3,
    D3DSHADE_FORCE_DWORD = 0x7fffffff,
    } D3DSHADEMODE;

    D3DSHADE_FLAT
    Flat shading mode. The color and specular component of the first vertex in the triangle are used to determine the color and specular component of the face. These colors remain constant across the triangle; that is, they are not interpolated.
    D3DSHADE_GOURAUD
    Gouraud shading mode. The color and specular components of the face are determined by a linear interpolation between all three of the triangle's vertices.
    D3DSHADE_PHONG
    Not currently supported.
    D3DSHADE_FORCE_DWORD
    Forces this enumeration to compile to 32 bits in size. This value is not used.





























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.