pub struct FrameSystem { /* private fields */ }
Expand description
System that contains the necessary facilities for rendering a single frame.
Implementations§
Source§impl FrameSystem
impl FrameSystem
Sourcepub fn new(
gfx_queue: Arc<Queue>,
final_output_format: Format,
dims: [u32; 2],
) -> FrameSystem
pub fn new( gfx_queue: Arc<Queue>, final_output_format: Format, dims: [u32; 2], ) -> FrameSystem
Creates and initializes a new frame system.
pub fn pass_builder<F>(
&mut self,
before_future: F,
img_num: usize,
screen_to_camera: Matrix4<f32>,
to_camera_space: Space,
) -> PassBuilder<'_>where
F: GpuFuture + 'static,
pub fn rebuild_dims( &mut self, images: &[Arc<ImageView<Arc<SwapchainImage<Window>>>>], )
Auto Trait Implementations§
impl !Freeze for FrameSystem
impl !RefUnwindSafe for FrameSystem
impl Send for FrameSystem
impl Sync for FrameSystem
impl Unpin for FrameSystem
impl !UnwindSafe for FrameSystem
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> Content for T
impl<T> Content for T
Source§fn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
fn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
Builds a pointer to this type from a raw pointer.
Source§fn is_size_suitable(size: usize) -> bool
fn is_size_suitable(size: usize) -> bool
Returns true if the size is suitable to store a type like this.
Source§fn indiv_size() -> usize
fn indiv_size() -> usize
Returns the size of an individual element.
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