VulkanRaytracingCycles 0.0.0
Cycles Render Engine With VulkanRaytracingShaderModules. ( Experiment , in progress)
ContextExVk Struct Reference

#include <Context1Vk.h>

Classes

struct  Settings
 

Public Member Functions

 ContextExVk (uint32_t w, uint32_t h)
 construct ContextExVk. More...
 
 ~ContextExVk ()
 
void set$ ()
 Set Extern Global Variables. More...
 
bool initialize ()
 
bool shutdown ()
 
void configuration (std::vector< std::string > &layerExtensions, std::vector< std::string > &instanceExtensions)
 
VkResult createInstance (bool enableValidation)
 
void destroyInstance ()
 
void createDebug ()
 

Public Attributes

const eContext type = eContext::External
 
VkInstance instance
 
VkApplicationInfo appInfo = {}
 
DeviceMasterVk< QueueGTVkdevice
 
VkSubmitInfo submitInfo
 
VkFormat depthFormat
 
void * deviceCreatepNextChain = nullptr
 
DebugMaster1 deb
 
VkDebugReportCallbackEXT debug_report_callback
 
struct ContextExVk::Settings settings
 
struct {
   uint32_t   w
 
   uint32_t   h
 
config
 

Detailed Description

Definition at line 941 of file Context1Vk.h.

Constructor & Destructor Documentation

◆ ContextExVk()

ContextExVk::ContextExVk ( uint32_t  w,
uint32_t  h 
)
inline

construct ContextExVk.

Parameters
wwindow width
hwindow height

Definition at line 981 of file Context1Vk.h.

981:config({ w,h }) {};
uint32_t w
Definition: Context1Vk.h:969
uint32_t h
Definition: Context1Vk.h:969
struct ContextExVk::@12 config

◆ ~ContextExVk()

ContextExVk::~ContextExVk ( )
inline

Definition at line 982 of file Context1Vk.h.

982 {
983 shutdown();
984 };
bool shutdown()

Member Function Documentation

◆ configuration()

void ContextExVk::configuration ( std::vector< std::string > &  layerExtensions,
std::vector< std::string > &  instanceExtensions 
)

◆ createDebug()

void ContextExVk::createDebug ( )

◆ createInstance()

VkResult ContextExVk::createInstance ( bool  enableValidation)

◆ destroyInstance()

void ContextExVk::destroyInstance ( )

◆ initialize()

bool ContextExVk::initialize ( )

◆ set$()

void ContextExVk::set$ ( )

Set Extern Global Variables.

named by prefix $.

◆ shutdown()

bool ContextExVk::shutdown ( )

Member Data Documentation

◆ appInfo

VkApplicationInfo ContextExVk::appInfo = {}

Definition at line 946 of file Context1Vk.h.

◆ 

struct { ... } ContextExVk::config

◆ deb

DebugMaster1 ContextExVk::deb

Definition at line 955 of file Context1Vk.h.

◆ debug_report_callback

VkDebugReportCallbackEXT ContextExVk::debug_report_callback

Definition at line 956 of file Context1Vk.h.

◆ depthFormat

VkFormat ContextExVk::depthFormat

Definition at line 951 of file Context1Vk.h.

◆ device

DeviceMasterVk<QueueGTVk> ContextExVk::device

Definition at line 947 of file Context1Vk.h.

◆ deviceCreatepNextChain

void* ContextExVk::deviceCreatepNextChain = nullptr

Definition at line 953 of file Context1Vk.h.

◆ h

uint32_t ContextExVk::h

Definition at line 969 of file Context1Vk.h.

◆ instance

VkInstance ContextExVk::instance

Definition at line 945 of file Context1Vk.h.

◆ settings

struct ContextExVk::Settings ContextExVk::settings

◆ submitInfo

VkSubmitInfo ContextExVk::submitInfo

Definition at line 949 of file Context1Vk.h.

◆ type

const eContext ContextExVk::type = eContext::External

Definition at line 943 of file Context1Vk.h.

◆ w

uint32_t ContextExVk::w

Definition at line 969 of file Context1Vk.h.


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