HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
XUSD_ShaderRegistry Class Reference

#include <XUSD_ShaderRegistry.h>

Static Public Member Functions

static bool getShaderInputNames (const UsdPrim &prim, UT_StringArray &input_names)
 
static bool getShaderInputInfo (const UsdPrim &prim, const UT_StringRef &input_name, SdfValueTypeName *type=nullptr, VtValue *default_value=nullptr, UT_StringHolder *label=nullptr)
 

Detailed Description

Definition at line 32 of file XUSD_ShaderRegistry.h.

Member Function Documentation

static bool XUSD_ShaderRegistry::getShaderInputInfo ( const UsdPrim prim,
const UT_StringRef input_name,
SdfValueTypeName type = nullptr,
VtValue default_value = nullptr,
UT_StringHolder label = nullptr 
)
static

Obtains information about the given shader primitive input.

Returns
True on success, false otherwise.
static bool XUSD_ShaderRegistry::getShaderInputNames ( const UsdPrim prim,
UT_StringArray input_names 
)
static

Obtains shader input names from the given primitive, if that primitive is a shader.

Returns
True on success, false otherwise.

The documentation for this class was generated from the following file: