Blender V5.3
util.cpp File Reference
#include "hydra/util.h"
#include "scene/attribute.h"
#include <pxr/base/gf/vec2f.h>
#include <pxr/base/gf/vec3f.h>
#include <pxr/base/gf/vec4f.h>
#include <pxr/base/vt/array.h>
#include <pxr/imaging/hd/primvarSchema.h>
#include <pxr/imaging/hd/renderIndex.h>
#include <pxr/imaging/hd/sceneDelegate.h>
#include <pxr/imaging/hd/tokens.h>

Go to the source code of this file.

Functions

HDCYCLES_NAMESPACE_OPEN_SCOPE HdSceneIndexPrim GetPrim (HdSceneDelegate *delegate, const SdfPath &id)
VtValue ReadPrimvar (const HdPrimvarsSchema &primvars, const TfToken &name)
HdInterpolation ReadPrimvarInterpolation (const HdPrimvarsSchema &primvars, const TfToken &name)
TfToken ReadPrimvarRole (const HdPrimvarsSchema &primvars, const TfToken &name)
TfTokenVector PrimvarNamesAtInterpolation (const HdPrimvarsSchema &primvars, HdInterpolation interpolation)
void ApplyPrimvars (AttributeSet &attributes, const ustring &name, VtValue value, AttributeElement elem, AttributeStandard std)

Function Documentation

◆ ApplyPrimvars()

◆ GetPrim()

◆ PrimvarNamesAtInterpolation()

TfTokenVector PrimvarNamesAtInterpolation ( const HdPrimvarsSchema & primvars,
HdInterpolation interpolation )

◆ ReadPrimvar()

VtValue ReadPrimvar ( const HdPrimvarsSchema & primvars,
const TfToken & name )

Definition at line 32 of file hydra/util.cpp.

References ReadPrimvar().

Referenced by ReadPrimvar(), and ReadPrimvar().

◆ ReadPrimvarInterpolation()

HdInterpolation ReadPrimvarInterpolation ( const HdPrimvarsSchema & primvars,
const TfToken & name )

◆ ReadPrimvarRole()

TfToken ReadPrimvarRole ( const HdPrimvarsSchema & primvars,
const TfToken & name )

Definition at line 72 of file hydra/util.cpp.

References ReadPrimvarRole().

Referenced by ReadPrimvarRole(), and ReadPrimvarRole().