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
-
static TypeHandle
get_class_type
(void)¶
-
virtual void
set_size
(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.
-
static TypeHandle