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 getClassType() TypeHandle
setSize(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.