lookup


Description:

public bool lookup (uint16 idx, out uint16 red, out uint16 green, out uint16 blue)

Lookup the RGB values associated with the colour map entry at position idx

Parameters:

this

the color map object

idx

the index to set

red

pointer to hold the red value

green

pointer to hold the green value

blue

pointer to hold the blue value

Returns:

TRUE if idx was in range, FALSE otherwise