Struct gfx::render::shade::ParamDictionary [] [src]

pub struct ParamDictionary<R: Resources> {
    pub uniforms: Vec<NamedCell<UniformValue>>,
    pub blocks: Vec<NamedCell<RawBuffer<R>>>,
    pub textures: Vec<NamedCell<TextureParam<R>>>,
}

A dictionary of parameters, meant to be shared between different programs

Fields

uniforms

Uniform dictionary

blocks

Block dictionary

textures

Texture dictionary

Trait Implementations

impl<R: Resources> ShaderParam for ParamDictionary<R>

type Resources = R

fn fill_params(&self, link: &ParamDictionaryLink, params: &mut ParamStorage<R>)