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 HwPrimvar_1
 "HwPrimvar_1" More...
 
const TfToken HwPtexTexture_1
 "HwPtexTexture_1" More...
 
const TfToken HwUvTexture_1
 "HwUvTexture_1" More...
 
const TfToken displayLookBxdf
 "displayLook:bxdf" More...
 
const TfToken infoFilename
 "info:filename" More...
 
const TfToken infoVarname
 "info:varname" More...
 
const TfToken textureMemory
 "textureMemory" More...
 
const TfToken frame
 "frame" More...
 
const TfToken uv
 "uv" More...
 
const TfToken wrapS
 "wrapS" More...
 
const TfToken wrapT
 "wrapT" More...
 
const TfToken black
 "black" More...
 
const TfToken clamp
 "clamp" More...
 
const TfToken mirror
 "mirror" More...
 
const TfToken repeat
 "repeat" More...
 
const TfToken useMetadata
 "useMetadata" More...
 
const TfToken magFilter
 "magFilter" More...
 
const TfToken minFilter
 "minFilter" More...
 
const TfToken linearMipmapLinear
 "linearMipmapLinear" More...
 
const TfToken linearMipmapNearest
 "linearMipmapNearest" More...
 
const TfToken nearestMipmapNearest
 "nearestMipmapNearest" More...
 
const TfToken linear
 "linear" More...
 
const TfToken nearest
 "nearest" More...
 
const TfToken nearestMipmapLinear
 "nearestMipmapLinear" More...
 
const TfToken faceIndex
 "faceIndex" More...
 
const TfToken faceOffset
 "faceOffset" 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 were auto-generated from the deprecated UsdHydra schemas. They represent property names, shader input names and associated values. The schemas have been deleted, but these tokens are being kept alive to assist with the gradual transition to the new style hydra shaders that are based off of the new shader registry.

Definition at line 56 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 221 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 125 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 132 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 79 of file tokens.h.

const TfToken UsdHydraTokensType::faceIndex

"faceIndex"

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

Definition at line 213 of file tokens.h.

const TfToken UsdHydraTokensType::faceOffset

"faceOffset"

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

Definition at line 218 of file tokens.h.

const TfToken UsdHydraTokensType::frame

"frame"

A shader input on a "Texture" shader.

Definition at line 100 of file tokens.h.

const TfToken UsdHydraTokensType::HwPrimvar_1

"HwPrimvar_1"

The id value of a Primvar shader.

Definition at line 62 of file tokens.h.

const TfToken UsdHydraTokensType::HwPtexTexture_1

"HwPtexTexture_1"

The id value of a PtexTexture shader.

Definition at line 67 of file tokens.h.

const TfToken UsdHydraTokensType::HwUvTexture_1

"HwUvTexture_1"

The id value of a UvTexture shader.

Definition at line 72 of file tokens.h.

const TfToken UsdHydraTokensType::infoFilename

"info:filename"

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

Definition at line 85 of file tokens.h.

const TfToken UsdHydraTokensType::infoVarname

"info:varname"

Definition at line 90 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 UvTexture shader.

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

const TfToken UsdHydraTokensType::magFilter

"magFilter"

An input on a UvTexture shader.

Definition at line 163 of file tokens.h.

const TfToken UsdHydraTokensType::minFilter

"minFilter"

An input on a UvTexture shader.

Definition at line 168 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 140 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 201 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 208 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 186 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 148 of file tokens.h.

const TfToken UsdHydraTokensType::textureMemory

"textureMemory"

A shader input on a hydra Texture shader.

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

const TfToken UsdHydraTokensType::uv

"uv"

A shader input on a hydra UvTexture shader.

Definition at line 105 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 111 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 117 of file tokens.h.


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