GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
WGpuTextureDescriptor Struct Reference

#include <lib_webgpu.h>

Public Attributes

uint32_t width
uint32_t height
uint32_t depthOrArrayLayers
uint32_t mipLevelCount
uint32_t sampleCount
WGPU_TEXTURE_DIMENSION dimension
WGPU_TEXTURE_FORMAT format
WGPU_TEXTURE_USAGE_FLAGS usage
int numViewFormats
WGPU_TEXTURE_FORMAT * viewFormats

Member Data Documentation

◆ depthOrArrayLayers

uint32_t WGpuTextureDescriptor::depthOrArrayLayers

◆ dimension

WGPU_TEXTURE_DIMENSION WGpuTextureDescriptor::dimension

◆ format

WGPU_TEXTURE_FORMAT WGpuTextureDescriptor::format

◆ height

uint32_t WGpuTextureDescriptor::height

◆ mipLevelCount

uint32_t WGpuTextureDescriptor::mipLevelCount

◆ numViewFormats

int WGpuTextureDescriptor::numViewFormats

◆ sampleCount

uint32_t WGpuTextureDescriptor::sampleCount

◆ usage

WGPU_TEXTURE_USAGE_FLAGS WGpuTextureDescriptor::usage

◆ viewFormats

WGPU_TEXTURE_FORMAT* WGpuTextureDescriptor::viewFormats

◆ width

uint32_t WGpuTextureDescriptor::width

The documentation for this struct was generated from the following file: