GeomContext¶
from acron.core import GeomContext
- class GeomContext¶
Bases:
Bases:
SavedContextThis is a special class object that holds all the information returned by a particular GSG to indicate the geom’s internal context identifier.
Geoms typically have an immediate-mode and a retained-mode operation. When using geoms in retained-mode (in response to
Geom.prepare()), the GSG will create some internal handle for the geom and store it here. The geom stores all of these handles internally.In the case of OpenGL, for example, a GeomContext corresponds to a display list identifier.
Inheritance diagram
digraph inheritancecc30d6096b { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "GeomContext" [URL="acron.core.GeomContext.html#acron.core.GeomContext",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "SavedContext" -> "GeomContext" [arrowsize=0.75,style=""]; "SavedContext" [URL="acron.core.SavedContext.html#acron.core.SavedContext",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedObject" -> "SavedContext" [arrowsize=0.75,style=""]; "TypedObject" [URL="acron.core.TypedObject.html#acron.core.TypedObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "TypedObject" [arrowsize=0.75,style=""]; }- static get_class_type()¶
- get_geom()¶