Skip to content

KDGpu::VulkanResourceManager

#include <vulkan_resource_manager.h>

Inherits from KDGpu::ResourceManager

Public Functions

Name
VulkanResourceManager()
~VulkanResourceManager()
virtual Handle< Instance_t > createInstance(const InstanceOptions & options)
Handle< Instance_t > createInstanceFromExistingVkInstance(VkInstance vkInstance)
virtual void deleteInstance(const Handle< Instance_t > & handle)
virtual VulkanInstance * getInstance(const Handle< Instance_t > & handle) const
std::vector< Extension > getInstanceExtensions() const
Handle< Adapter_t > insertAdapter(const VulkanAdapter & vulkanAdapter)
virtual void removeAdapter(const Handle< Adapter_t > & handle)
virtual VulkanAdapter * getAdapter(const Handle< Adapter_t > & handle) const
virtual Handle< Device_t > createDevice(const Handle< Adapter_t > & adapterHandle, const DeviceOptions & options, std::vector< QueueRequest > & queueRequests)
Handle< Device_t > createDeviceFromExistingVkDevice(const Handle< Adapter_t > & adapterHandle, VkDevice vkDevice)
virtual void deleteDevice(const Handle< Device_t > & handle)
virtual VulkanDevice * getDevice(const Handle< Device_t > & handle) const
Handle< Queue_t > insertQueue(const VulkanQueue & vulkanQueue)
virtual void removeQueue(const Handle< Queue_t > & handle)
virtual VulkanQueue * getQueue(const Handle< Queue_t > & handle) const
virtual Handle< Swapchain_t > createSwapchain(const Handle< Device_t > & deviceHandle, const SwapchainOptions & options)
virtual void deleteSwapchain(const Handle< Swapchain_t > & handle)
virtual VulkanSwapchain * getSwapchain(const Handle< Swapchain_t > & handle) const
Handle< Surface_t > insertSurface(const VulkanSurface & surface)
virtual void deleteSurface(const Handle< Surface_t > & handle)
virtual VulkanSurface * getSurface(const Handle< Surface_t > & handle) const
Handle< Texture_t > insertTexture(const VulkanTexture & texture)
void removeTexture(const Handle< Texture_t > & handle)
virtual Handle< Texture_t > createTexture(const Handle< Device_t > & deviceHandle, const TextureOptions & options)
virtual void deleteTexture(const Handle< Texture_t > & handle)
virtual VulkanTexture * getTexture(const Handle< Texture_t > & handle) const
virtual Handle< TextureView_t > createTextureView(const Handle< Device_t > & deviceHandle, const Handle< Texture_t > & textureHandle, const TextureViewOptions & options)
virtual void deleteTextureView(const Handle< TextureView_t > & handle)
virtual VulkanTextureView * getTextureView(const Handle< TextureView_t > & handle) const
virtual Handle< Buffer_t > createBuffer(const Handle< Device_t > & deviceHandle, const BufferOptions & options, const void * initialData)
virtual void deleteBuffer(const Handle< Buffer_t > & handle)
virtual VulkanBuffer * getBuffer(const Handle< Buffer_t > & handle) const
virtual Handle< ShaderModule_t > createShaderModule(const Handle< Device_t > & deviceHandle, const std::vector< uint32_t > & code)
virtual void deleteShaderModule(const Handle< ShaderModule_t > & handle)
virtual VulkanShaderModule * getShaderModule(const Handle< ShaderModule_t > & handle) const
virtual Handle< PipelineLayout_t > createPipelineLayout(const Handle< Device_t > & deviceHandle, const PipelineLayoutOptions & options)
virtual void deletePipelineLayout(const Handle< PipelineLayout_t > & handle)
virtual VulkanPipelineLayout * getPipelineLayout(const Handle< PipelineLayout_t > & handle) const
virtual Handle< GraphicsPipeline_t > createGraphicsPipeline(const Handle< Device_t > & deviceHandle, const GraphicsPipelineOptions & options)
virtual void deleteGraphicsPipeline(const Handle< GraphicsPipeline_t > & handle)
virtual VulkanGraphicsPipeline * getGraphicsPipeline(const Handle< GraphicsPipeline_t > & handle) const
virtual Handle< ComputePipeline_t > createComputePipeline(const Handle< Device_t > & deviceHandle, const ComputePipelineOptions & options)
virtual void deleteComputePipeline(const Handle< ComputePipeline_t > & handle)
virtual VulkanComputePipeline * getComputePipeline(const Handle< ComputePipeline_t > & handle) const
virtual Handle< RayTracingPipeline_t > createRayTracingPipeline(const Handle< Device_t > & deviceHandle, const RayTracingPipelineOptions & options)
virtual void deleteRayTracingPipeline(const Handle< RayTracingPipeline_t > & handle)
virtual VulkanRayTracingPipeline * getRayTracingPipeline(const Handle< RayTracingPipeline_t > & handle) const
virtual Handle< GpuSemaphore_t > createGpuSemaphore(const Handle< Device_t > & deviceHandle, const GpuSemaphoreOptions & options)
virtual void deleteGpuSemaphore(const Handle< GpuSemaphore_t > & handle)
virtual VulkanGpuSemaphore * getGpuSemaphore(const Handle< GpuSemaphore_t > & handle) const
virtual Handle< CommandRecorder_t > createCommandRecorder(const Handle< Device_t > & deviceHandle, const CommandRecorderOptions & options)
virtual void deleteCommandRecorder(const Handle< CommandRecorder_t > & handle)
virtual VulkanCommandRecorder * getCommandRecorder(const Handle< CommandRecorder_t > & handle) const
virtual Handle< RenderPassCommandRecorder_t > createRenderPassCommandRecorder(const Handle< Device_t > & deviceHandle, const Handle< CommandRecorder_t > & commandRecorderHandle, const RenderPassCommandRecorderOptions & options)
virtual void deleteRenderPassCommandRecorder(const Handle< RenderPassCommandRecorder_t > & handle)
virtual VulkanRenderPassCommandRecorder * getRenderPassCommandRecorder(const Handle< RenderPassCommandRecorder_t > & handle) const
virtual Handle< ComputePassCommandRecorder_t > createComputePassCommandRecorder(const Handle< Device_t > & deviceHandle, const Handle< CommandRecorder_t > & commandRecorderHandle, const ComputePassCommandRecorderOptions & options)
virtual void deleteComputePassCommandRecorder(const Handle< ComputePassCommandRecorder_t > & handle)
virtual VulkanComputePassCommandRecorder * getComputePassCommandRecorder(const Handle< ComputePassCommandRecorder_t > & handle) const
virtual void deleteRayTracingPassCommandRecorder(const Handle< RayTracingPassCommandRecorder_t > & handle)
virtual VulkanRayTracingPassCommandRecorder * getRayTracingPassCommandRecorder(const Handle< RayTracingPassCommandRecorder_t > & handle) const
virtual Handle< RayTracingPassCommandRecorder_t > createRayTracingPassCommandRecorder(const Handle< Device_t > & deviceHandle, const Handle< CommandRecorder_t > & commandRecorderHandle, const RayTracingPassCommandRecorderOptions & options)
virtual Handle< TimestampQueryRecorder_t > createTimestampQueryRecorder(const Handle< Device_t > & deviceHandle, const Handle< CommandRecorder_t > & commandRecorderHandle, const TimestampQueryRecorderOptions & options)
virtual void deleteTimestampQueryRecorder(const Handle< TimestampQueryRecorder_t > & handle)
virtual VulkanTimestampQueryRecorder * getTimestampQueryRecorder(const Handle< TimestampQueryRecorder_t > & handle) const
virtual Handle< CommandBuffer_t > createCommandBuffer(const Handle< Device_t > & deviceHandle, const QueueDescription & queueDescription, CommandBufferLevel commandLevel)
virtual void deleteCommandBuffer(const Handle< CommandBuffer_t > & handle)
virtual VulkanCommandBuffer * getCommandBuffer(const Handle< CommandBuffer_t > & handle) const
virtual Handle< BindGroup_t > createBindGroup(const Handle< Device_t > & deviceHandle, const BindGroupOptions & options)
virtual void deleteBindGroup(const Handle< BindGroup_t > & handle)
virtual VulkanBindGroup * getBindGroup(const Handle< BindGroup_t > & handle) const
virtual Handle< BindGroupLayout_t > createBindGroupLayout(const Handle< Device_t > & deviceHandle, const BindGroupLayoutOptions & options)
virtual void deleteBindGroupLayout(const Handle< BindGroupLayout_t > & handle)
virtual VulkanBindGroupLayout * getBindGroupLayout(const Handle< BindGroupLayout_t > & handle) const
virtual Handle< Sampler_t > createSampler(const Handle< Device_t > & deviceHandle, const SamplerOptions & options)
virtual void deleteSampler(const Handle< Sampler_t > & handle)
virtual VulkanSampler * getSampler(const Handle< Sampler_t > & handle) const
virtual Handle< Fence_t > createFence(const Handle< Device_t > & deviceHandle, const FenceOptions & options)
virtual void deleteFence(const Handle< Fence_t > & handle)
virtual VulkanFence * getFence(const Handle< Fence_t > & handle) const
virtual Handle< AccelerationStructure_t > createAccelerationStructure(const Handle< Device_t > & deviceHandle, const AccelerationStructureOptions & options)
virtual void deleteAccelerationStructure(const Handle< AccelerationStructure_t > & handle)
virtual VulkanAccelerationStructure * getAccelerationStructure(const Handle< AccelerationStructure_t > & handle) const
std::string getMemoryStats(const Handle< Device_t > & device) const
KDGpu::Format formatFromTextureView(const Handle< TextureView_t > & viewHandle) const

Additional inherited members

Public Functions inherited from KDGpu::ResourceManager

Name
virtual ~ResourceManager()

Protected Functions inherited from KDGpu::ResourceManager

Name
ResourceManager()

Public Functions Documentation

function VulkanResourceManager

1
VulkanResourceManager()

function ~VulkanResourceManager

1
~VulkanResourceManager()

function createInstance

1
2
3
virtual Handle< Instance_t > createInstance(
    const InstanceOptions & options
)

Reimplements: KDGpu::ResourceManager::createInstance

function createInstanceFromExistingVkInstance

1
2
3
Handle< Instance_t > createInstanceFromExistingVkInstance(
    VkInstance vkInstance
)

function deleteInstance

1
2
3
virtual void deleteInstance(
    const Handle< Instance_t > & handle
)

Reimplements: KDGpu::ResourceManager::deleteInstance

function getInstance

1
2
3
virtual VulkanInstance * getInstance(
    const Handle< Instance_t > & handle
) const

Reimplements: KDGpu::ResourceManager::getInstance

function getInstanceExtensions

1
std::vector< Extension > getInstanceExtensions() const

function insertAdapter

1
2
3
Handle< Adapter_t > insertAdapter(
    const VulkanAdapter & vulkanAdapter
)

function removeAdapter

1
2
3
virtual void removeAdapter(
    const Handle< Adapter_t > & handle
)

Reimplements: KDGpu::ResourceManager::removeAdapter

function getAdapter

1
2
3
virtual VulkanAdapter * getAdapter(
    const Handle< Adapter_t > & handle
) const

Reimplements: KDGpu::ResourceManager::getAdapter

function createDevice

1
2
3
4
5
virtual Handle< Device_t > createDevice(
    const Handle< Adapter_t > & adapterHandle,
    const DeviceOptions & options,
    std::vector< QueueRequest > & queueRequests
)

Reimplements: KDGpu::ResourceManager::createDevice

function createDeviceFromExistingVkDevice

1
2
3
4
Handle< Device_t > createDeviceFromExistingVkDevice(
    const Handle< Adapter_t > & adapterHandle,
    VkDevice vkDevice
)

function deleteDevice

1
2
3
virtual void deleteDevice(
    const Handle< Device_t > & handle
)

Reimplements: KDGpu::ResourceManager::deleteDevice

function getDevice

1
2
3
virtual VulkanDevice * getDevice(
    const Handle< Device_t > & handle
) const

Reimplements: KDGpu::ResourceManager::getDevice

function insertQueue

1
2
3
Handle< Queue_t > insertQueue(
    const VulkanQueue & vulkanQueue
)

function removeQueue

1
2
3
virtual void removeQueue(
    const Handle< Queue_t > & handle
)

Reimplements: KDGpu::ResourceManager::removeQueue

function getQueue

1
2
3
virtual VulkanQueue * getQueue(
    const Handle< Queue_t > & handle
) const

Reimplements: KDGpu::ResourceManager::getQueue

function createSwapchain

1
2
3
4
virtual Handle< Swapchain_t > createSwapchain(
    const Handle< Device_t > & deviceHandle,
    const SwapchainOptions & options
)

Reimplements: KDGpu::ResourceManager::createSwapchain

function deleteSwapchain

1
2
3
virtual void deleteSwapchain(
    const Handle< Swapchain_t > & handle
)

Reimplements: KDGpu::ResourceManager::deleteSwapchain

function getSwapchain

1
2
3
virtual VulkanSwapchain * getSwapchain(
    const Handle< Swapchain_t > & handle
) const

Reimplements: KDGpu::ResourceManager::getSwapchain

function insertSurface

1
2
3
Handle< Surface_t > insertSurface(
    const VulkanSurface & surface
)

function deleteSurface

1
2
3
virtual void deleteSurface(
    const Handle< Surface_t > & handle
)

Reimplements: KDGpu::ResourceManager::deleteSurface

function getSurface

1
2
3
virtual VulkanSurface * getSurface(
    const Handle< Surface_t > & handle
) const

Reimplements: KDGpu::ResourceManager::getSurface

function insertTexture

1
2
3
Handle< Texture_t > insertTexture(
    const VulkanTexture & texture
)

function removeTexture

1
2
3
void removeTexture(
    const Handle< Texture_t > & handle
)

function createTexture

1
2
3
4
virtual Handle< Texture_t > createTexture(
    const Handle< Device_t > & deviceHandle,
    const TextureOptions & options
)

Reimplements: KDGpu::ResourceManager::createTexture

function deleteTexture

1
2
3
virtual void deleteTexture(
    const Handle< Texture_t > & handle
)

Reimplements: KDGpu::ResourceManager::deleteTexture

function getTexture

1
2
3
virtual VulkanTexture * getTexture(
    const Handle< Texture_t > & handle
) const

Reimplements: KDGpu::ResourceManager::getTexture

function createTextureView

1
2
3
4
5
virtual Handle< TextureView_t > createTextureView(
    const Handle< Device_t > & deviceHandle,
    const Handle< Texture_t > & textureHandle,
    const TextureViewOptions & options
)

Reimplements: KDGpu::ResourceManager::createTextureView

function deleteTextureView

1
2
3
virtual void deleteTextureView(
    const Handle< TextureView_t > & handle
)

Reimplements: KDGpu::ResourceManager::deleteTextureView

function getTextureView

1
2
3
virtual VulkanTextureView * getTextureView(
    const Handle< TextureView_t > & handle
) const

Reimplements: KDGpu::ResourceManager::getTextureView

function createBuffer

1
2
3
4
5
virtual Handle< Buffer_t > createBuffer(
    const Handle< Device_t > & deviceHandle,
    const BufferOptions & options,
    const void * initialData
)

Reimplements: KDGpu::ResourceManager::createBuffer

function deleteBuffer

1
2
3
virtual void deleteBuffer(
    const Handle< Buffer_t > & handle
)

Reimplements: KDGpu::ResourceManager::deleteBuffer

function getBuffer

1
2
3
virtual VulkanBuffer * getBuffer(
    const Handle< Buffer_t > & handle
) const

Reimplements: KDGpu::ResourceManager::getBuffer

function createShaderModule

1
2
3
4
virtual Handle< ShaderModule_t > createShaderModule(
    const Handle< Device_t > & deviceHandle,
    const std::vector< uint32_t > & code
)

Reimplements: KDGpu::ResourceManager::createShaderModule

function deleteShaderModule

1
2
3
virtual void deleteShaderModule(
    const Handle< ShaderModule_t > & handle
)

Reimplements: KDGpu::ResourceManager::deleteShaderModule

function getShaderModule

1
2
3
virtual VulkanShaderModule * getShaderModule(
    const Handle< ShaderModule_t > & handle
) const

Reimplements: KDGpu::ResourceManager::getShaderModule

function createPipelineLayout

1
2
3
4
virtual Handle< PipelineLayout_t > createPipelineLayout(
    const Handle< Device_t > & deviceHandle,
    const PipelineLayoutOptions & options
)

Reimplements: KDGpu::ResourceManager::createPipelineLayout

function deletePipelineLayout

1
2
3
virtual void deletePipelineLayout(
    const Handle< PipelineLayout_t > & handle
)

Reimplements: KDGpu::ResourceManager::deletePipelineLayout

function getPipelineLayout

1
2
3
virtual VulkanPipelineLayout * getPipelineLayout(
    const Handle< PipelineLayout_t > & handle
) const

Reimplements: KDGpu::ResourceManager::getPipelineLayout

function createGraphicsPipeline

1
2
3
4
virtual Handle< GraphicsPipeline_t > createGraphicsPipeline(
    const Handle< Device_t > & deviceHandle,
    const GraphicsPipelineOptions & options
)

Reimplements: KDGpu::ResourceManager::createGraphicsPipeline

function deleteGraphicsPipeline

1
2
3
virtual void deleteGraphicsPipeline(
    const Handle< GraphicsPipeline_t > & handle
)

Reimplements: KDGpu::ResourceManager::deleteGraphicsPipeline

function getGraphicsPipeline

1
2
3
virtual VulkanGraphicsPipeline * getGraphicsPipeline(
    const Handle< GraphicsPipeline_t > & handle
) const

Reimplements: KDGpu::ResourceManager::getGraphicsPipeline

function createComputePipeline

1
2
3
4
virtual Handle< ComputePipeline_t > createComputePipeline(
    const Handle< Device_t > & deviceHandle,
    const ComputePipelineOptions & options
)

Reimplements: KDGpu::ResourceManager::createComputePipeline

function deleteComputePipeline

1
2
3
virtual void deleteComputePipeline(
    const Handle< ComputePipeline_t > & handle
)

Reimplements: KDGpu::ResourceManager::deleteComputePipeline

function getComputePipeline

1
2
3
virtual VulkanComputePipeline * getComputePipeline(
    const Handle< ComputePipeline_t > & handle
) const

Reimplements: KDGpu::ResourceManager::getComputePipeline

function createRayTracingPipeline

1
2
3
4
virtual Handle< RayTracingPipeline_t > createRayTracingPipeline(
    const Handle< Device_t > & deviceHandle,
    const RayTracingPipelineOptions & options
)

Reimplements: KDGpu::ResourceManager::createRayTracingPipeline

function deleteRayTracingPipeline

1
2
3
virtual void deleteRayTracingPipeline(
    const Handle< RayTracingPipeline_t > & handle
)

Reimplements: KDGpu::ResourceManager::deleteRayTracingPipeline

function getRayTracingPipeline

1
2
3
virtual VulkanRayTracingPipeline * getRayTracingPipeline(
    const Handle< RayTracingPipeline_t > & handle
) const

Reimplements: KDGpu::ResourceManager::getRayTracingPipeline

function createGpuSemaphore

1
2
3
4
virtual Handle< GpuSemaphore_t > createGpuSemaphore(
    const Handle< Device_t > & deviceHandle,
    const GpuSemaphoreOptions & options
)

Reimplements: KDGpu::ResourceManager::createGpuSemaphore

function deleteGpuSemaphore

1
2
3
virtual void deleteGpuSemaphore(
    const Handle< GpuSemaphore_t > & handle
)

Reimplements: KDGpu::ResourceManager::deleteGpuSemaphore

function getGpuSemaphore

1
2
3
virtual VulkanGpuSemaphore * getGpuSemaphore(
    const Handle< GpuSemaphore_t > & handle
) const

Reimplements: KDGpu::ResourceManager::getGpuSemaphore

function createCommandRecorder

1
2
3
4
virtual Handle< CommandRecorder_t > createCommandRecorder(
    const Handle< Device_t > & deviceHandle,
    const CommandRecorderOptions & options
)

Reimplements: KDGpu::ResourceManager::createCommandRecorder

function deleteCommandRecorder

1
2
3
virtual void deleteCommandRecorder(
    const Handle< CommandRecorder_t > & handle
)

Reimplements: KDGpu::ResourceManager::deleteCommandRecorder

function getCommandRecorder

1
2
3
virtual VulkanCommandRecorder * getCommandRecorder(
    const Handle< CommandRecorder_t > & handle
) const

Reimplements: KDGpu::ResourceManager::getCommandRecorder

function createRenderPassCommandRecorder

1
2
3
4
5
virtual Handle< RenderPassCommandRecorder_t > createRenderPassCommandRecorder(
    const Handle< Device_t > & deviceHandle,
    const Handle< CommandRecorder_t > & commandRecorderHandle,
    const RenderPassCommandRecorderOptions & options
)

Reimplements: KDGpu::ResourceManager::createRenderPassCommandRecorder

function deleteRenderPassCommandRecorder

1
2
3
virtual void deleteRenderPassCommandRecorder(
    const Handle< RenderPassCommandRecorder_t > & handle
)

Reimplements: KDGpu::ResourceManager::deleteRenderPassCommandRecorder

function getRenderPassCommandRecorder

1
2
3
virtual VulkanRenderPassCommandRecorder * getRenderPassCommandRecorder(
    const Handle< RenderPassCommandRecorder_t > & handle
) const

Reimplements: KDGpu::ResourceManager::getRenderPassCommandRecorder

function createComputePassCommandRecorder

1
2
3
4
5
virtual Handle< ComputePassCommandRecorder_t > createComputePassCommandRecorder(
    const Handle< Device_t > & deviceHandle,
    const Handle< CommandRecorder_t > & commandRecorderHandle,
    const ComputePassCommandRecorderOptions & options
)

Reimplements: KDGpu::ResourceManager::createComputePassCommandRecorder

function deleteComputePassCommandRecorder

1
2
3
virtual void deleteComputePassCommandRecorder(
    const Handle< ComputePassCommandRecorder_t > & handle
)

Reimplements: KDGpu::ResourceManager::deleteComputePassCommandRecorder

function getComputePassCommandRecorder

1
2
3
virtual VulkanComputePassCommandRecorder * getComputePassCommandRecorder(
    const Handle< ComputePassCommandRecorder_t > & handle
) const

Reimplements: KDGpu::ResourceManager::getComputePassCommandRecorder

function deleteRayTracingPassCommandRecorder

1
2
3
virtual void deleteRayTracingPassCommandRecorder(
    const Handle< RayTracingPassCommandRecorder_t > & handle
)

Reimplements: KDGpu::ResourceManager::deleteRayTracingPassCommandRecorder

function getRayTracingPassCommandRecorder

1
2
3
virtual VulkanRayTracingPassCommandRecorder * getRayTracingPassCommandRecorder(
    const Handle< RayTracingPassCommandRecorder_t > & handle
) const

Reimplements: KDGpu::ResourceManager::getRayTracingPassCommandRecorder

function createRayTracingPassCommandRecorder

1
2
3
4
5
virtual Handle< RayTracingPassCommandRecorder_t > createRayTracingPassCommandRecorder(
    const Handle< Device_t > & deviceHandle,
    const Handle< CommandRecorder_t > & commandRecorderHandle,
    const RayTracingPassCommandRecorderOptions & options
)

Reimplements: KDGpu::ResourceManager::createRayTracingPassCommandRecorder

function createTimestampQueryRecorder

1
2
3
4
5
virtual Handle< TimestampQueryRecorder_t > createTimestampQueryRecorder(
    const Handle< Device_t > & deviceHandle,
    const Handle< CommandRecorder_t > & commandRecorderHandle,
    const TimestampQueryRecorderOptions & options
)

Reimplements: KDGpu::ResourceManager::createTimestampQueryRecorder

function deleteTimestampQueryRecorder

1
2
3
virtual void deleteTimestampQueryRecorder(
    const Handle< TimestampQueryRecorder_t > & handle
)

Reimplements: KDGpu::ResourceManager::deleteTimestampQueryRecorder

function getTimestampQueryRecorder

1
2
3
virtual VulkanTimestampQueryRecorder * getTimestampQueryRecorder(
    const Handle< TimestampQueryRecorder_t > & handle
) const

Reimplements: KDGpu::ResourceManager::getTimestampQueryRecorder

function createCommandBuffer

1
2
3
4
5
virtual Handle< CommandBuffer_t > createCommandBuffer(
    const Handle< Device_t > & deviceHandle,
    const QueueDescription & queueDescription,
    CommandBufferLevel commandLevel
)

Reimplements: KDGpu::ResourceManager::createCommandBuffer

function deleteCommandBuffer

1
2
3
virtual void deleteCommandBuffer(
    const Handle< CommandBuffer_t > & handle
)

Reimplements: KDGpu::ResourceManager::deleteCommandBuffer

function getCommandBuffer

1
2
3
virtual VulkanCommandBuffer * getCommandBuffer(
    const Handle< CommandBuffer_t > & handle
) const

Reimplements: KDGpu::ResourceManager::getCommandBuffer

function createBindGroup

1
2
3
4
virtual Handle< BindGroup_t > createBindGroup(
    const Handle< Device_t > & deviceHandle,
    const BindGroupOptions & options
)

Reimplements: KDGpu::ResourceManager::createBindGroup

function deleteBindGroup

1
2
3
virtual void deleteBindGroup(
    const Handle< BindGroup_t > & handle
)

Reimplements: KDGpu::ResourceManager::deleteBindGroup

function getBindGroup

1
2
3
virtual VulkanBindGroup * getBindGroup(
    const Handle< BindGroup_t > & handle
) const

Reimplements: KDGpu::ResourceManager::getBindGroup

function createBindGroupLayout

1
2
3
4
virtual Handle< BindGroupLayout_t > createBindGroupLayout(
    const Handle< Device_t > & deviceHandle,
    const BindGroupLayoutOptions & options
)

Reimplements: KDGpu::ResourceManager::createBindGroupLayout

function deleteBindGroupLayout

1
2
3
virtual void deleteBindGroupLayout(
    const Handle< BindGroupLayout_t > & handle
)

Reimplements: KDGpu::ResourceManager::deleteBindGroupLayout

function getBindGroupLayout

1
2
3
virtual VulkanBindGroupLayout * getBindGroupLayout(
    const Handle< BindGroupLayout_t > & handle
) const

Reimplements: KDGpu::ResourceManager::getBindGroupLayout

function createSampler

1
2
3
4
virtual Handle< Sampler_t > createSampler(
    const Handle< Device_t > & deviceHandle,
    const SamplerOptions & options
)

Reimplements: KDGpu::ResourceManager::createSampler

function deleteSampler

1
2
3
virtual void deleteSampler(
    const Handle< Sampler_t > & handle
)

Reimplements: KDGpu::ResourceManager::deleteSampler

function getSampler

1
2
3
virtual VulkanSampler * getSampler(
    const Handle< Sampler_t > & handle
) const

Reimplements: KDGpu::ResourceManager::getSampler

function createFence

1
2
3
4
virtual Handle< Fence_t > createFence(
    const Handle< Device_t > & deviceHandle,
    const FenceOptions & options
)

Reimplements: KDGpu::ResourceManager::createFence

function deleteFence

1
2
3
virtual void deleteFence(
    const Handle< Fence_t > & handle
)

Reimplements: KDGpu::ResourceManager::deleteFence

function getFence

1
2
3
virtual VulkanFence * getFence(
    const Handle< Fence_t > & handle
) const

Reimplements: KDGpu::ResourceManager::getFence

function createAccelerationStructure

1
2
3
4
virtual Handle< AccelerationStructure_t > createAccelerationStructure(
    const Handle< Device_t > & deviceHandle,
    const AccelerationStructureOptions & options
)

Reimplements: KDGpu::ResourceManager::createAccelerationStructure

function deleteAccelerationStructure

1
2
3
virtual void deleteAccelerationStructure(
    const Handle< AccelerationStructure_t > & handle
)

Reimplements: KDGpu::ResourceManager::deleteAccelerationStructure

function getAccelerationStructure

1
2
3
virtual VulkanAccelerationStructure * getAccelerationStructure(
    const Handle< AccelerationStructure_t > & handle
) const

Reimplements: KDGpu::ResourceManager::getAccelerationStructure

function getMemoryStats

1
2
3
std::string getMemoryStats(
    const Handle< Device_t > & device
) const

function formatFromTextureView

1
2
3
KDGpu::Format formatFromTextureView(
    const Handle< TextureView_t > & viewHandle
) const

Updated on 2024-12-22 at 00:08:03 +0000