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

    [ TD3DPrimCaps::SrcBlendCaps ]     [ next: StippleHeight ]     [ prev: Size ]

    public:

        __property dword SrcBlendCaps = { read=FGetSrcBlendCaps, write=FSetSrcBlendCaps, default=0 };




    -= Go to the TD3DPrimCaps description =-    TD3DPRIMCAPS::SRCBLENDCAPS   [ component property ]

    • Description

        The SrcBlendCaps property indicate the source blending capablilties that are available.
        The described effect applies when the flag is set.

        Each component of the RGBA value is denoted by the corresponding capitalised letter, source and destination being indicated by s and d respectively.
    • Flags

        D3DPBLENDCAPS_BOTHINVSRCALPHA
        Support for using the inverted source alpha value as the source blend factor and the source alpha value as the destination blend factor of is available.
        Source blend factor: (1-As, 1-As, 1-As, 1-As)
        Destination blend factor: (As, As, As, As)
        The destination blend selection is overridden.

        D3DPBLENDCAPS_DESTALPHA
        Support for using the destination alpha value as the blend factor is available.
        Blend factor: (Ad, Ad, Ad, Ad)

        D3DPBLENDCAPS_DESTCOLOR
        Support for using the destination color as the blend factor is available.
        Blend factor: (Rd, Gd, Bd, Ad)


        D3DPBLENDCAPS_INVDESTALPHA
        Support for using the inverted destination alpha value as the blend factor is available.
        Blend factor: (1-Ad, 1-Ad, 1-Ad, 1-Ad)

        D3DPBLENDCAPS_INVDESTCOLOR
        Support for using the inverted destination color as the blend factor is available.
        Blend factor: (1-Rd, 1-Gd, 1-Bd, 1-Ad)

        D3DPBLENDCAPS_INVSRCALPHA
        Support for using the inverted source alpha value as the blend factor is available.
        Blend factor: (1-As, 1-As, 1-As, 1-As)

        D3DPBLENDCAPS_INVSRCCOLOR
        Support for using the inverted source color as the blend factor is available.
        Blend factor: (1-Rs, 1-Gs, 1-Bs, 1-As)

        D3DPBLENDCAPS_ONE
        Support for a blend factor of 1 is available.
        Blend factor: (1, 1, 1, 1)

        D3DPBLENDCAPS_SRCALPHA
        Support for using the source alpha value as the blend factor is available.
        Blend factor: (As, As, As, As)

        D3DPBLENDCAPS_SRCALPHASAT
        Support for using the lower of the source alpha value or inverted destination alpha value as the blend factor is available.
        Blend factor: (min(As, 1-Ad), min(As, 1-Ad), min(As, 1-Ad), 1)

        D3DPBLENDCAPS_SRCCOLOR
        Support for using the source color as the blend factor is available.
        Blend factor: (Rs, Gs, Bs, As)

        D3DPBLENDCAPS_ZERO
        Support for a blend factor of 0 is available.
        Blend factor: (0, 0, 0, 0)

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