ClanSoft logo
ClanSoft logo

    CL_Color::get_color

Syntax

static unsigned int get_color(
        CL_Target* target,
        float r,
        float g,
        float b,
        float a=1.0);

Parameters

target-pointer to the target
r-the red value as a floating point
g-the green value as a floating point
b-the blue value as a floating point

Description

Returns the color value for the specified red, blue and green floating point componentsin the same pixel format as the target.


Back to index



This page was built using the Perceps documentation system.