pub struct WG {
pub vips: Vec<VIP>,
pub bind_group: Vec<BindGroup>,
pub bg: usize,
pub mvp: Mat4,
pub uniform_buf: Buffer,
pub pipeline: RenderPipeline,
pub pipeline_wire: Option<RenderPipeline>,
pub wire: bool,
}Expand description
World of GL
Fields§
§vips: Vec<VIP>§bind_group: Vec<BindGroup>§bg: usize§mvp: Mat4§uniform_buf: Buffer§pipeline: RenderPipeline§pipeline_wire: Option<RenderPipeline>§wire: boolImplementations§
source§impl WG
impl WG
World of GL
sourcepub fn update_matrix(
&mut self,
config: &SurfaceConfiguration,
_device: &Device,
queue: &Queue,
yrp: &YRP
)
pub fn update_matrix( &mut self, config: &SurfaceConfiguration, _device: &Device, queue: &Queue, yrp: &YRP )
update matrix
sourcepub fn draw(&mut self, view: &TextureView, device: &Device, queue: &Queue)
pub fn draw(&mut self, view: &TextureView, device: &Device, queue: &Queue)
draw
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for WG
impl Send for WG
impl Sync for WG
impl Unpin for WG
impl !UnwindSafe for WG
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