CL_TargaProvider::CL_TargaProvider
Syntax
CL_TargaProvider(
CL_String name,
CL_InputSourceProvider *provider,
bool transparent=false,
bool ignore_alphachannel=false,
unsigned char trans_red=0,
unsigned char trans_green=0,
unsigned char trans_blue=0);
Parameters
name | - | Name of the targa file to load. |
provider | - | Input source provider that delivers the targa file. |
transparent | - | True if a transparency color should be used. |
ignore_alphachannel | - | True if the alpha component should be ignored. |
trans_red | - | Red component of the transparency color. |
trans_green | - | Green component of the transparency color. |
trans_blue | - | blue component of the transparency color. |
Description
Constructs a surface provider that can read targa files.
Back to index
|