|
| RVKDevice * | mainDevice () const noexcept |
| | Returns the main RVKDevice (RCore::mainDevice() downcast to the Vulkan backend).
|
| |
| virtual void | clearGarbage () noexcept override |
| | Drains each device's fence-tracked deferred-destruction queue.
|
| |
| bool | hasInstanceExtension (std::string_view extension) const noexcept |
| | Returns true if extension is among the available VkInstance extensions.
|
| |
| bool | hasValidationLayer (std::string_view layer) const noexcept |
| | Returns true if layer is among the available VkInstance validation layers.
|
| |
| VkInstance | instance () const noexcept |
| | Returns the underlying VkInstance handle.
|
| |
| const std::vector< RDevice * > & | devices () const noexcept |
| | Returns all rendering devices enumerated by the library.
|
| |
| RDevice * | mainDevice () const noexcept |
| | Returns the main (default) device.
|
| |
| bool | overrideMainDevice (RDevice *device) noexcept |
| | Overrides the main device.
|
| |
| RGraphicsAPI | graphicsAPI () const noexcept |
| | Returns the active graphics API.
|
| |
| RPlatform | platform () const noexcept |
| | Returns the active platform.
|
| |
| const Options & | options () const noexcept |
| | Returns the options RCore was created with.
|
| |
| std::shared_ptr< RGLCore > | asGL () noexcept |
| | Attempts to cast this RCore instance to an RGLCore.
|
| |
| std::shared_ptr< RRSCore > | asRS () noexcept |
| | Attempts to cast this RCore instance to an RRSCore.
|
| |
| std::shared_ptr< RVKCore > | asVK () noexcept |
| | Attempts to cast this RCore instance to an RVKCore.
|
| |
| | ~RCore () noexcept |
| | Destructor.
|
| |
| | RObject ()=default |
| | Constructs a default RObject.
|
| |
Vulkan implementation of RCore, obtained via RCore::asVK().
Owns the VkInstance (plus optional debug messenger and validation layers), enumerates the physical devices, and wraps each as an RVKDevice, selecting the highest-scoring one as the main device.