Construtores
Modificador | Nome | Descrição |
---|---|---|
Renderer(Window::Instance* inWindow) |
Destruidores
Modificador | Nome | Descrição |
---|---|---|
~Renderer() |
Funções Sobrecarregadas
Acesso | Modificador | Tipo | Nome | Descrição |
---|---|---|---|---|
public | void | initLayers() | ||
public | void | onEvent(const SDL_Event& inEvent) | ||
public | void | onViewportEvent() | ||
public | void | render() |
Funções
Acesso | Modificador | Tipo | Nome | Descrição |
---|---|---|---|---|
public | Internals | getInternals() | ||
private | void | buildInstance() | ||
private | void | destroyInstance() | ||
private | void | buildDebugMessenger() | ||
private | void | destroyDebugMessenger() | ||
private | void | buildSurface() | ||
private | void | destroySurface() | ||
private | void | buildQueues() | ||
private | void | buildDevices() | ||
private | void | destroyDevices() | ||
private | void | buildSwapChain() | ||
private | void | rebuildSwapChain() | ||
private | void | destroySwapChain() | ||
private | void | buildCommandPool() | ||
private | void | destroyCommandPool() | ||
private | void | buildMainCommandBuffer() | ||
private | void | buildFramesCommandBuffers() | ||
private | void | prepareCamera(Frame::Instance& outFrame) | ||
private | void | renderViewport(const vk::CommandBuffer& inCommandBuffer) | ||
private | void | prepareLayers(Frame::Instance& outFrame) | ||
private | void | renderLayers(Frame::Instance& outFrame, const vk::CommandBuffer& inCommandBuffer) | ||
private | void | prepareFrame(Frame::Instance& outFrame) | ||
private | void | prepareEvents() |
Propriedades
Acesso | Modificador | Tipo | Nome | Descrição |
---|---|---|---|---|
private | vk::Instance | m_instance | ||
private | vk::DispatchLoaderDynamic | m_dldi | ||
private | vk::DebugUtilsMessengerEXT | m_debugMessenger | ||
private | vk::SurfaceKHR | m_surface | ||
private | vk::PhysicalDevice | m_physicalDevice | ||
private | vk::Device | m_logicalDevice | ||
private | vk::Queue | m_graphicsQueue | ||
private | vk::Queue | m_presentQueue | ||
private | SwapChain::Bundle | m_swapChain | ||
private | vk::CommandPool | m_mainCommandPool | ||
private | vk::CommandBuffer | m_mainCommandBuffer | ||
private | int | m_imageCount | ||
private | int | m_currentImageIndex |