Skip to main content

Module texture_array

Module texture_array 

Source

Structs§

GPUTextureArray
A 2D texture array uploaded to the GPU, ready to bind (e.g. via BindingInstanceEntry::TextureArray). Opaque — bind it via BindGroupBuilder::texture_array.
TextureArray
Source data for GPUTextureArray. Fields are private — build one via the from_files/from_data/empty constructors rather than as a struct literal.
TextureArrayPlugin
Registers the GPUTextureArray asset pipeline (Assets<TextureArray>ProcessedAssets<GPUTextureArray>), plus the MipmapGenerator it depends on for generate_mips. Included by WGPUPlugin; add directly only if you’re assembling the wgpu module’s plugins by hand.