QuadPool

from acron.quads import QuadPool
class QuadPool(name: str, columns, max_quads: int, *, dynamic: bool = True)

Bases: object

max_quads quads in one buffer, with authored float32 columns.

columns follow the implied vertex column: (name, components) or (name, components, "texcoord") for a real texcoord column. All columns are float32, so stride is in float slots and view() hands back one row per vertex.

Inheritance diagram

digraph inheritance5332e8d3ba { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "QuadPool" [URL="acron.quads.QuadPool.html#acron.quads.QuadPool",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="``max_quads`` quads in one buffer, with authored float32 columns."]; }
property node: GeomNode

The GeomNode to attach (style, bin and shader are the caller’s).