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

#include <tokens.h>

Public Member Functions

USDHYDRA_API UsdHydraTokensType ()
 

Public Attributes

const TfToken black
 "black" More...
 
const TfToken clamp
 "clamp" More...
 
const TfToken displayLookBxdf
 "displayLook:bxdf" More...
 
const TfToken faceIndex
 "faceIndex" More...
 
const TfToken faceOffset
 "faceOffset" More...
 
const TfToken frame
 "frame" More...
 
const TfToken HwPrimvar_1
 "HwPrimvar_1" More...
 
const TfToken HwPtexTexture_1
 "HwPtexTexture_1" More...
 
const TfToken HwUvTexture_1
 "HwUvTexture_1" More...
 
const TfToken hydraGenerativeProcedural
 "hydraGenerativeProcedural" More...
 
const TfToken infoFilename
 "inputs:file" More...
 
const TfToken infoVarname
 "inputs:varname" More...
 
const TfToken linear
 "linear" More...
 
const TfToken linearMipmapLinear
 "linearMipmapLinear" More...
 
const TfToken linearMipmapNearest
 "linearMipmapNearest" More...
 
const TfToken magFilter
 "magFilter" More...
 
const TfToken minFilter
 "minFilter" More...
 
const TfToken mirror
 "mirror" More...
 
const TfToken nearest
 "nearest" More...
 
const TfToken nearestMipmapLinear
 "nearestMipmapLinear" More...
 
const TfToken nearestMipmapNearest
 "nearestMipmapNearest" More...
 
const TfToken primvarsHdGpProceduralType
 "primvars:hdGp:proceduralType" More...
 
const TfToken proceduralSystem
 "proceduralSystem" More...
 
const TfToken repeat
 "repeat" More...
 
const TfToken textureMemory
 "textureMemory" More...
 
const TfToken useMetadata
 "useMetadata" More...
 
const TfToken uv
 "uv" More...
 
const TfToken wrapS
 "wrapS" More...
 
const TfToken wrapT
 "wrapT" More...
 
const TfToken HydraGenerativeProceduralAPI
 "HydraGenerativeProceduralAPI" More...
 
const std::vector< TfTokenallTokens
 A vector of all of the tokens listed above. More...
 

Detailed Description

UsdHydraTokens provides static, efficient TfTokens for use in all public USD API.

These tokens are auto-generated from the module's schema, representing property names, for when you need to fetch an attribute or relationship directly by name, e.g. UsdPrim::GetAttribute(), in the most efficient manner, and allow the compiler to verify that you spelled the name correctly.

UsdHydraTokens also contains all of the allowedTokens values declared for schema builtin attributes of 'token' scene description type. Use UsdHydraTokens like so:

gprim.GetMyTokenValuedAttr().Set(UsdHydraTokens->black);

Definition at line 46 of file tokens.h.

Constructor & Destructor Documentation

USDHYDRA_API UsdHydraTokensType::UsdHydraTokensType ( )

Member Data Documentation

const std::vector<TfToken> UsdHydraTokensType::allTokens

A vector of all of the tokens listed above.

Definition at line 169 of file tokens.h.

const TfToken UsdHydraTokensType::black

"black"

Possible value for "wrapT" and "wrapS" inputs on a "UvTexture" shader prim. Causes black to be returned when sampling outside the bounds of the texture.

Definition at line 51 of file tokens.h.

const TfToken UsdHydraTokensType::clamp

"clamp"

Possible value for "wrapT" and "wrapS" inputs on a "UvTexture" shader prim. Causes the the texture coordinate to be clamped to [0,1].

Definition at line 55 of file tokens.h.

const TfToken UsdHydraTokensType::displayLookBxdf

"displayLook:bxdf"

deprecated This has been deprecated in favor of the glslfx:surface output. Relationship on a material that targets the "bxdf" or the surface shader prim.

Definition at line 59 of file tokens.h.

const TfToken UsdHydraTokensType::faceIndex

"faceIndex"

The "faceIndex" shader input on a hydra "PtexTexture" shader.

Definition at line 63 of file tokens.h.

const TfToken UsdHydraTokensType::faceOffset

"faceOffset"

The "faceOffset" shader input on a hydra "PtexTexture" shader.

Definition at line 67 of file tokens.h.

const TfToken UsdHydraTokensType::frame

"frame"

A shader input on a "Texture" shader.

Definition at line 71 of file tokens.h.

const TfToken UsdHydraTokensType::HwPrimvar_1

"HwPrimvar_1"

The id value of a Primvar shader.

Definition at line 75 of file tokens.h.

const TfToken UsdHydraTokensType::HwPtexTexture_1

"HwPtexTexture_1"

The id value of a PtexTexture shader.

Definition at line 79 of file tokens.h.

const TfToken UsdHydraTokensType::HwUvTexture_1

"HwUvTexture_1"

The id value of a UvTexture shader.

Definition at line 83 of file tokens.h.

const TfToken UsdHydraTokensType::hydraGenerativeProcedural

"hydraGenerativeProcedural"

Fallback value for UsdHydraGenerativeProceduralAPI::GetProceduralSystemAttr()

Definition at line 87 of file tokens.h.

const TfToken UsdHydraTokensType::HydraGenerativeProceduralAPI

"HydraGenerativeProceduralAPI"

Schema identifer and family for UsdHydraGenerativeProceduralAPI

Definition at line 167 of file tokens.h.

const TfToken UsdHydraTokensType::infoFilename

"inputs:file"

The special "info:filename" property of a hydra Texture shader, which points to a resolvable texture asset.

Definition at line 91 of file tokens.h.

const TfToken UsdHydraTokensType::infoVarname

"inputs:varname"

Definition at line 95 of file tokens.h.

const TfToken UsdHydraTokensType::linear

"linear"

A weighted linear blend of nearest adjacent samples. Possible value for "minFilter" and "magFilter" inputs on a UvTextureshader.

Definition at line 99 of file tokens.h.

const TfToken UsdHydraTokensType::linearMipmapLinear

"linearMipmapLinear"

See https://www.opengl.org/wiki/Sampler_Object , Possible value for the "minFilter" input on a UvTexture shader.

Definition at line 103 of file tokens.h.

const TfToken UsdHydraTokensType::linearMipmapNearest

"linearMipmapNearest"

See https://www.opengl.org/wiki/Sampler_Object Possible value for the "minFilter" input on a UvTexture shader.

Definition at line 107 of file tokens.h.

const TfToken UsdHydraTokensType::magFilter

"magFilter"

An input on a UvTexture shader.

Definition at line 111 of file tokens.h.

const TfToken UsdHydraTokensType::minFilter

"minFilter"

An input on a UvTexture shader.

Definition at line 115 of file tokens.h.

const TfToken UsdHydraTokensType::mirror

"mirror"

Possible value for "wrapT" and "wrapS" inputs on a "UvTexture" shader prim. Causes the texture coordinate to wrap around like a mirror. -0.2 becomes 0.2, -1.2 becomes 0.8, etc. ,

Definition at line 119 of file tokens.h.

const TfToken UsdHydraTokensType::nearest

"nearest"

Selects the nearest sample for the given coordinate Possible value for "minFilter" and "magFilter" inputs on a UvTexture shader.

Definition at line 123 of file tokens.h.

const TfToken UsdHydraTokensType::nearestMipmapLinear

"nearestMipmapLinear"

See https://www.opengl.org/wiki/Sampler_Object Possible value for "minFilter" and "magFilter" inputs on a UvTexture shader.

Definition at line 127 of file tokens.h.

const TfToken UsdHydraTokensType::nearestMipmapNearest

"nearestMipmapNearest"

See https://www.opengl.org/wiki/Sampler_Object Possible value for the "minFilter" input on a UvTexture shader.

Definition at line 131 of file tokens.h.

const TfToken UsdHydraTokensType::primvarsHdGpProceduralType

"primvars:hdGp:proceduralType"

UsdHydraGenerativeProceduralAPI

Definition at line 135 of file tokens.h.

const TfToken UsdHydraTokensType::proceduralSystem

"proceduralSystem"

UsdHydraGenerativeProceduralAPI

Definition at line 139 of file tokens.h.

const TfToken UsdHydraTokensType::repeat

"repeat"

Possible value for "wrapT" and "wrapS" inputs on a "UvTexture" shader prim. Causes the texture coordinate to wrap around the texture. So a texture coordinate of -0.2 becomes the equivalent of 0.8.

Definition at line 143 of file tokens.h.

const TfToken UsdHydraTokensType::textureMemory

"textureMemory"

A shader input on a hydra Texture shader.

Definition at line 147 of file tokens.h.

const TfToken UsdHydraTokensType::useMetadata

"useMetadata"

Possible value for "wrapT" and "wrapS" inputs on a "UvTexture" shader prim. Causes the wrap value to be loaded from the texture file instead of being specified in the prim. If the texture file doesn't support metadata or the metadata doesn't contain a wrap mode, the "black" wrap mode is used.

Definition at line 151 of file tokens.h.

const TfToken UsdHydraTokensType::uv

"uv"

A shader input on a hydra UvTexture shader.

Definition at line 155 of file tokens.h.

const TfToken UsdHydraTokensType::wrapS

"wrapS"

A shader input on a hydra UvTexture shader which defines the behavior of texture coordinates that are outside the bounds of the texture.

Definition at line 159 of file tokens.h.

const TfToken UsdHydraTokensType::wrapT

"wrapT"

A shader input on a hydra UvTexture shader which defines the behavior of texture coordinates that are outside the bounds of the texture.

Definition at line 163 of file tokens.h.


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