picogl.buffers.abstract

Abstract render atoms_buffers class

Classes

AbstractVertexGroup

Public façade

Module Contents

class picogl.buffers.abstract.AbstractVertexGroup[source]

Bases: abc.ABC

Public façade

abstract bind() None[source]

Bind the underlying VAO/state for rendering.

abstract unbind() None[source]

Optionally unbind the VAO/state.

abstract delete() None[source]

Release resources (VAO or equivalent).

abstract set_layout(layout: picogl.buffers.attributes.LayoutDescriptor) None[source]

Define the attribute layout for this VAO/group.

abstract attach_buffers(nbo=None, cbo=None, vbo=None, ebo=None) None[source]

Attach the buffers that the VAO/group should coordinate.