An offscreen buffer for rendering into. This is similar in function to a GraphicsWindow, except that the output is not visible to the user.
setSize(x: int, y: int) → None¶
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.