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


    GLOSSARY REFERENCE

    Below you will find the glossary reference for 'D3DLIGHTTYPE'
    Go to the Welcome Page
    If you would like to submit additions or improvements to this page, click: admin@bcb-tools.com.



    D3DLIGHTTYPE

    [ TDx_3DI_Library ]     [ next: D3DLINEPATTERN ]     [ prev: D3DLIGHTINGCAPS ]

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

    The D3DLIGHTTYPE enumerated type defines the light type. This enumerated type is used with the D3DLIGHT7 structure.

    typedef enum _D3DLIGHTTYPE {
    D3DLIGHT_POINT = 1,
    D3DLIGHT_SPOT = 2,
    D3DLIGHT_DIRECTIONAL = 3,
    D3DLIGHT_FORCE_DWORD = 0x7fffffff,
    } D3DLIGHTTYPE;

    D3DLIGHT_POINT
    Light is a point source. The light has a position in space and radiates light in all directions.
    D3DLIGHT_SPOT
    Light is a spotlight source. This light is like a point light, except that the illumination is limited to a cone. This light type has a direction and several other parameters that determine the shape of the cone it produces. For information about these parameters, see the D3DLIGHT7 structure.
    D3DLIGHT_DIRECTIONAL
    Light is a directional source. This is equivalent to using a point light source at an infinite distance.
    D3DLIGHT_FORCE_DWORD
    Forces this enumeration to compile to 32 bits in size. This value is not used.
    Remarks
    Directional lights are slightly faster than point light sources, but point lights look a little better. Spotlights offer interesting visual effects but are computationally expensive.

    Parallel-point lights are not supported in DirectX 7.0 and later. Therefore, this enumerated type does not contain the legacy D3DLIGHT_PARALLELPOINT member.





























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.