14#ifndef GRAPHICSDEVICE_H
15#define GRAPHICSDEVICE_H
39 INLINE GraphicsPipe *
get_pipe()
const;
48 static void init_type() {
49 TypedReferenceCount::init_type();
51 TypedReferenceCount::get_class_type());
54 return get_class_type();
56 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
61 friend class GraphicsPipe;
62 friend class GraphicsEngine;
GraphicsPipe * get_pipe() const
Returns the GraphicsPipe that this device is associated with.
GraphicsDevice(GraphicsPipe *pipe)
Normally, the GraphicsDevice constructor holds a reference to the Graphics Pipe that it is part of.
An object to create GraphicsOutputs that share a particular 3-D API.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.