Panda3D

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Static Public Member Functions

# GraphicsBuffer Class Reference

An offscreen buffer for rendering into. More...

Inheritance diagram for GraphicsBuffer:

List of all members.

## Public Member Functions
| setSize (int x, int y)
| This is called by the GraphicsEngine to request that the buffer resize itself.
## Static Public Member Functions
static TypeHandle | getClassType ()

## Detailed Description

An offscreen buffer for rendering into.

This is similar in function to a GraphicsWindow, except that the output is not visible to the user.

## Member Function Documentation

static TypeHandle getClassType | ( |  | ) | `[static]`

Reimplemented from GraphicsOutput.

setSize | ( | 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.

All Classes Namespaces Functions Variables Enumerations Enumerator Properties