Microsoft DirectX 9.0 SDK Update (October 2004)

PaletteEntry.PaletteEntry Constructor

Language:

Note: This documentation is preliminary and is subject to change.

Initializes a new instance of the PaletteEntry class.

Definition

Visual Basic .NET Public Sub New( _
    ByVal red As Byte, _
    ByVal green As Byte, _
    ByVal blue As Byte, _
    ByVal flags As Byte _
)
C# public PaletteEntry(
    byte red,
    byte green,
    byte blue,
    byte flags
);
Managed C++ public: PaletteEntry(
    Byte red,
    Byte green,
    Byte blue,
    Byte flags
);
JScript .NET public function PaletteEntry(
    red : byte,
    green : byte,
    blue : byte,
    flags : byte
);

Parameters

red System.Byte. Red intensity value for the palette entry.
green System.Byte. Green intensity value for the palette entry.
blue System.Byte. Blue intensity value for the palette entry.
flags System.Byte. Alpha intensity value for the palette entry.

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center