#include <DawnTypesPriv.h>
|
wgpu::TextureFormat | fFormat = wgpu::TextureFormat::Undefined |
|
wgpu::TextureFormat | fViewFormat = wgpu::TextureFormat::Undefined |
|
wgpu::TextureUsage | fUsage = wgpu::TextureUsage::None |
|
wgpu::TextureAspect | fAspect = wgpu::TextureAspect::All |
|
wgpu::YCbCrVkDescriptor | fYcbcrVkDescriptor = {} |
|
uint32_t | fSlice = 0 |
|
Definition at line 16 of file DawnTypesPriv.h.
◆ DawnTextureSpec() [1/2]
skgpu::graphite::DawnTextureSpec::DawnTextureSpec |
( |
| ) |
|
|
default |
◆ DawnTextureSpec() [2/2]
skgpu::graphite::DawnTextureSpec::DawnTextureSpec |
( |
const DawnTextureInfo & |
info | ) |
|
|
inline |
Definition at line 18 of file DawnTypesPriv.h.
23#if !defined(__EMSCRIPTEN__)
25#endif
27 }
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
wgpu::TextureUsage fUsage
wgpu::TextureAspect fAspect
wgpu::YCbCrVkDescriptor fYcbcrVkDescriptor
wgpu::TextureFormat fFormat
wgpu::TextureFormat fViewFormat
◆ getViewFormat()
wgpu::TextureFormat skgpu::graphite::DawnTextureSpec::getViewFormat |
( |
| ) |
const |
|
inline |
◆ isCompatible()
bool skgpu::graphite::DawnTextureSpec::isCompatible |
( |
const DawnTextureSpec & |
that | ) |
const |
|
inline |
Definition at line 38 of file DawnTypesPriv.h.
38 {
39
40
41
43#if !defined(__EMSCRIPTEN__)
44 IsEqualToYCbCrVkDescriptorField(that.fYcbcrVkDescriptor) &&
45#endif
47 }
wgpu::TextureFormat getViewFormat() const
◆ operator==()
bool skgpu::graphite::DawnTextureSpec::operator== |
( |
const DawnTextureSpec & |
that | ) |
const |
|
inline |
Definition at line 29 of file DawnTypesPriv.h.
29 {
32#if !defined(__EMSCRIPTEN__)
33 IsEqualToYCbCrVkDescriptorField(that.fYcbcrVkDescriptor) &&
34#endif
36 }
◆ toString()
SkString skgpu::graphite::DawnTextureSpec::toString |
( |
| ) |
const |
Definition at line 12 of file DawnTypesPriv.cpp.
12 {
13 return SkStringPrintf(
"format=0x%08X,viewFormat=0x%08X,usage=0x%08X,aspect=0x%08X,slice=%u",
14 static_cast<unsigned int>(
fFormat),
16 static_cast<unsigned int>(
fUsage),
17 static_cast<unsigned int>(
fAspect),
19}
SK_API SkString SkStringPrintf(const char *format,...) SK_PRINTF_LIKE(1
Creates a new string and writes into it using a printf()-style format.
◆ fAspect
wgpu::TextureAspect skgpu::graphite::DawnTextureSpec::fAspect = wgpu::TextureAspect::All |
◆ fFormat
wgpu::TextureFormat skgpu::graphite::DawnTextureSpec::fFormat = wgpu::TextureFormat::Undefined |
◆ fSlice
uint32_t skgpu::graphite::DawnTextureSpec::fSlice = 0 |
◆ fUsage
wgpu::TextureUsage skgpu::graphite::DawnTextureSpec::fUsage = wgpu::TextureUsage::None |
◆ fViewFormat
wgpu::TextureFormat skgpu::graphite::DawnTextureSpec::fViewFormat = wgpu::TextureFormat::Undefined |
◆ fYcbcrVkDescriptor
wgpu::YCbCrVkDescriptor skgpu::graphite::DawnTextureSpec::fYcbcrVkDescriptor = {} |
The documentation for this struct was generated from the following files: