MCPcopy Create free account
hub / github.com/DentonW/DevIL / ILAPIENTRY ilKeyColour

Function ILAPIENTRY ilKeyColour

DevIL/src-IL/src/il_convert.cpp:666–674  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

664//ILfloat KeyRed = 0, KeyGreen = 0, KeyBlue = 0, KeyAlpha = 0;
665
666void ILAPIENTRY ilKeyColour(ILclampf Red, ILclampf Green, ILclampf Blue, ILclampf Alpha)
667{
668 ILfloat KeyRed = 0, KeyGreen = 0, KeyBlue = 0, KeyAlpha = 0;
669 KeyRed = Red;
670 KeyGreen = Green;
671 KeyBlue = Blue;
672 KeyAlpha = Alpha;
673 return;
674}
675
676
677// Adds an alpha channel to an 8 or 24-bit image,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected