pub struct GraphicsBatch {
pub shader: Option<Shader>,
pub uniforms: HashMap<Cow<'static, str>, GlowUniformValue>,
pub textures: Vec<(Texture, GlowTextureFiltering)>,
pub blending: GlowBlending,
pub scissor: Option<Rect<i32, i32>>,
}
Fields§
§shader: Option<Shader>
§uniforms: HashMap<Cow<'static, str>, GlowUniformValue>
§textures: Vec<(Texture, GlowTextureFiltering)>
§blending: GlowBlending
(source, destination)?
scissor: Option<Rect<i32, i32>>
Trait Implementations§
Source§impl Clone for GraphicsBatch
impl Clone for GraphicsBatch
Source§fn clone(&self) -> GraphicsBatch
fn clone(&self) -> GraphicsBatch
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GraphicsBatch
impl Debug for GraphicsBatch
Source§impl Default for GraphicsBatch
impl Default for GraphicsBatch
Source§fn default() -> GraphicsBatch
fn default() -> GraphicsBatch
Returns the “default value” for a type. Read more
Source§impl Into<GlowBatch> for GraphicsBatch
impl Into<GlowBatch> for GraphicsBatch
Source§impl PartialEq for GraphicsBatch
impl PartialEq for GraphicsBatch
impl StructuralPartialEq for GraphicsBatch
Auto Trait Implementations§
impl Freeze for GraphicsBatch
impl !RefUnwindSafe for GraphicsBatch
impl !Send for GraphicsBatch
impl !Sync for GraphicsBatch
impl Unpin for GraphicsBatch
impl !UnwindSafe for GraphicsBatch
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more