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-09-08 at 00:13:09 +0000