KarmaEngine
Game Engine for practical learning and research purposes
Loading...
Searching...
No Matches
Karma::KarmaGui_ImplVulkan_ViewportData Struct Reference

Data relevant to rendering of a Mesa viewport. More...

#include <KarmaGuiVulkanHandler.h>

Collaboration diagram for Karma::KarmaGui_ImplVulkan_ViewportData:

Public Member Functions

 KarmaGui_ImplVulkan_ViewportData ()
 A constructor for allocation and 0 initialization.
 
 ~KarmaGui_ImplVulkan_ViewportData ()
 A destructor.
 

Public Attributes

bool WindowOwned
 Probabbly for multiview port which we are not supporting in the Current state.
 
KarmaGui_ImplVulkanH_Window Window
 Window data to be used by secondary viewports only.
 
KarmaGui_ImplVulkanH_WindowRenderBuffers RenderBuffers
 The rendering relevant buffers to be used by viewport.
 

Detailed Description

Data relevant to rendering of a Mesa viewport.

Helper structure we store in the void* RenderUserData field of each KarmaGuiViewport to easily retrieve our backend data.

Note
We are not supporting multiviewport in the current state of Engine.
Since
Karma 1.0.0

Constructor & Destructor Documentation

◆ KarmaGui_ImplVulkan_ViewportData()

Karma::KarmaGui_ImplVulkan_ViewportData::KarmaGui_ImplVulkan_ViewportData ( )
inline

A constructor for allocation and 0 initialization.

Since
Karma 1.0.0

◆ ~KarmaGui_ImplVulkan_ViewportData()

Karma::KarmaGui_ImplVulkan_ViewportData::~KarmaGui_ImplVulkan_ViewportData ( )
inline

A destructor.

Since
Karma 1.0.0

Member Data Documentation

◆ RenderBuffers

KarmaGui_ImplVulkanH_WindowRenderBuffers Karma::KarmaGui_ImplVulkan_ViewportData::RenderBuffers

The rendering relevant buffers to be used by viewport.

Basically to be used by any viewport but since we are only supporting single viewport, mindset must be done accordingly.

Since
Karma 1.0.0

◆ Window

KarmaGui_ImplVulkanH_Window Karma::KarmaGui_ImplVulkan_ViewportData::Window

Window data to be used by secondary viewports only.

Note
We are not supporting multi viewports in the current state of the Engine
Since
Karma 1.0.0

◆ WindowOwned

bool Karma::KarmaGui_ImplVulkan_ViewportData::WindowOwned

Probabbly for multiview port which we are not supporting in the Current state.

Since
Karma 1.0.0

The documentation for this struct was generated from the following file: