Home -> ReadOnlyVertexAttribute -> Constructor
Description
The ReadOnlyVertexAttribute constructor creates an empty read-only attribute object. The object does not describe usable data until it has been populated by calling VertexAttribute.BuildReadOnlyAttribute on an existing bound attribute.
Read-only attributes are intended to expose an existing buffer binding without allowing the attribute object to perform data upload or update operations.
Usage
ReadOnlyVertexAttribute();