#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 |
|
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.
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
wgpu::TextureUsage fUsage
wgpu::TextureAspect fAspect
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 31 of file DawnTypesPriv.h.
31 {
32
33
36 }
wgpu::TextureFormat getViewFormat() const
◆ operator==()
bool skgpu::graphite::DawnTextureSpec::operator== |
( |
const DawnTextureSpec & |
that | ) |
const |
|
inline |
◆ 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 static SkString SkStringPrintf()
◆ 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 |
The documentation for this struct was generated from the following files: