#include <Texture.h>
|
static std::unique_ptr< CTexture > | Create (CDevice *device, const char *name, const Type type, const uint32_t usage, const Format format, const uint32_t width, const uint32_t height, const Sampler::Desc &defaultSamplerDesc, const uint32_t MIPLevelCount, const uint32_t sampleCount) |
|
static std::unique_ptr< CTexture > | WrapBackbufferImage (CDevice *device, const char *name, const VkImage image, const VkFormat format, const VkImageUsageFlags usage, const uint32_t width, const uint32_t height) |
|
static std::unique_ptr< CTexture > | CreateReadback (CDevice *device, const char *name, const Format format, const uint32_t width, const uint32_t height) |
|
◆ ~CTexture()
◆ CTexture()
CTexture::CTexture |
( |
CDevice * |
device | ) |
|
|
private |
◆ Create()
◆ CreateReadback()
◆ GetAttachmentImageAspectMask()
VkImageAspectFlags Renderer::Backend::Vulkan::CTexture::GetAttachmentImageAspectMask |
( |
| ) |
|
|
inline |
◆ GetAttachmentImageView()
VkImageView Renderer::Backend::Vulkan::CTexture::GetAttachmentImageView |
( |
| ) |
|
|
inline |
◆ GetDevice()
◆ GetDeviceMemory()
VkDeviceMemory Renderer::Backend::Vulkan::CTexture::GetDeviceMemory |
( |
| ) |
|
|
inline |
◆ GetFormat()
Format Renderer::Backend::Vulkan::CTexture::GetFormat |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetHeight()
uint32_t Renderer::Backend::Vulkan::CTexture::GetHeight |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetImage()
VkImage Renderer::Backend::Vulkan::CTexture::GetImage |
( |
| ) |
|
|
inline |
◆ GetLayerCount()
uint32_t Renderer::Backend::Vulkan::CTexture::GetLayerCount |
( |
| ) |
const |
|
inline |
◆ GetMappedData()
void * Renderer::Backend::Vulkan::CTexture::GetMappedData |
( |
| ) |
|
|
inline |
- Returns
- mapped data for readback textures else returns nullptr.
◆ GetMIPLevelCount()
uint32_t Renderer::Backend::Vulkan::CTexture::GetMIPLevelCount |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetSampleCount()
uint32_t Renderer::Backend::Vulkan::CTexture::GetSampleCount |
( |
| ) |
const |
|
inline |
◆ GetSampler()
VkSampler Renderer::Backend::Vulkan::CTexture::GetSampler |
( |
| ) |
|
|
inline |
◆ GetSamplerImageAspectMask()
VkImageAspectFlags Renderer::Backend::Vulkan::CTexture::GetSamplerImageAspectMask |
( |
| ) |
|
|
inline |
◆ GetSamplerImageView()
VkImageView Renderer::Backend::Vulkan::CTexture::GetSamplerImageView |
( |
| ) |
|
|
inline |
◆ GetType()
Type Renderer::Backend::Vulkan::CTexture::GetType |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetUID()
◆ GetUsage()
uint32_t Renderer::Backend::Vulkan::CTexture::GetUsage |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetVkFormat()
VkFormat Renderer::Backend::Vulkan::CTexture::GetVkFormat |
( |
| ) |
const |
|
inline |
◆ GetWidth()
uint32_t Renderer::Backend::Vulkan::CTexture::GetWidth |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ IsCompareEnabled()
bool Renderer::Backend::Vulkan::CTexture::IsCompareEnabled |
( |
| ) |
|
|
inline |
◆ IsInitialized()
bool Renderer::Backend::Vulkan::CTexture::IsInitialized |
( |
| ) |
const |
|
inline |
◆ SetInitialized()
void Renderer::Backend::Vulkan::CTexture::SetInitialized |
( |
| ) |
|
|
inline |
◆ WrapBackbufferImage()
std::unique_ptr< CTexture > CTexture::WrapBackbufferImage |
( |
CDevice * |
device, |
|
|
const char * |
name, |
|
|
const VkImage |
image, |
|
|
const VkFormat |
format, |
|
|
const VkImageUsageFlags |
usage, |
|
|
const uint32_t |
width, |
|
|
const uint32_t |
height |
|
) |
| |
|
staticprivate |
◆ CDevice
◆ CSwapChain
◆ m_Allocation
VmaAllocation Renderer::Backend::Vulkan::CTexture::m_Allocation {} |
|
private |
◆ m_AllocationInfo
VmaAllocationInfo Renderer::Backend::Vulkan::CTexture::m_AllocationInfo {} |
|
private |
◆ m_AttachmentImageAspectMask
VkImageAspectFlags Renderer::Backend::Vulkan::CTexture::m_AttachmentImageAspectMask = 0 |
|
private |
◆ m_AttachmentImageView
VkImageView Renderer::Backend::Vulkan::CTexture::m_AttachmentImageView = VK_NULL_HANDLE |
|
private |
◆ m_Device
CDevice* Renderer::Backend::Vulkan::CTexture::m_Device = nullptr |
|
private |
◆ m_Format
◆ m_Height
uint32_t Renderer::Backend::Vulkan::CTexture::m_Height = 0 |
|
private |
◆ m_Image
VkImage Renderer::Backend::Vulkan::CTexture::m_Image = VK_NULL_HANDLE |
|
private |
◆ m_Initialized
bool Renderer::Backend::Vulkan::CTexture::m_Initialized = false |
|
private |
◆ m_IsCompareEnabled
bool Renderer::Backend::Vulkan::CTexture::m_IsCompareEnabled = false |
|
private |
◆ m_LayerCount
uint32_t Renderer::Backend::Vulkan::CTexture::m_LayerCount = 0 |
|
private |
◆ m_MIPLevelCount
uint32_t Renderer::Backend::Vulkan::CTexture::m_MIPLevelCount = 0 |
|
private |
◆ m_SampleCount
uint32_t Renderer::Backend::Vulkan::CTexture::m_SampleCount = 0 |
|
private |
◆ m_Sampler
VkSampler Renderer::Backend::Vulkan::CTexture::m_Sampler = VK_NULL_HANDLE |
|
private |
◆ m_SamplerImageAspectMask
VkImageAspectFlags Renderer::Backend::Vulkan::CTexture::m_SamplerImageAspectMask = 0 |
|
private |
◆ m_SamplerImageView
VkImageView Renderer::Backend::Vulkan::CTexture::m_SamplerImageView = VK_NULL_HANDLE |
|
private |
◆ m_Type
◆ m_UID
◆ m_Usage
uint32_t Renderer::Backend::Vulkan::CTexture::m_Usage = 0 |
|
private |
◆ m_VkFormat
VkFormat Renderer::Backend::Vulkan::CTexture::m_VkFormat = VK_FORMAT_UNDEFINED |
|
private |
◆ m_Width
uint32_t Renderer::Backend::Vulkan::CTexture::m_Width = 0 |
|
private |
The documentation for this class was generated from the following files:
- /home/docker/jenkins/workspace/technical-docs/source/renderer/backend/vulkan/Texture.h
- /home/docker/jenkins/workspace/technical-docs/source/renderer/backend/vulkan/Texture.cpp