Struct rust_rpg_toolkit::prelude::MaterialParams [−][src]
pub struct MaterialParams {
pub pipeline_params: PipelineParams,
pub uniforms: Vec<(String, UniformType), Global>,
pub textures: Vec<String, Global>,
}Expand description
Params used for material loading. It is not possible to change material params at runtime, so this struct is used only once - at “load_material”.
Fields
pipeline_params: PipelineParamsminiquad pipeline configuration for this material. Things like blending, culling, depth dest
uniforms: Vec<(String, UniformType), Global>List of custom uniforms used in this material
textures: Vec<String, Global>List of textures used in this material
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for MaterialParams
impl Send for MaterialParams
impl Sync for MaterialParams
impl Unpin for MaterialParams
impl UnwindSafe for MaterialParams
Blanket Implementations
Mutably borrows from an owned value. Read more