Interface LineMaterialOptions

interface LineMaterialOptions {
    attributes?: {
        [name: string]: AttributeSizeType;
    };
    uniforms?: {
        [name: string]: UniformGlslType;
    };
    version?: GLSLESVersion;
}

Hierarchy

  • MaterialOptions
    • LineMaterialOptions

Properties

attributes?: {
    [name: string]: AttributeSizeType;
}

A mapping from the attribute name to the size of the float or vector. 'aThing': 1 => 'attribute float aThing' 'aThing': 2 => 'attribute vec2 aThing;' 'aThing': 3 => 'attribute vec3 aThing;' 'aThing': 4 => 'attribute vec4 aThing;'

uniforms?: {
    [name: string]: UniformGlslType;
}

A mapping from the uniform name to the type name. For example, 'M': 'mat4' produces 'uniform mat4 M;'.

version?: GLSLESVersion

An optional GLSL version that can be used to override the default algorithm for shader version.