It derives from <GskRenderNode>.
A render node controlling the color matrix of its single child node.
Gets the child node that is getting its colors modified by the given self.
Passed: a <GskColorMatrixNode>.
a color matrix <GskRenderNode>
Returned: a <GskRenderNode>.
The child that is getting its colors modified
Retrieves the color matrix used by the self.
Passed: a <GskColorMatrixNode>.
a color matrix <GskRenderNode>
Returned: a <GrapheneMatrix>.
a 4x4 color matrix
Retrieves the color offset used by the self.
Passed: a <GskColorMatrixNode>.
a color matrix <GskRenderNode>
Returned: a <GrapheneVec4>.
a color vector
Creates a <GskRenderNode> that will drawn the
child with color-matrix.
In particular, the node will transform colors by applying
pixel = transpose(color_matrix) * pixel + color_offset
for every pixel. The transformation operates on unpremultiplied colors, with color components ordered R, G, B, A.
Passed: a <GskRenderNode>.
The node to draw
Passed: a <GrapheneMatrix>.
The matrix to apply
Passed: a <GrapheneVec4>.
Values to add to the color
Returned: a <GskColorMatrixNode>.
A new <GskRenderNode>