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_Draw_Library v2.00 Component Reference

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

    [ TDDCaps::PalCaps ]     [ next: Rops ]     [ prev: NumFourCCCodes ]

    public:

        __property dword PalCaps = { read=FGetPalCaps, write=FSetPalCaps, default=0 };




    -= Go to the TDDCaps description =-    TDDCAPS::PALCAPS   [ component property ]

    • Description

        The PalCaps property defines flags indicating palette capabilities.
        The described effect applies when the flag is set.
    • Flags

        DDPCAPS_1BIT
        The palette index will be 1 bit.
        There will be 2 entries in the color table.

        DDPCAPS_2BIT
        The palette index will be 2 bits.
        There will be 4 entries in the color table.

        DDPCAPS_4BIT
        The palette index will be 4 bits.
        There will be 16 entries in the color table.

        DDPCAPS_8BIT
        The palette index will be 8 bits.
        There will be 256 entries in the color table.

        DDPCAPS_8BITENTRIES
        The palette index will reference an 8 bit color index.
        This flag is only valid when DDPCAPS_1BIT, DDPCAPS_2BIT or DDPCAPS_4BIT is set and the surface which is to use the new palette has a bit depth of 8.
        Each color entry is an 8 bit index into the destination surface's 8 bpp palette.

        DDPCAPS_ALLOW256
        All 256 entries of the created palette may be accessed.
        Entry 0 and entry 255 on 8-bit palettes are reserved for system use unless this flag is set.

        DDPCAPS_ALPHA
        Support for palettes with an alpha component is available.
        The peFlags member of the associated PALETTEENTRY structure will be interpreted as an 8-bit alpha value.
        Palettes utilizing this capability may only be attached to textures.

        DDPCAPS_PRIMARYSURFACE
        The palette is attached to the primary surface.
        Changes to the palette will have an immediate effect on the display unless the DDPCAPS_VSYNC capability is specified and supported.

        DDPCAPS_PRIMARYSURFACELEFT
        The palette is attached to the primary surface for the left eye.
        Changes to the palette will have an immediate effect on the left eye display unless the DDPCAPS_VSYNC capability is specified and supported.

        DDPCAPS_VSYNC
        The palette can be modified synchronously with the monitor's refresh rate.

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