# enum hiro::draw::ColorSource

## Overview

Available sources of color information. More…

    #include <ElementRenderer.h>

    enum ColorSource {
        material       = 0,
        positions      = 1,
        normals        = 2,
        custom         = 3,
        normals_n      = 4,
        checkerboard   = 5,
        albedo_texture = 6,
    };

## Detailed Documentation

Available sources of color information.

### Enum Values

    material

Color is taken from the material.

    positions

Raw 3D positions are used to represent colors.

    normals

Raw 3D normals are used to represent colors.

    normals_n

Vertex color attribute used to get colors.

3D normals mapped to the visible color range.

    checkerboard

Checkerboard texture used to get colors.

    albedo_texture

Albedo texture used to get colors.