pub struct SpriteInfo {
pub sprite_pipeline: RenderPipeline,
pub sampler: Sampler,
pub vertex_buffer: Buffer,
pub index_buffer: Buffer,
pub camera_bind_group_layout: BindGroupLayout,
pub camera_uniform_buffer: Buffer,
pub camera_bind_group: BindGroup,
pub sprite_texture_sampler_bind_group_layout: BindGroupLayout,
pub quad_matrix_and_uv_instance_buffer: Buffer,
}
Fields§
§sprite_pipeline: RenderPipeline
§sampler: Sampler
§vertex_buffer: Buffer
§index_buffer: Buffer
§camera_bind_group_layout: BindGroupLayout
§camera_uniform_buffer: Buffer
§camera_bind_group: BindGroup
§sprite_texture_sampler_bind_group_layout: BindGroupLayout
§quad_matrix_and_uv_instance_buffer: Buffer
Implementations§
Source§impl SpriteInfo
impl SpriteInfo
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for SpriteInfo
impl !RefUnwindSafe for SpriteInfo
impl Send for SpriteInfo
impl Sync for SpriteInfo
impl Unpin for SpriteInfo
impl !UnwindSafe for SpriteInfo
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more