PyGfxObj Class Reference

Inherits ost::gfx::GfxObj.

Public Member Functions

def __init__
def InitGL
def CustomPreRenderGL
def CustomRenderGL

Detailed Description

Definition at line 22 of file py_gfx_obj.py.


Member Function Documentation

def __init__ (   self,
  name 
)
requires a unique name not yet utilized in the Scene;
do not place OpenGL calls in the ctor, use InitGL for
that purpose

Definition at line 23 of file py_gfx_obj.py.

def CustomPreRenderGL (   self,
  rebuild 
)
called just before CustomRenderGL is called; the flag
indicates that a rebuild is required or was requested

Definition at line 57 of file py_gfx_obj.py.

def CustomRenderGL (   self,
  render_pass 
)
called for each scene refresh

Definition at line 74 of file py_gfx_obj.py.

def InitGL (   self  ) 
called once for each OpenGL context (usually one time),
allows one-time OpenGL initialization to be implemented,
such as vbo allocation

Definition at line 39 of file py_gfx_obj.py.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 1 Mar 2018 for OpenStructure by  doxygen 1.6.1