Blender V5.0
usd_reader_domelight.cc File Reference
#include "usd_reader_domelight.hh"
#include "usd_light_convert.hh"
#include <pxr/usd/usdLux/domeLight.h>
#include <pxr/usd/usdLux/domeLight_1.h>
#include <pxr/usd/usdLux/tokens.h>

Go to the source code of this file.

Namespaces

namespace  usdtokens
namespace  blender
namespace  blender::io
namespace  blender::io::usd

Functions

static const pxr::TfToken usdtokens::color ("color", pxr::TfToken::Immortal)
static const pxr::TfToken usdtokens::intensity ("intensity", pxr::TfToken::Immortal)
static const pxr::TfToken usdtokens::texture_file ("texture:file", pxr::TfToken::Immortal)
static const pxr::TfToken usdtokens::pole_axis ("poleAxis", pxr::TfToken::Immortal)
template<typename T>
static bool blender::io::usd::get_authored_value (const pxr::UsdAttribute &attr, const pxr::UsdTimeCode time, const pxr::UsdPrim &prim, const pxr::TfToken fallback_attr_name, T *r_value)
template<typename T>
static float blender::io::usd::get_intensity (const T &dome_light, const pxr::UsdTimeCode time)
template<typename T>
static bool blender::io::usd::get_tex_path (const T &dome_light, const pxr::UsdTimeCode time, pxr::SdfAssetPath *tex_path)
template<typename T>
static bool blender::io::usd::get_color (const T &dome_light, const pxr::UsdTimeCode time, pxr::GfVec3f *color)
static pxr::TfToken blender::io::usd::get_pole_axis (const pxr::UsdLuxDomeLight_1 &dome_light, const pxr::UsdTimeCode time)