Skip to main content

Module color

Module color 

Source
Expand description

Data types for evaluating shape color

In this module, only ShapeColor and ShapeColorBuffers should be used directly (through direct construction and ShapeColorBuffers::new respectively). Other types are generic and are re-exported with a specific paramerization in an effects module; e.g. the generic ColorWorkspace<C> is specialized to voxel::effects::ColorWorkspace

Structs§

ColorWorkspace
Generic workspace for evaluating diffuse color
ShapeColorBuffers
Color buffers for rendering a shape’s diffuse color

Enums§

ShapeColor
Generic shape color
ShapeColorError
Error type when constructing a ShapeColorBuffers