HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
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
10
/// \file usdLux/blackbody.h
11
12
#include "
pxr/usd/usdLux/api.h
"
13
#include "
pxr/base/gf/vec3f.h
"
14
15
PXR_NAMESPACE_OPEN_SCOPE
16
17
/// Compute the RGB equivalent of the spectrum emitted by a blackbody
18
/// with the given temperature in degrees Kelvin, with normalized
19
/// luminance.
20
USDLUX_API
21
GfVec3f
UsdLuxBlackbodyTemperatureAsRgb
(
float
colorTemp);
22
23
PXR_NAMESPACE_CLOSE_SCOPE
24
25
#endif
GfVec3f
Definition:
vec3f.h:45
USDLUX_API
#define USDLUX_API
Definition:
api.h:23
UsdLuxBlackbodyTemperatureAsRgb
PXR_NAMESPACE_OPEN_SCOPE USDLUX_API GfVec3f UsdLuxBlackbodyTemperatureAsRgb(float colorTemp)
api.h
PXR_NAMESPACE_OPEN_SCOPE
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition:
path.h:1425
PXR_NAMESPACE_CLOSE_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition:
pxr.h:74
vec3f.h
pxr
usd
usdLux
blackbody.h
Generated on Wed Sep 3 2025 02:35:07 for HDK by
1.8.6