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

    [ TD3DDeviceDesc::StencilCaps ]     [ next: TextureOpCaps ]     [ prev: Size ]

    public:

        __property dword StencilCaps = { read=FGetStencilCaps, write=FSetStencilCaps, default=0 };




    -= Go to the TD3DDeviceDesc description =-    TD3DDEVICEDESC::STENCILCAPS   [ component property ]

    • Description

        The StencilCaps property defines the stencil-buffer capabilities of the device.
        The described effect applies when the flag is set.

        Stencil buffer entries are integer values between 0 through 2n-1, where n is the bit depth of the stencil buffer.
        All stencil operations are assumed valid for the D3DRENDERSTATE_STENCILFAIL, D3DRENDERSTATE_STENCILPASS and D3DRENDERSTATE_STENCILFAILZFAIL render states.
    • Flags

        D3DSTENCILCAPS_DECR
        The decrementing of the stencil buffer entry, with the value wrapping to the maximum when the result is less than 0 is supported. (D3DSTENCILOP_DECR)

        D3DSTENCILCAPS_DECRSAT
        The decrementing of the stencil buffer entry, with the value clamped to 0 when the result is less than 0 is supported. (D3DSTENCILOP_DECR)

        D3DSTENCILCAPS_INCR
        The incrementing of the stencil buffer entry, with the value wrapping to 0 when the result exceeds the maximum is supported.

        D3DSTENCILCAPS_INCRSAT
        The incrementing of the stencil buffer entry, with the value clamped to the maximum when the result exceeds the maximum is supported. (D3DSTENCILOP_INCR)


        D3DSTENCILCAPS_INVERT
        The inversion of the stencil buffer bits is supported. (D3DSTENCILOP_INVERT)

        D3DSTENCILCAPS_KEEP
        Keeping the entry in the stencil buffer without updating is supported. (D3DSTENCILOP_KEEP)
        This is the default value for stencil operations.

        D3DSTENCILCAPS_REPLACE
        Replacing the stencil-buffer entry with a reference value is supported. (D3DSTENCILOP_REPLACE)


        D3DSTENCILCAPS_ZERO
        Setting the stencil buffer entry to 0 is supported. (D3DSTENCILOP_ZERO)


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