Skip to main content

Module render

Module render 

Source
Expand description

Rendering support for voxel chunks.

Provides either a custom texture-array material (ChunkMaterial) or a shared StandardMaterial for vertex-colored voxels, depending on whether ChunkTextureArray is inserted before the plugin initialises.

Re-exports§

pub use material::ChunkMaterial;
pub use material::ChunkMaterialConfig;
pub use material::ChunkMaterialHandle;
pub use material::ChunkRendered;
pub use material::ChunkTextureArray;
pub use material::build_texture_array;
pub use material::chunk_aabb;
pub use material::upgrade_to_texture_material;

Modules§

material
Shared material and rendering components for voxel chunks.

Structs§

RenderPlugin
Plugin that sets up shared rendering resources for voxel chunks.