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::GetTextureStageState() ]     [ next: GetTransform() ]     [ prev: GetTexture() ]

    public:

         virtual bool __fastcall GetTextureStageState( dword pStage, D3DTEXTURESTAGESTATETYPE pState, dword* pValue );





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

    • Description

        The TDx_3DDevice::GetTextureStageState() method will retrieve the state of the texture assigned to a specified texture stage.

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

    • Parameters

        Stage
        The Stage parameter defines which stage's texture state is to be retrieved.

        Dx7 supports up to 8 texture stages, so this value must be between 0 and 7.

        State
        The State parameter defines which texture state type is to be retrieved.

        Possible values are:
        D3DTSS_COLOROP
        D3DTSS_COLORARG1
        D3DTSS_COLORARG2
        D3DTSS_ALPHAOP
        D3DTSS_ALPHAARG1
        D3DTSS_ALPHAARG2
        D3DTSS_BUMPENVMAT00
        D3DTSS_BUMPENVMAT01
        D3DTSS_BUMPENVMAT10
        D3DTSS_BUMPENVMAT11
        D3DTSS_TEXCOORDINDEX
        D3DTSS_ADDRESS
        D3DTSS_ADDRESSU
        D3DTSS_ADDRESSV
        D3DTSS_BORDERCOLOR
        D3DTSS_MAGFILTER
        D3DTSS_MINFILTER
        D3DTSS_MIPFILTER
        D3DTSS_MIPMAPLODBIAS
        D3DTSS_MAXMIPLEVEL
        D3DTSS_MAXANISOTROPY
        D3DTSS_BUMPENVLSCALE
        D3DTSS_BUMPENVLOFFSET
        D3DTSS_TEXTURETRANSFORMFLAGS

        Value
        The Value parameter will reference the specified textures state value if this method returns successfully.


    • 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.