Struct librashader_runtime::uniforms::NoUniformBinder
source · pub struct NoUniformBinder;Expand description
A uniform binder that always returns None, and does not do any binding of uniforms.
All uniform data is thus written into the backing buffer storage.
Trait Implementations§
source§impl<T> BindUniform<Option<()>, T> for NoUniformBinder
impl<T> BindUniform<Option<()>, T> for NoUniformBinder
source§fn bind_uniform(_: UniformMemberBlock, _: T, _: Option<()>) -> Option<()>
fn bind_uniform(_: UniformMemberBlock, _: T, _: Option<()>) -> Option<()>
Bind the given value to the shader uniforms given the input context. Read more