GraphicsBuffer

from panda3d.core import GraphicsBuffer
class GraphicsBuffer

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

__init__(*args, **kwargs)
getClassType()

C++ Interface: get_class_type()

get_class_type()

C++ Interface: get_class_type()

setSize()

C++ Interface: set_size(const GraphicsBuffer self, int x, int y)

/**
  • 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.

*/

set_size()

C++ Interface: set_size(const GraphicsBuffer self, int x, int y)

/**
  • 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.

*/