Struct skeletal_animation::skinned_renderer::SkinnedShaderParams []

pub struct SkinnedShaderParams<R: Resources> {
    pub u_model_view_proj: [[f32; 4]; 4],
    pub u_model_view: [[f32; 4]; 4],
    pub u_skinning_transforms: RawBuffer<R>,
    pub u_texture: TextureParam<R>,
    pub _r: PhantomData<R>,
}

Fields

u_model_view_proj: [[f32; 4]; 4] u_model_view: [[f32; 4]; 4] u_skinning_transforms: RawBuffer<R> u_texture: TextureParam<R> _r: PhantomData<R>

Trait Implementations

impl<R: Debug + Resources> Debug for SkinnedShaderParams<R>

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<R: Clone + Resources> Clone for SkinnedShaderParams<R>

fn clone(&self) -> SkinnedShaderParams<R>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

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

type Resources = R

A helper structure to contain variable indices inside the shader

Create a new link to be used with a given program

fn fill_params(&self, link: &Self::Link, storage: &mut ParamStorage<R>)

Get all the contained parameter values, using a given link