Struct luminance::shader::AdaptationFailure [−][src]
pub struct AdaptationFailure<B, Sem, Out, Uni> where
B: Shader, {
pub program: Program<B, Sem, Out, Uni>,
pub error: ProgramError,
}
Expand description
A Program
uniform adaptation that has failed.
Parametricity
B
is the backend type.Sem
is theSemantics
type.Out
is the render target type.Uni
is theUniformInterface
type.
Fields
program: Program<B, Sem, Out, Uni>
Program used before trying to adapt.
error: ProgramError
Program error that prevented to adapt.
Implementations
Get the program and ignore the error.