This document is for a version of USD that is under development. See this page for the current release.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
blackbody.h
Go to the documentation of this file.
1//
2// Copyright 2016 Pixar
3//
4// Licensed under the terms set forth in the LICENSE.txt file available at
5// https://openusd.org/license.
6//
7#ifndef PXR_USD_USD_LUX_BLACKBODY_H
8#define PXR_USD_USD_LUX_BLACKBODY_H
9
11
12#include "pxr/usd/usdLux/api.h"
13#include "pxr/base/gf/vec3f.h"
14
15PXR_NAMESPACE_OPEN_SCOPE
16
20USDLUX_API
22
23PXR_NAMESPACE_CLOSE_SCOPE
24
25#endif
USDLUX_API GfVec3f UsdLuxBlackbodyTemperatureAsRgb(float colorTemp)
Compute the RGB equivalent of the spectrum emitted by a blackbody with the given temperature in degre...
Basic type for a vector of 3 float components.
Definition: vec3f.h:46