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

Method setPower

src/OpenColorIO/ops/cdl/CDLOpCPU.cpp:49–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49void RenderParams::setPower(float r, float g, float b)
50{
51 m_power[0] = r;
52 m_power[1] = g;
53 m_power[2] = b;
54 m_power[3] = 1.f;
55}
56
57void RenderParams::setSaturation(float sat)
58{

Callers 9

parse_lutsFunction · 0.45
transformMethod · 0.45
loadFunction · 0.45
test_powerMethod · 0.45
test_validate_powerMethod · 0.45
OCIO_ADD_GPU_TESTFunction · 0.45
OCIO_ADD_TESTFunction · 0.45
OCIO_ADD_TESTFunction · 0.45
OCIO_OSL_TESTFunction · 0.45

Calls

no outgoing calls

Tested by 6

test_powerMethod · 0.36
test_validate_powerMethod · 0.36
OCIO_ADD_GPU_TESTFunction · 0.36
OCIO_ADD_TESTFunction · 0.36
OCIO_ADD_TESTFunction · 0.36
OCIO_OSL_TESTFunction · 0.36