osgViewer.Renderer

class osgViewer.Renderer
Represents

c++ class

Wraps

osgViewer::Renderer

Bases

osg.GraphicsOperation

Constructors:

osgViewer.Renderer(osg.Camera camera)

Параметры

camera (osg.Camera) –

Methods:

:setDone(bool done)

Параметры

done (bool) –

:getDone()

Тип результата

bool

:setGraphicsThreadDoesCull(bool flag)

Параметры

flag (bool) –

:getGraphicsThreadDoesCull()

Тип результата

bool

:cull()

:draw()

:cull_draw()

:compile()

:resizeGLObjectBuffers(unsigned maxSize)

Параметры

maxSize (unsigned) –

:releaseGLObjects(osg.State state)

Параметры

state (osg.State) –

:releaseGLObjects()

:setCompileOnNextDraw(bool flag)

Параметры

flag (bool) –

:getCompileOnNextDraw()

Тип результата

bool

:release()

:reset()

:setCameraRequiresSetUp(bool flag)

Force update of state associated with cameras.

Параметры

flag (bool) –

:getCameraRequiresSetUp()

Тип результата

bool