Class VertexDataAttribute
Declares the attribute as vertex data which can be made available to the shader at render time and enables repteated value compression.
Inherited Members
System.Attribute.System.Runtime.InteropServices._Attribute.GetTypeInfoCount(System.UInt32)
System.Attribute.System.Runtime.InteropServices._Attribute.GetTypeInfo(System.UInt32, System.UInt32, System.IntPtr)
System.Attribute.System.Runtime.InteropServices._Attribute.GetIDsOfNames(System.Guid, System.IntPtr, System.UInt32, System.UInt32, System.IntPtr)
System.Attribute.System.Runtime.InteropServices._Attribute.Invoke(System.UInt32, System.Guid, System.UInt32, System.Int16, System.IntPtr, System.IntPtr, System.IntPtr, System.IntPtr)
Namespace: USD.NET
Syntax
public class VertexDataAttribute : Attribute, _Attribute
Remarks
This declaration is not needed for round-trip C# serialization, however it formats the USD file so that it can be rendered outside of C#.
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
Type | Description |
---|---|
TfToken |
Properties
ElementSize
Declaration
public int ElementSize { get; set; }
Property Value
Type | Description |
---|---|
Int32 |