Modules§
Structs§
- Compressed
Image Formats - Dynamic
Texture Atlas Builder - Helper utility to update
TextureAtlasLayout
on the fly. - File
Texture Error - An error that occurs when loading a texture from a file.
- Image
- Image
Loader - Loader for images that can be read by the
image
crate. - Image
Loader Settings - Image
Sampler Descriptor - Indicates to an
ImageLoader
how anImage
should be sampled. - Texture
Atlas - An index into a
TextureAtlasLayout
, which corresponds to a specific section of a texture. - Texture
Atlas Builder - A builder which is used to create a texture atlas from many individual sprites.
- Texture
Atlas Layout - Stores a map used to lookup the position of a texture in a
TextureAtlas
. This can be used to either use and look up a specific section of a texture, or animate frame-by-frame as a sprite sheet. - Texture
Atlas Plugin - Adds support for texture atlases.
- Texture
Atlas Sources - Stores a mapping from sub texture handles to the related area index.
Enums§
- Data
Format - Dynamic
Texture Atlas Builder Error - Image
Address Mode - How edges should be handled in texture addressing.
- Image
Compare Function - Comparison function used for depth and stencil operations.
- Image
Filter Mode - Texel mixing mode when sampling between texels.
- Image
Format - Image
Format Setting - Image
Loader Error - Image
Sampler - Used in
Image
, this determines what image sampler to use when rendering. The default setting,ImageSampler::Default
, will read the sampler from theImagePlugin
at setup. Setting this toImageSampler::Descriptor
will override the global default descriptor for thisImage
. - Image
Sampler Border Color - Color variation to use when the sampler addressing mode is
ImageAddressMode::ClampToBorder
. - Image
Type - The type of a raw image buffer.
- Into
Dynamic Image Error - Errors that occur while converting an
Image
into aDynamicImage
- Texture
Access Error - An error that occurs when accessing specific pixels in a texture.
- Texture
Atlas Builder Error - Texture
Error - An error that occurs when loading a texture.
- Transcode
Format - Texture data need to be transcoded from this format for use with
wgpu
.
Constants§
Traits§
- Bevy
Default - Texture
Format Pixel Info - Extends the wgpu
TextureFormat
with information about the pixel. - Volume
- Used to calculate the volume of an item.