Scaleform::Render::Cxform
class Cxform;
Cxform is a color transform class that modifies all pixels being rendered. This is not a full color matrix, instead, this class consists of a multiplicative component used to scale the incoming color and an additive one used to brighten it up.
The transform is stored within M 2x4 array component, accessed as M[0 for multiply or 1 for add][RGBA channel 0 to 4]. Multiply factors range from 0 to 1, while additive factors range from 0 to 255.
Enumeration |
Description |
Specifies that the cxform should not be initialized to identity upon construction. |
Method |
Description |
Appends the color transformation matrix by multiplying the specified Cxform object by the current Cxform object. | |
Non-optimized version of Append. | |
Constructs Cxform object, initializing it to identity color transformation. | |
Copies the color transformation matrix into an array of floats. | |
Copies the color transformation matrix into aligned array of floats. | |
Non-optimized version of GetAsFloat2x4Aligned. | |
Determines if the Cxform is identity color transformation matrix. | |
Creates a normalized color transformation matrix. | |
A non-optimized version of Normalize. | |
An optimized version of Normalize. | |
Prepend a color transform matrix onto this current matrix by multiplying the current matrix by the passed Cxform object. | |
A non-optimized version of Prepend. | |
Disables blending when not required. | |
Sets the Cxform object to identity color transformation matrix. | |
Initializes this matrix to the result of c0.Append(c1). | |
A non-optimized version of SetToAppend. | |
Applies a color transform to a specified color. |
Render_CxForm.h