bevy_core_pipeline::experimental

Module mip_generation

Source
Expand description

Downsampling of textures to produce mipmap levels.

Currently, this module only supports generation of hierarchical Z buffers for occlusion culling. It’s marked experimental because the shader is designed only for power-of-two texture sizes and is slightly incorrect for non-power-of-two depth buffer sizes.

Structs§

Constants§

Functions§