webgl-dsl
    Preparing search index...

    Class ElementsBuffer

    Resource that have to be destroyed manually (textures, tuffers, etc.)

    Implements

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    • Parameters

      • gl: Gl
      • data: null | number[] | Uint8Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> = null
      • usage: BufferUsage = BufferUsage.Dynamic
        BufferUsage.Dynamic
        

      Returns ElementsBuffer

    Properties

    gl: Gl
    handle: WebGLBuffer

    Accessors

    Methods

    • Parameters

      • data: number[] | Uint8Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike>

      Returns ElementsBuffer