Class VertexDataAttribute
Declares the attribute as vertex data which can be made available to the shader at render
time and enables repteated value compression.
Inheritance
VertexDataAttribute
Syntax
public class VertexDataAttribute : Attribute, _Attribute
Constructors
VertexDataAttribute()
Declaration
public VertexDataAttribute()
VertexDataAttribute(Int32)
Declaration
public VertexDataAttribute(int elementSize)
Parameters
| Type |
Name |
Description |
| Int32 |
elementSize |
|
Fields
Interpolation
Declaration
public static TfToken Interpolation
Field Value
Properties
ElementSize
Declaration
public int ElementSize { get; set; }
Property Value