HDK
|
Go to the source code of this file.
Functions | |
HD_API HdCullStyle | HdInvertCullStyle (HdCullStyle cs) |
enum HdBlendFactor |
Abstraction of the Graphics blend factors.
enum HdBlendOp |
enum HdCompareFunction |
enum HdCullStyle |
Face culling options.
DontCare indicates this prim doesn't determine what should be culled. Any other CullStyle opinion will override this (such as from the viewer).
BackUnlessDoubleSided and FrontUnlessDoubleSided will only cull back or front faces if prim isn't marked as doubleSided.
Enumerator | |
---|---|
HdCullStyleDontCare | |
HdCullStyleNothing | |
HdCullStyleBack | |
HdCullStyleFront | |
HdCullStyleBackUnlessDoubleSided | |
HdCullStyleFrontUnlessDoubleSided |
enum HdDepthPriority |
enum HdInterpolation |
Enumerates Hydra's primvar interpolation modes.
Constant: One value remains constant over the entire surface primitive.
Uniform: One value remains constant for each uv patch segment of the surface primitive.
Varying: Four values are interpolated over each uv patch segment of the surface. Bilinear interpolation is used for interpolation between the four values.
Vertex: Values are interpolated between each vertex in the surface primitive. The basis function of the surface is used for interpolation between vertices.
Facevarying: For polygons and subdivision surfaces, four values are interpolated over each face of the mesh. Bilinear interpolation is used for interpolation between the four values.
Instance: One value remains constant across each instance.
Enumerator | |
---|---|
HdInterpolationConstant | |
HdInterpolationUniform | |
HdInterpolationVarying | |
HdInterpolationVertex | |
HdInterpolationFaceVarying | |
HdInterpolationInstance | |
HdInterpolationCount |
enum HdMeshGeomStyle |
enum HdPointsGeomStyle |
enum HdPolygonMode |
enum HdStencilOp |
|
strong |
Enumerates Hydra's supported texture types.
Uv: Sample the uv coordinates and accesses a single 2d texture.
Field: Transform coordinates by matrix before accessing a single 3d texture.
Ptex: Use the ptex connectivity information to sample a ptex texture.
Udim: Remap the uv coordinates into udim coordinates using a maximum tile width of 10 and sample all the udim tiles found in the file system.
Enumerator | |
---|---|
Uv | |
Field | |
Ptex | |
Udim |
HD_API HdCullStyle HdInvertCullStyle | ( | HdCullStyle | cs | ) |
Returns the opposite of the given cullstyle; backface culling becomes frontface and vice versa.