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



    D3DMATERIALCOLORSOURCE

    [ TDx_3DI_Library ]     [ next: D3DMATRIX ]     [ prev: D3DMATERIAL7 ]

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

    The D3DMATERIALCOLORSOURCE enumerated type defines the location at which a color or color component must be accessed for lighting calculations.

    typedef enum _D3DMATERIALCOLORSOURCE {
    D3DMCS_MATERIAL = 0,
    D3DMCS_COLOR1 = 1,
    D3DMCS_COLOR2 = 2,
    D3DMCS_FORCE_DWORD = 0x7fffffff,
    } D3DMATERIALCOLORSOURCE;

    D3DMCS_MATERIAL
    Use the color from the current material.
    D3DMCS_COLOR1
    Use the diffuse vertex color.
    D3DMCS_COLOR2
    Use the specular vertex color.
    D3DMCS_FORCE_DWORD
    Forces this enumeration to compile to 32 bits in size. This value is not used.
    Remarks
    The values defined by this enumeration are used with the following render states:

    D3DRENDERSTATE_DIFFUSEMATERIALSOURCE
    D3DRENDERSTATE_SPECULARMATERIALSOURCE
    D3DRENDERSTATE_AMBIENTMATERIALSOURCE
    D3DRENDERSTATE_EMISSIVEMATERIALSOURCE





























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.