![]() |
NDEVR
API Documentation
|
A physical or virtual device used with the NDEVR Rendering Engine. More...
Public Member Functions | |
| GraphicsDevice () | |
| Default constructor. | |
| virtual | ~GraphicsDevice () |
| Destructor. | |
| virtual UUID | id () const =0 |
| Returns the unique identifier for this device. | |
| virtual void | init ()=0 |
| Initializes the graphics device. | |
| virtual const void * | initLockPtr () const =0 |
| Returns a pointer used for synchronizing device initialization. | |
| virtual bool | isInitialized () const =0 |
| Checks whether the device has been initialized. | |
| virtual bool | isReady () const |
| Checks whether the device is ready for rendering. | |
| virtual bool | isValid () const =0 |
| Checks whether this device is valid and usable. | |
| virtual uint04 | maxSupportedSamples () const =0 |
| Returns the maximum number of multisample samples supported. | |
| virtual bool | supportsMultiThreading () const |
| Checks whether the device supports multi-threaded rendering. | |
| virtual bool | updateFromLookup () const |
| Checks whether the device should update from the design lookup. | |
Public Attributes | |
| Resource< bool > | can_service_capture_requests |
| Whether the device can service image capture requests. | |
Static Public Attributes | |
| static DynamicPointer< GraphicsDevice > | s_default_graphics_device |
| The application-wide default graphics device. | |
A physical or virtual device used with the NDEVR Rendering Engine.
A device contains System specific limitations for rendering. Only one device is used for all rendering operations.
Definition at line 14 of file GraphicsDevice.h.
|
pure virtual |
Returns the unique identifier for this device.
Implemented in GLESGraphicsDevice, and VulkanDevice.
|
pure virtual |
Returns a pointer used for synchronizing device initialization.
Implemented in GLESGraphicsDevice, and VulkanDevice.
|
pure virtual |
Checks whether the device has been initialized.
Implemented in GLESGraphicsDevice, and VulkanDevice.
|
inlinevirtual |
Checks whether the device is ready for rendering.
Reimplemented in GLESGraphicsDevice.
Definition at line 45 of file GraphicsDevice.h.
|
pure virtual |
Checks whether this device is valid and usable.
Implemented in GLESGraphicsDevice, and VulkanDevice.
|
pure virtual |
Returns the maximum number of multisample samples supported.
Implemented in GLESGraphicsDevice, and VulkanDevice.
|
inlinevirtual |
Checks whether the device supports multi-threaded rendering.
Reimplemented in VulkanDevice.
Definition at line 39 of file GraphicsDevice.h.
|
inlinevirtual |
Checks whether the device should update from the design lookup.
Reimplemented in GLESGraphicsDevice.
Definition at line 48 of file GraphicsDevice.h.