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


    TDx_3DI_Library v2.00 Component Reference

    -= Click to navigate the reference =-
    Go to the Welcome Page

    [ TDx_3DDevice::SetRenderState() ]     [ next: SetRenderTarget() ]     [ prev: SetMaterial() ]

    public:

         virtual bool __fastcall SetRenderState( D3DRENDERSTATETYPE pRenderStateType, dword pRenderState );





    -= Go to the TDx_3DDevice description =-    TDX_3DDEVICE::SETRENDERSTATE()   [ component method ]

    • Description

        The TDx_3DDevice::SetRenderState() method will define a single rendering state parameter.

        Use TDx_3DDevice::SetTextureStageState() to define texture states rather than this method.

        If the method call fails, the OnError event will be triggered with one of the following values:
        DDERR_INVALIDPARAMS

    • Parameters

        RenderStateType
        The RenderStateType parameter defines which rendering state parameter is being defined.

        Possible values are:
        D3DRENDERSTATE_ANTIALIAS
        D3DRENDERSTATE_TEXTUREPERSPECTIVE
        D3DRENDERSTATE_ZENABLE
        D3DRENDERSTATE_FILLMODE
        D3DRENDERSTATE_SHADEMODE
        D3DRENDERSTATE_LINEPATTERN
        D3DRENDERSTATE_ZWRITEENABLE
        D3DRENDERSTATE_ALPHATESTENABLE
        D3DRENDERSTATE_LASTPIXEL
        D3DRENDERSTATE_SRCBLEND
        D3DRENDERSTATE_DESTBLEND
        D3DRENDERSTATE_CULLMODE
        D3DRENDERSTATE_ZFUNC
        D3DRENDERSTATE_ALPHAREF
        D3DRENDERSTATE_ALPHAFUNC
        D3DRENDERSTATE_DITHERENABLE
        D3DRENDERSTATE_ALPHABLENDENABLE
        D3DRENDERSTATE_FOGENABLE
        D3DRENDERSTATE_SPECULARENABLE
        D3DRENDERSTATE_STIPPLEDALPHA
        D3DRENDERSTATE_FOGCOLOR
        D3DRENDERSTATE_FOGTABLEMODE
        D3DRENDERSTATE_FOGSTART
        D3DRENDERSTATE_FOGEND
        D3DRENDERSTATE_FOGDENSITY
        D3DRENDERSTATE_EDGEANTIALIAS
        D3DRENDERSTATE_COLORKEYENABLE
        D3DRENDERSTATE_ZBIAS
        D3DRENDERSTATE_RANGEFOGENABLE
        D3DRENDERSTATE_STENCILENABLE
        D3DRENDERSTATE_STENCILFAIL
        D3DRENDERSTATE_STENCILZFAIL
        D3DRENDERSTATE_STENCILPASS
        D3DRENDERSTATE_STENCILFUNC
        D3DRENDERSTATE_STENCILREF
        D3DRENDERSTATE_STENCILMASK
        D3DRENDERSTATE_STENCILWRITEMASK
        D3DRENDERSTATE_TEXTUREFACTOR
        D3DRENDERSTATE_WRAP0
        D3DRENDERSTATE_WRAP1
        D3DRENDERSTATE_WRAP2
        D3DRENDERSTATE_WRAP3
        D3DRENDERSTATE_WRAP4
        D3DRENDERSTATE_WRAP5
        D3DRENDERSTATE_WRAP6
        D3DRENDERSTATE_WRAP7
        D3DRENDERSTATE_CLIPPING
        D3DRENDERSTATE_LIGHTING
        D3DRENDERSTATE_EXTENTS
        D3DRENDERSTATE_AMBIENT
        D3DRENDERSTATE_FOGVERTEXMODE
        D3DRENDERSTATE_COLORVERTEX
        D3DRENDERSTATE_LOCALVIEWER
        D3DRENDERSTATE_NORMALIZENORMALS
        D3DRENDERSTATE_COLORKEYBLENDENABLE
        D3DRENDERSTATE_DIFFUSEMATERIALSOURCE
        D3DRENDERSTATE_SPECULARMATERIALSOURCE
        D3DRENDERSTATE_AMBIENTMATERIALSOURCE
        D3DRENDERSTATE_EMISSIVEMATERIALSOURCE
        D3DRENDERSTATE_VERTEXBLEND
        D3DRENDERSTATE_CLIPPLANEENABLE

        RenderState
        The RenderState parameter defines the new value for the specified rendering state parameter.


    • See Also
    • Top





    If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.



























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.