Skip to content

KDGpu::TextureOptions

#include <texture_options.h>

Public Attributes

Name
std::string_view label
TextureType type
Format format
Extent3D extent
uint32_t mipLevels
uint32_t arrayLayers
SampleCountFlagBits samples
TextureTiling tiling
TextureUsageFlags usage
MemoryUsage memoryUsage
SharingMode sharingMode
std::vector< uint32_t > queueTypeIndices
TextureLayout initialLayout
ExternalMemoryHandleTypeFlags externalMemoryHandleType

Public Attributes Documentation

variable label

1
std::string_view label;

variable type

1
TextureType type;

variable format

1
Format format;

variable extent

1
Extent3D extent;

variable mipLevels

1
uint32_t mipLevels;

variable arrayLayers

1
uint32_t arrayLayers { 1 };

variable samples

1
SampleCountFlagBits samples { SampleCountFlagBits::Samples1Bit };

variable tiling

1
TextureTiling tiling { TextureTiling::Optimal };

variable usage

1
TextureUsageFlags usage;

variable memoryUsage

1
MemoryUsage memoryUsage;

variable sharingMode

1
SharingMode sharingMode { SharingMode::Exclusive };

variable queueTypeIndices

1
std::vector< uint32_t > queueTypeIndices {};

variable initialLayout

1
TextureLayout initialLayout { TextureLayout::Undefined };

variable externalMemoryHandleType

1
ExternalMemoryHandleTypeFlags externalMemoryHandleType { ExternalMemoryHandleTypeFlagBits::None };

Updated on 2024-07-12 at 03:09:27 +0000