PrevUpHomeNext

DSA vertex arrays

#include <oglplus/dsa/vertex_array.hpp>

Operations with direct state access

template <>
class ObjectOps<tag::DirectState, tag::VertexArray>
 : public ObjZeroOps<tag::DirectState, tag::VertexArray> 1
{
public:
	ObjectOps& ElementBuffer(BufferName buffer); 2

	ObjectOps& EnableVertexAttrib(VertexAttribSlot location); 3

	ObjectOps& DisableVertexAttrib(VertexAttribSlot location); 4
};

1

Indirectly inherits from ObjCommonOps<tag::VertexArray>.

2

Bind buffer to this VAO's element buffer binding point. See glVertexArrayElementBuffer.

3

Disable the specified vertex attribute array. See glEnableVertexArrayAttrib.

4

Enable the specified vertex attribute array. See glDisableVertexArrayAttrib.

Definition

typedef ObjectOps<tag::DirectState, tag::VertexArray>
	DSAVertexArrayOps;

typedef Object<DSAVertexArrayOps> DSAVertexArray;

PrevUpHomeNext