Struct luminance::shader::program::Sem [] [src]

pub struct Sem { /* fields omitted */ }

A shader uniform semantic. It holds information on the variable it represents such as a name, its type and its dimension.

You can create them from Uniform with the Uniform::sem method.

Methods

impl Sem
[src]

Name of the uniform in the shader program.

Index of the uniform in the shader program.

Type of the uniform in the shader program.

Dimension of the uniform in the shader program.

Trait Implementations

impl Clone for Sem
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Sem
[src]

Formats the value using the given formatter.