PrevUpHomeNext

Vertex arrays

#include <oglplus/vertex_array.hpp>

Common vertex array operations

template <>
class ObjCommonOps<tag::VertexArray>
 : public VertexArrayName
{
public:
	static VertexArrayName Binding(void); 1

	static void Bind(VertexArrayName vertex_array); 2
	void Bind(void) const; 3
};

1

Returns the currently bound vertex array. See glGet, GL_VERTEX_ARRAY_BINDING.

2

Binds the specified vertex_array object. See glBindVertexArray.

3

Binds the this vertex array object. See glBindVertexArray.

Definition

typedef ObjectOps<tag::ImplicitSel, tag::VertexArray> 1
	VertexArrayOps;

typedef Object<VertexArrayOps> VertexArray;

typedef ObjectZero<ObjZeroOps<tag::ImplicitSel, tag::VertexArray>> 2
	NoVertexArray;

1

Indirectly inherits from ObjCommonOps<tag::VertexArray>.

2

Indirectly inherits from ObjCommonOps<tag::VertexArray>.


PrevUpHomeNext