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

#include <vthreepy_types.h>

Public Member Functions

void dealloc ()
 
bool isValid ()
 

Public Attributes

VkDescriptorBufferInfo info
 
VkBuffer buffer = VK_NULL_HANDLE
 
void * mapped
 
VkDeviceSize size = 0
 
VkDeviceSize offset = 0
 
int version = { -1 }
 

Detailed Description

Definition at line 392 of file vthreepy_types.h.

Member Function Documentation

◆ dealloc()

void IBmvk::dealloc ( )
inline

Definition at line 400 of file vthreepy_types.h.

400 {
401 if (buffer != VK_NULL_HANDLE) {
402 vkDestroyBuffer($device, buffer, nullptr);
403 buffer = VK_NULL_HANDLE;
404 };
405 };
VkBuffer buffer

◆ isValid()

bool IBmvk::isValid ( )
inline

Definition at line 406 of file vthreepy_types.h.

406 {
407 return buffer != VK_NULL_HANDLE;
408 };

Member Data Documentation

◆ buffer

VkBuffer IBmvk::buffer = VK_NULL_HANDLE

Definition at line 395 of file vthreepy_types.h.

◆ info

VkDescriptorBufferInfo IBmvk::info

Definition at line 394 of file vthreepy_types.h.

◆ mapped

void* IBmvk::mapped

Definition at line 396 of file vthreepy_types.h.

◆ offset

VkDeviceSize IBmvk::offset = 0

Definition at line 398 of file vthreepy_types.h.

◆ size

VkDeviceSize IBmvk::size = 0

Definition at line 397 of file vthreepy_types.h.

◆ version

int IBmvk::version = { -1 }

Definition at line 399 of file vthreepy_types.h.


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