Derm.Render.ColorABGR32 Struct Reference

ABGR color (32 bits). More...

List of all members.

Public Member Functions

 ColorABGR32 (float r, float g, float b, float a)
 ColorABGR32 (float r, float g, float b)

Public Attributes

byte a
 Alpha component for ABGR color.
byte b
 Blue component for ABGR color.
byte g
 Green component for ABGR color.
byte r
 Red component for ABGR color.

Properties

byte Alpha [get, set]
 Alpha component property.
byte Blue [get, set]
 Blue component property.
byte ComponentsCount [get]
 Number of the components of this IVertex.
byte Green [get, set]
 Green component property.
Pixel.Type PixelType [get]
 Pixel.Type of this IColor.
byte Red [get, set]
 Red component property.
float this [int c] [get, set]
 Color component access.

Detailed Description

ABGR color (32 bits).


Constructor & Destructor Documentation

Derm.Render.ColorABGR32.ColorABGR32 ( float  r,
float  g,
float  b 
)
Derm.Render.ColorABGR32.ColorABGR32 ( float  r,
float  g,
float  b,
float  a 
)

Member Data Documentation

Alpha component for ABGR color.

Blue component for ABGR color.

Green component for ABGR color.

Red component for ABGR color.


Property Documentation

byte Derm.Render.ColorABGR32.Alpha [get, set]

Alpha component property.

byte Derm.Render.ColorABGR32.Blue [get, set]

Blue component property.

byte Derm.Render.ColorABGR32.ComponentsCount [get]

Number of the components of this IVertex.

Returns:
A System.Int32
byte Derm.Render.ColorABGR32.Green [get, set]

Green component property.

Pixel.Type Derm.Render.ColorABGR32.PixelType [get]

Pixel.Type of this IColor.

byte Derm.Render.ColorABGR32.Red [get, set]

Red component property.

float Derm.Render.ColorABGR32.this[int c] [get, set]

Color component access.

Parameters:
c A System.Int32 indicating the color component index (0 based). In the case this parameter is greater or equals to ComponentsCount, the operation won't be meaninfull.
Returns:
The color component is converted to/from a normalized floating point number, where 0.0f indicates lowest intensity, while 1.0f indicated highest intensity.


Services powered by Get Deus Ex Render Machina at SourceForge.net. Fast, secure and Free Open Source software downloads