API Documentation
Loading...
Searching...
No Matches
GraphicsDevice Class Referenceabstract

#include <GraphicsDevice.h>

Inheritance diagram for GraphicsDevice:
[legend]
Collaboration diagram for GraphicsDevice:
[legend]

Public Member Functions

virtual ~GraphicsDevice ()
 
virtual UUID id () const =0
 
virtual bool isValid () const =0
 
virtual uint04 maxSupportedSamples () const =0
 
virtual void init ()=0
 
virtual const void * initLockPtr () const =0
 
virtual bool supportsMultiThreading () const
 
virtual bool isInitialized () const =0
 
virtual bool isReady () const
 
virtual bool updateFromLookup () const
 
virtual bool canServiceCaptureRequests () const
 

Static Public Member Functions

static NDEVR_GRAPHICS_API const DynamicPointer< GraphicsDevice > & DefaultGraphicsDevice ()
 
static NDEVR_GRAPHICS_API void SetDefaultGraphicsDevice (const DynamicPointer< GraphicsDevice > &device)
 

Static Public Attributes

static DynamicPointer< GraphicsDevices_default_graphics_device = nullptr
 

Constructor & Destructor Documentation

◆ ~GraphicsDevice()

virtual ~GraphicsDevice ( )
inlinevirtual

Member Function Documentation

◆ canServiceCaptureRequests()

virtual bool canServiceCaptureRequests ( ) const
inlinevirtual

Reimplemented in VulkanDevice.

◆ DefaultGraphicsDevice()

const DynamicPointer< GraphicsDevice > & DefaultGraphicsDevice ( )
static

◆ id()

virtual UUID id ( ) const
pure virtual

Implemented in GLESGraphicsDevice, and VulkanDevice.

◆ init()

virtual void init ( )
pure virtual

Implemented in GLESGraphicsDevice, and VulkanDevice.

◆ initLockPtr()

virtual const void * initLockPtr ( ) const
pure virtual

Implemented in GLESGraphicsDevice, and VulkanDevice.

◆ isInitialized()

virtual bool isInitialized ( ) const
pure virtual

Implemented in GLESGraphicsDevice, and VulkanDevice.

◆ isReady()

virtual bool isReady ( ) const
inlinevirtual

Reimplemented in GLESGraphicsDevice.

◆ isValid()

virtual bool isValid ( ) const
pure virtual

Implemented in GLESGraphicsDevice, and VulkanDevice.

◆ maxSupportedSamples()

virtual uint04 maxSupportedSamples ( ) const
pure virtual

Implemented in GLESGraphicsDevice, and VulkanDevice.

◆ SetDefaultGraphicsDevice()

void SetDefaultGraphicsDevice ( const DynamicPointer< GraphicsDevice > & device)
static

◆ supportsMultiThreading()

virtual bool supportsMultiThreading ( ) const
inlinevirtual

Reimplemented in VulkanDevice.

◆ updateFromLookup()

virtual bool updateFromLookup ( ) const
inlinevirtual

Reimplemented in GLESGraphicsDevice.

Member Data Documentation

◆ s_default_graphics_device

DynamicPointer< GraphicsDevice > s_default_graphics_device = nullptr
static

The documentation for this class was generated from the following files: