Class BufferView

BufferView class

A view into a buffer generally representing a subset of the buffer.

public sealed class BufferView : LogicalChildOfRoot

Properties

NameDescription
ByteStride { get; }Gets the number of bytes between the beginnings of successive elements, or Zero.
Content { get; }Gets the actual bytes defined by this BufferView
Extensions { get; }Gets a collection of JsonSerializable instances.
Extras { get; set; }Gets or sets the extras content of this instance.
IsDataBuffer { get; }Gets a value indicating whether this BufferView defines a general purpose data buffer.
IsIndexBuffer { get; }Gets a value indicating whether this BufferView defines a GPU Ready Index Buffer.
IsVertexBuffer { get; }Gets a value indicating whether this BufferView defines a GPU Ready Vertex Buffer.
LogicalIndex { get; }Gets the zero-based index of this object in the Logical resources of GlbData.
LogicalParent { get; }Gets the GlbData instance that owns this object.
Name { get; set; }Gets or sets the display text name, or null.

Methods

NameDescription
FindAccessors()Finds all the accessors using this BufferView
FindImages()
GetExtension<T>()
IsInterleaved(IEnumerable<Accessor>)Checks if accessors use this buffer in interleaved arrangement
RemoveExtensions<T>()
RemoveExtensions<T>(T)
SetExtension<T>(T)
UseExtension<T>()

See Also