24#ifndef PXR_BASE_GF_GAMMA_H
25#define PXR_BASE_GF_GAMMA_H
28#include "pxr/base/gf/api.h"
33PXR_NAMESPACE_OPEN_SCOPE
104PXR_NAMESPACE_CLOSE_SCOPE
Basic type for a vector of 3 double components.
Basic type for a vector of 3 float components.
Basic type for a vector of 3 GfHalf components.
Basic type for a vector of 4 double components.
Basic type for a vector of 4 float components.
Basic type for a vector of 4 GfHalf components.
GF_API double GfGetDisplayGamma()
Return the system display gamma.
GF_API GfVec3f GfConvertLinearToDisplay(const GfVec3f &v)
Given a vec, v, representing an energy-linear RGB(A) color, return a vec of the same type converted t...
GF_API GfVec3f GfConvertDisplayToLinear(const GfVec3f &v)
Given a vec, v, representing an RGB(A) color in the system's display gamma space, return an energy-li...
GF_API GfVec3f GfApplyGamma(const GfVec3f &v, double gamma)
Return a new vector with each component of v raised to the power gamma.