Skip to content

KDGpu::TextureViewOptions

#include <texture_view_options.h>

Public Attributes

Name
std::string_view label
ViewType viewType
Format format
TextureSubresourceRange range
OptionalHandle< YCbCrConversion_t > yCbCrConversion
ComponentMapping components

Public Attributes Documentation

variable label

1
std::string_view label;

Note: The caller is responsible for ensuring the string referenced by label outlives this options object.

variable viewType

1
ViewType viewType { ViewType::ViewType2D };

variable format

1
Format format { Format::UNDEFINED };

variable range

1
TextureSubresourceRange range {};

variable yCbCrConversion

1
OptionalHandle< YCbCrConversion_t > yCbCrConversion;

variable components

1
2
3
4
5
6
ComponentMapping components {
        .r = ComponentSwizzle::Identity,
        .g = ComponentSwizzle::Identity,
        .b = ComponentSwizzle::Identity,
        .a = ComponentSwizzle::Identity,
    };

Updated on 2026-11-07 at 00:01:26 +0000