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 63 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 186 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 68 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 72 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 76 of file tokens.h.

const TfToken UsdHydraTokensType::faceIndex

"faceIndex"

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

Definition at line 80 of file tokens.h.

const TfToken UsdHydraTokensType::faceOffset

"faceOffset"

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

Definition at line 84 of file tokens.h.

const TfToken UsdHydraTokensType::frame

"frame"

A shader input on a "Texture" shader.

Definition at line 88 of file tokens.h.

const TfToken UsdHydraTokensType::HwPrimvar_1

"HwPrimvar_1"

The id value of a Primvar shader.

Definition at line 92 of file tokens.h.

const TfToken UsdHydraTokensType::HwPtexTexture_1

"HwPtexTexture_1"

The id value of a PtexTexture shader.

Definition at line 96 of file tokens.h.

const TfToken UsdHydraTokensType::HwUvTexture_1

"HwUvTexture_1"

The id value of a UvTexture shader.

Definition at line 100 of file tokens.h.

const TfToken UsdHydraTokensType::hydraGenerativeProcedural

"hydraGenerativeProcedural"

Fallback value for UsdHydraGenerativeProceduralAPI::GetProceduralSystemAttr()

Definition at line 104 of file tokens.h.

const TfToken UsdHydraTokensType::HydraGenerativeProceduralAPI

"HydraGenerativeProceduralAPI"

Schema identifer and family for UsdHydraGenerativeProceduralAPI

Definition at line 184 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 108 of file tokens.h.

const TfToken UsdHydraTokensType::infoVarname

"inputs:varname"

Definition at line 112 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 116 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 120 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 124 of file tokens.h.

const TfToken UsdHydraTokensType::magFilter

"magFilter"

An input on a UvTexture shader.

Definition at line 128 of file tokens.h.

const TfToken UsdHydraTokensType::minFilter

"minFilter"

An input on a UvTexture shader.

Definition at line 132 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 136 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 140 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 144 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 148 of file tokens.h.

const TfToken UsdHydraTokensType::primvarsHdGpProceduralType

"primvars:hdGp:proceduralType"

UsdHydraGenerativeProceduralAPI

Definition at line 152 of file tokens.h.

const TfToken UsdHydraTokensType::proceduralSystem

"proceduralSystem"

UsdHydraGenerativeProceduralAPI

Definition at line 156 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 160 of file tokens.h.

const TfToken UsdHydraTokensType::textureMemory

"textureMemory"

A shader input on a hydra Texture shader.

Definition at line 164 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 168 of file tokens.h.

const TfToken UsdHydraTokensType::uv

"uv"

A shader input on a hydra UvTexture shader.

Definition at line 172 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 176 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 180 of file tokens.h.


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