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

#include <vthreepy_types.h>

Public Member Functions

void dealloc ()
 
bool isValid ()
 

Public Attributes

VkDeviceMemory memory = VK_NULL_HANDLE
 
VkDescriptorBufferInfo info
 
VkBuffer buffer = VK_NULL_HANDLE
 
void * mapped
 
size_t size = 0
 
int version = { -1 }
 

Detailed Description

Definition at line 198 of file vthreepy_types.h.

Member Function Documentation

◆ dealloc()

void MIBmvk::dealloc ( )
inline

Definition at line 207 of file vthreepy_types.h.

207 {
208 if (buffer != VK_NULL_HANDLE) {
209 vkDestroyBuffer($device, buffer, nullptr);
210 vkFreeMemory($device, memory, nullptr);
211 buffer = VK_NULL_HANDLE;
212 };
213 };
VkBuffer buffer
VkDeviceMemory memory

◆ isValid()

bool MIBmvk::isValid ( )
inline

Definition at line 214 of file vthreepy_types.h.

214 {
215 return buffer != VK_NULL_HANDLE;
216 }

Member Data Documentation

◆ buffer

VkBuffer MIBmvk::buffer = VK_NULL_HANDLE

Definition at line 202 of file vthreepy_types.h.

◆ info

VkDescriptorBufferInfo MIBmvk::info

Definition at line 201 of file vthreepy_types.h.

◆ mapped

void* MIBmvk::mapped

Definition at line 203 of file vthreepy_types.h.

◆ memory

VkDeviceMemory MIBmvk::memory = VK_NULL_HANDLE

Definition at line 200 of file vthreepy_types.h.

◆ size

size_t MIBmvk::size = 0

Definition at line 204 of file vthreepy_types.h.

◆ version

int MIBmvk::version = { -1 }

Definition at line 206 of file vthreepy_types.h.


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