WebGPU Headers
The WebGPU C API
 
All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
Loading...
Searching...
No Matches
WGPUTexture methods

Functions whose first argument has type WGPUTexture. More...

Functions

WGPUTextureView wgpuTextureCreateView (WGPUTexture texture, WGPUTextureViewDescriptor const *descriptor)
 
void wgpuTextureDestroy (WGPUTexture texture)
 
uint32_t wgpuTextureGetDepthOrArrayLayers (WGPUTexture texture)
 
WGPUTextureDimension wgpuTextureGetDimension (WGPUTexture texture)
 
WGPUTextureFormat wgpuTextureGetFormat (WGPUTexture texture)
 
uint32_t wgpuTextureGetHeight (WGPUTexture texture)
 
uint32_t wgpuTextureGetMipLevelCount (WGPUTexture texture)
 
uint32_t wgpuTextureGetSampleCount (WGPUTexture texture)
 
WGPUTextureUsage wgpuTextureGetUsage (WGPUTexture texture)
 
uint32_t wgpuTextureGetWidth (WGPUTexture texture)
 
void wgpuTextureSetLabel (WGPUTexture texture, WGPUStringView label)
 
void wgpuTextureAddRef (WGPUTexture texture)
 
void wgpuTextureRelease (WGPUTexture texture)
 

Detailed Description

Functions whose first argument has type WGPUTexture.

Function Documentation

◆ wgpuTextureCreateView()

WGPUTextureView wgpuTextureCreateView ( WGPUTexture texture,
WGPUTextureViewDescriptor const * descriptor )
Returns
This value is Returned with Ownership.

◆ wgpuTextureDestroy()

void wgpuTextureDestroy ( WGPUTexture texture)

◆ wgpuTextureGetDepthOrArrayLayers()

uint32_t wgpuTextureGetDepthOrArrayLayers ( WGPUTexture texture)

◆ wgpuTextureGetDimension()

WGPUTextureDimension wgpuTextureGetDimension ( WGPUTexture texture)

◆ wgpuTextureGetFormat()

WGPUTextureFormat wgpuTextureGetFormat ( WGPUTexture texture)

◆ wgpuTextureGetHeight()

uint32_t wgpuTextureGetHeight ( WGPUTexture texture)

◆ wgpuTextureGetMipLevelCount()

uint32_t wgpuTextureGetMipLevelCount ( WGPUTexture texture)

◆ wgpuTextureGetSampleCount()

uint32_t wgpuTextureGetSampleCount ( WGPUTexture texture)

◆ wgpuTextureGetUsage()

WGPUTextureUsage wgpuTextureGetUsage ( WGPUTexture texture)

◆ wgpuTextureGetWidth()

uint32_t wgpuTextureGetWidth ( WGPUTexture texture)

◆ wgpuTextureSetLabel()

void wgpuTextureSetLabel ( WGPUTexture texture,
WGPUStringView label )

◆ wgpuTextureAddRef()

void wgpuTextureAddRef ( WGPUTexture texture)

◆ wgpuTextureRelease()

void wgpuTextureRelease ( WGPUTexture texture)