Skip to content

KDGpu::ApiTexture

Module: API

ApiTexture.

#include <api_texture.h>

Inherited by KDGpu::VulkanTexture

Public Functions

Name
virtual void * map() =0
virtual void unmap() =0
virtual SubresourceLayout getSubresourceLayout(const TextureSubresource & subresource) const =0
virtual MemoryHandle externalMemoryHandle() const =0

Public Functions Documentation

function map

1
virtual void * map() =0

Reimplemented by: KDGpu::VulkanTexture::map

function unmap

1
virtual void unmap() =0

Reimplemented by: KDGpu::VulkanTexture::unmap

function getSubresourceLayout

1
2
3
virtual SubresourceLayout getSubresourceLayout(
    const TextureSubresource & subresource
) const =0

Reimplemented by: KDGpu::VulkanTexture::getSubresourceLayout

function externalMemoryHandle

1
virtual MemoryHandle externalMemoryHandle() const =0

Reimplemented by: KDGpu::VulkanTexture::externalMemoryHandle


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