Struct amethyst_renderer::ConstantColorTexture
[−]
[src]
pub struct ConstantColorTexture<R: Resources> { /* fields omitted */ }
Tiny 1x1 texture that can be used to store constant colors.
Methods
impl<R: Resources> ConstantColorTexture<R>
[src]
fn new<F>(factory: &mut F) -> ConstantColorTexture<R> where
F: Factory<R>,
F: Factory<R>,
Create a new ConstantColorTexture
from the given factory.
Trait Implementations
impl<R: Clone + Resources> Clone for ConstantColorTexture<R>
[src]
fn clone(&self) -> ConstantColorTexture<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