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 'State Blocks'
    Go to the Welcome Page
    If you would like to submit additions or improvements to this page, click: admin@bcb-tools.com.



    STATE BLOCKS

    [ TDx_3DI_Library ]     [ next: Stencil ]     [ prev: Specular ]

    A state block is essentially a device state snapshot, that can be applied to the device in a single call.

    The device state block is either taken directly from the device or explicitly recorded one command at a time.

    To record, TDx_3DDevice::BeginStateBlock() is called, followed by any or all of the following calls:
    TDx_3DDevice::LightEnable()
    TDx_3DDevice::SetClipPlane()
    TDx_3DDevice::SetLight()
    TDx_3DDevice::SetMaterial()
    TDx_3DDevice::SetRenderState()
    TDx_3DDevice::SetTexture()
    TDx_3DDevice::SetTextureStageState()
    TDx_3DDevice::SetTransform()
    TDx_3DDevice::SetViewport()
    Once the state block is completed, TDx_3DDevice::EndStateBlock() is called and a pointer to the recorded state block is returned.

    If the same state is defined multiple times, only the last value will be used.





























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.