ElementBuffer.this

Initualizes the buffer and sets data.

  1. this()
  2. this(T data, GLenum hint)
    class ElementBuffer
    this
    (
    T
    )
    (
    const auto ref T data
    ,
    GLenum hint = GL_STATIC_DRAW
    )
    if (
    isArray!T
    )
  3. this(T ptr, size_t size, GLenum hint)

Meta