docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class BufferViewBase

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

    Inheritance
    object
    NamedObject
    BufferViewBase
    BufferViewBase<TExtensions>
    Implements
    IBufferView
    Inherited Members
    NamedObject.name
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: GLTFast.Schema
    Assembly: solution.dll
    Syntax
    [Serializable]
    public abstract class BufferViewBase : NamedObject, IBufferView

    Fields

    buffer

    The index of the buffer.

    Declaration
    public int buffer
    Field Value
    Type Description
    int

    byteLength

    The length of the bufferView in bytes.

    Declaration
    public int byteLength
    Field Value
    Type Description
    int

    byteOffset

    The offset into the buffer in bytes.

    Declaration
    public int byteOffset
    Field Value
    Type Description
    int

    byteStride

    The stride, in bytes, between vertex attributes or other interleaved data. When this is zero, data is tightly packed.

    Declaration
    public int byteStride
    Field Value
    Type Description
    int

    target

    The target that the WebGL buffer should be bound to. All valid values correspond to WebGL enums. When this is not provided, the bufferView contains animation or skin data.

    Declaration
    public int target
    Field Value
    Type Description
    int

    Properties

    Buffer

    The index of the buffer.

    Declaration
    public int Buffer { get; }
    Property Value
    Type Description
    int

    ByteLength

    The length of the bufferView in bytes.

    Declaration
    public int ByteLength { get; }
    Property Value
    Type Description
    int

    ByteOffset

    The offset into the buffer in bytes.

    Declaration
    public int ByteOffset { get; }
    Property Value
    Type Description
    int

    Extensions

    BufferView extensions

    Declaration
    public abstract BufferViewExtensions Extensions { get; }
    Property Value
    Type Description
    BufferViewExtensions
    See Also
    https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#reference-bufferview

    Implements

    IBufferView
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)