panda3d.core.GraphicsDevice

from panda3d.core import 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

getPipe() → GraphicsPipe

Returns the GraphicsPipe that this device is associated with.

Return type

GraphicsPipe

static getClassType() → TypeHandle
Return type

TypeHandle