pub struct GlowBatch {
pub shader_program: Option<Program>,
pub uniforms: HashMap<Cow<'static, str>, GlowUniformValue>,
pub textures: Vec<(Texture, u32, i32, i32)>,
pub blending: Option<(u32, u32)>,
pub scissor: Option<[i32; 4]>,
}
Fields§
§shader_program: Option<Program>
§uniforms: HashMap<Cow<'static, str>, GlowUniformValue>
§textures: Vec<(Texture, u32, i32, i32)>
[(texture object, texture target, min filter, mag filter)?]
blending: Option<(u32, u32)>
(source, destination)?
scissor: Option<[i32; 4]>
[x, y, width, height]?
Implementations§
Trait Implementations§
Source§impl Into<GlowBatch> for GraphicsBatch
impl Into<GlowBatch> for GraphicsBatch
impl StructuralPartialEq for GlowBatch
Auto Trait Implementations§
impl Freeze for GlowBatch
impl RefUnwindSafe for GlowBatch
impl Send for GlowBatch
impl Sync for GlowBatch
impl Unpin for GlowBatch
impl UnwindSafe for GlowBatch
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