OpenGL-Sandbox
view release on metacpan or search on metacpan
lib/OpenGL/Sandbox/VertexArray.pm view on Meta::CPAN
=head2 prepared
Whether the L</prepare> step has happened.
=head1 METHODS
=head2 bind
$vertex_array->bind($program, $buffer);
Make the configuration of this vertex array active for drawing. This might cause a cascade of
effects, like binding buffers, loading buffers, binding the vertex array object, looking up
program attributes, and enabling and configuring the attributes. Steps which don't need
repeated won't be.
If C<$program> is not given, the current one will be used for any attribute-index lookups.
If C<$buffer> is not given, the current GL_VERTEX_ARRAY buffer will be used (unless an
attribute configuration specifies otherwise).
=head2 prepare
( run in 0.276 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )