Module texture

Source
Expand description

Wrapper around [wgpu::Texture].

Modules§

mips
Mip-map generation.

Structs§

BufferDimensions
Helper for retreiving an image from a texture.
CopiedTextureBuffer
Helper for retreiving a rendered frame.
DepthTexture
A depth texture.
MappedBuffer
A buffer that is being mapped.
Texture
A texture living on the GPU.

Enums§

TextureError
Enumeration of errors produced by Texture.

Functions§

read_depth_texture_f32
read_depth_texture_to_image
wgpu_texture_format_channels_and_subpixel_bytes
wgpu_texture_format_channels_and_subpixel_bytes_todo
Panics