Struct gfx_voxel::texture::ColorMap [] [src]

pub struct ColorMap(_);

A 256x256 image that stores colors.

Methods

impl ColorMap
[src]

Creates a new ColorMap from path.

Gets RGB color from the color map.