Note

You are browsing the documentation for an unreleased preview version of Panda3D. Click here to go to the latest released version.

GraphicsBuffer

from panda3d.core import GraphicsBuffer
class GraphicsBuffer

Bases:

Bases: GraphicsOutput

An offscreen buffer for rendering into. This is similar in function to a GraphicsWindow, except that the output is not visible to the user.

Inheritance diagram

Inheritance diagram of GraphicsBuffer

static get_class_type() TypeHandle
set_size(x: int, y: int)

This is called by the GraphicsEngine to request that the buffer resize itself. Although calls to get the size will return the new value, much of the actual resizing work doesn’t take place until the next begin_frame. Not all buffers are resizeable.