Derm.Render.ColorY16 Struct Reference

Single component color (16 bits). More...

List of all members.

Properties

byte ComponentsCount [get]
 Number of the components of this IColor.
ushort Level [get, set]
 Luminance component property.
Pixel.Type PixelType [get]
 Pixel.Type of this IColor.
float this [int c] [get, set]
 Color component access.

Detailed Description

Single component color (16 bits).


Property Documentation

byte Derm.Render.ColorY16.ComponentsCount [get]

Number of the components of this IColor.

Returns:
It returns 3. A System.Int32
ushort Derm.Render.ColorY16.Level [get, set]

Luminance component property.

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

Pixel.Type of this IColor.

float Derm.Render.ColorY16.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