GraphicsDevice

class GraphicsDevice

Bases: TypedReferenceCount

An abstract device object that is part of Graphics Pipe. This device is set to NULL for OpenGL. But DirectX uses it to take control of multiple windows under single device or multiple devices (i.e. more than one adapters in the machine).

Inheritance diagram

Inheritance diagram of GraphicsDevice

static TypeHandle get_class_type(void)
GraphicsPipe *get_pipe(void) const

Returns the GraphicsPipe that this device is associated with.