#include <Renderer.hpp>
Definition at line 21 of file Renderer.hpp.
◆ Renderer() [1/3]
lug::Graphics::Vulkan::Renderer::Renderer |
( |
Graphics & |
graphics | ) |
|
|
explicit |
◆ Renderer() [2/3]
lug::Graphics::Vulkan::Renderer::Renderer |
( |
const Renderer & |
| ) |
|
|
delete |
◆ Renderer() [3/3]
lug::Graphics::Vulkan::Renderer::Renderer |
( |
Renderer && |
| ) |
|
|
delete |
◆ ~Renderer()
lug::Graphics::Vulkan::Renderer::~Renderer |
( |
| ) |
|
|
virtual |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ beginInit()
◆ finishInit()
bool lug::Graphics::Vulkan::Renderer::finishInit |
( |
| ) |
|
|
finaloverridevirtual |
◆ isInstanceLayerLoaded()
bool Renderer::isInstanceLayerLoaded |
( |
const char * |
name | ) |
const |
|
inline |
◆ isInstanceExtensionLoaded()
bool Renderer::isInstanceExtensionLoaded |
( |
const char * |
name | ) |
const |
|
inline |
◆ isDeviceExtensionLoaded()
bool Renderer::isDeviceExtensionLoaded |
( |
const char * |
name | ) |
const |
|
inline |
◆ createWindow()
◆ getWindow()
◆ getInstance()
◆ getDevice() [1/2]
◆ getDevice() [2/2]
◆ getInstanceInfo() [1/2]
◆ getInstanceInfo() [2/2]
◆ getPhysicalDeviceInfo() [1/2]
◆ getPhysicalDeviceInfo() [2/2]
◆ getPhysicalDeviceInfos() [1/2]
◆ getPhysicalDeviceInfos() [2/2]
◆ getPreferences() [1/2]
◆ getPreferences() [2/2]
◆ addPipeline()
◆ containsPipeline()
◆ getPipeline()
◆ getRenderWindow()
◆ destroy()
void lug::Graphics::Vulkan::Renderer::destroy |
( |
| ) |
|
◆ beginFrame()
bool lug::Graphics::Vulkan::Renderer::beginFrame |
( |
const lug::System::Time & |
elapsedTime | ) |
|
|
finaloverridevirtual |
◆ endFrame()
bool lug::Graphics::Vulkan::Renderer::endFrame |
( |
| ) |
|
|
finaloverridevirtual |
◆ initInstance()
bool lug::Graphics::Vulkan::Renderer::initInstance |
( |
const std::string & |
appName, |
|
|
const Core::Version & |
appVersion |
|
) |
| |
|
private |
◆ initDevice()
bool lug::Graphics::Vulkan::Renderer::initDevice |
( |
| ) |
|
|
private |
◆ checkRequirementsInstance()
bool lug::Graphics::Vulkan::Renderer::checkRequirementsInstance |
( |
const std::set< Module::Type > & |
modulesToCheck | ) |
|
|
private |
◆ checkRequirementsDevice()
bool lug::Graphics::Vulkan::Renderer::checkRequirementsDevice |
( |
const PhysicalDeviceInfo & |
physicalDeviceInfo, |
|
|
const std::set< Module::Type > & |
modulesToCheck, |
|
|
bool |
finalization, |
|
|
bool |
quiet |
|
) |
| |
|
private |
◆ checkRequirementsLayers()
template<typename Info >
std::vector< const char * > lug::Graphics::Vulkan::Renderer::checkRequirementsLayers |
( |
const Info & |
info, |
|
|
const std::vector< const char *> & |
layers, |
|
|
std::vector< const char *> & |
layersFound |
|
) |
| |
|
inlineprivate |
◆ checkRequirementsExtensions()
template<typename Info >
std::vector< const char * > lug::Graphics::Vulkan::Renderer::checkRequirementsExtensions |
( |
const Info & |
info, |
|
|
const std::vector< const char *> & |
extensions, |
|
|
std::vector< const char *> & |
extensionsFound |
|
) |
| |
|
inlineprivate |
◆ _loader
◆ _instance
◆ _device
API::Device lug::Graphics::Vulkan::Renderer::_device {} |
|
private |
◆ _instanceInfo
InstanceInfo lug::Graphics::Vulkan::Renderer::_instanceInfo {} |
|
private |
◆ _physicalDeviceInfo
◆ _physicalDeviceInfos
◆ _debugReportCallback
VkDebugReportCallbackEXT lug::Graphics::Vulkan::Renderer::_debugReportCallback {VK_NULL_HANDLE} |
|
private |
◆ _window
std::unique_ptr<Render::Window> lug::Graphics::Vulkan::Renderer::_window |
|
private |
◆ _loadedInstanceLayers
std::vector<const char*> lug::Graphics::Vulkan::Renderer::_loadedInstanceLayers {} |
|
private |
◆ _loadedInstanceExtensions
std::vector<const char*> lug::Graphics::Vulkan::Renderer::_loadedInstanceExtensions {} |
|
private |
◆ _loadedDeviceExtensions
std::vector<const char*> lug::Graphics::Vulkan::Renderer::_loadedDeviceExtensions {} |
|
private |
◆ _loadedDeviceFeatures
VkPhysicalDeviceFeatures lug::Graphics::Vulkan::Renderer::_loadedDeviceFeatures {} |
|
private |
◆ _attachedMeshes
std::vector<Render::Mesh*> lug::Graphics::Vulkan::Renderer::_attachedMeshes {} |
|
private |
◆ _preferences
Preferences lug::Graphics::Vulkan::Renderer::_preferences |
|
private |
Initial value:{
nullptr,
{
{
VK_PRESENT_MODE_MAILBOX_KHR,
VK_PRESENT_MODE_FIFO_KHR
},
{
VK_FORMAT_B8G8R8A8_UNORM,
VK_FORMAT_R8G8B8A8_UNORM
},
{
VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR,
VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR
}
}
}
Definition at line 131 of file Renderer.hpp.
◆ _pipelines
◆ modulesRequirements
Initial value:= {
#define LUG_INIT_GRAPHICS_MODULES_REQUIREMENTS(name)
}
Definition at line 153 of file Renderer.hpp.
The documentation for this class was generated from the following files: