All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UsdMtlxUsdTypeInfo Struct Reference

Result of UsdMtlxGetUsdType(). More...

#include <utils.h>

Public Member Functions

 UsdMtlxUsdTypeInfo (SdfValueTypeName valueTypeName, bool valueTypeNameIsExact, TfToken shaderPropertyType, int arraySize=0)

Public Attributes

SdfValueTypeName valueTypeName
TfToken shaderPropertyType
int arraySize
bool valueTypeNameIsExact

Detailed Description

Result of UsdMtlxGetUsdType().

Definition at line 115 of file utils.h.

Constructor & Destructor Documentation

UsdMtlxUsdTypeInfo::UsdMtlxUsdTypeInfo ( SdfValueTypeName  valueTypeName,
bool  valueTypeNameIsExact,
TfToken  shaderPropertyType,
int  arraySize = 0 

Definition at line 116 of file utils.h.

Member Data Documentation

int UsdMtlxUsdTypeInfo::arraySize

If the value type is a fixed-size array/tuple, this will be greater then zero. For "dynamic arrays" this will be zero.

Definition at line 138 of file utils.h.

TfToken UsdMtlxUsdTypeInfo::shaderPropertyType

The exact SdrShaderProperty type name. If there is no exact match this is empty.

Definition at line 134 of file utils.h.

SdfValueTypeName UsdMtlxUsdTypeInfo::valueTypeName

The value type name that most closely matches the MaterialX type. If the type isn't recognized this is the invalid value type name. Clients can check for array types by calling IsArray() on this.

Definition at line 130 of file utils.h.

bool UsdMtlxUsdTypeInfo::valueTypeNameIsExact

true iff the value type name is an exact match to the MaterialX type.

Definition at line 142 of file utils.h.

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