MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenColorIO / setRGBA

Method setRGBA

src/OpenColorIO/ops/matrix/MatrixOpData.cpp:62–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60
61template<typename T>
62void MatrixOpData::Offsets::setRGBA(const T * v4)
63{
64 if (!v4)
65 {
66 throw Exception("Matrix: setRGBA NULL pointer.");
67 }
68
69 m_values[0] = double(v4[0]);
70 m_values[1] = double(v4[1]);
71 m_values[2] = double(v4[2]);
72 m_values[3] = double(v4[3]);
73}
74
75template void MatrixOpData::Offsets::setRGBA(const float * v4);
76template void MatrixOpData::Offsets::setRGBA(const double * v4);

Callers 9

getSimplerReplacementMethod · 0.80
MatrixOffsetOpMethod · 0.80
CreateMatrixOffsetOpFunction · 0.80
setRGBAOffsetsMethod · 0.80
getAsForwardMethod · 0.80
setMatrixMethod · 0.80
build_vonkries_adaptFunction · 0.80
OCIO_ADD_TESTFunction · 0.80
OCIO_ADD_TESTFunction · 0.80

Calls

no outgoing calls

Tested by 2

OCIO_ADD_TESTFunction · 0.64
OCIO_ADD_TESTFunction · 0.64