AttributeParameters

The tuple of parameters for glVertexAttribPointer that specify the type information.

The parameters are:

  • The size of the matrix/vector, or 1 for single elements.
  • The type of the elements. (One of GL_FLOAT, GL_INT, etc.)
  • Whether the integral type is normalized (true) or not (false).
  • The stride, the distance in bytes to the next element.
  • The offset from the beginning of the buffer.

You should check the documentation of glVertexAttribPointer for their details.

alias AttributeParameters = TypeTuple!(GLint, GLenum, bool, GLsizei, const(void)*)

Meta