pub trait FrameOperations:
Sync
+ Send
+ 'static {
type Context<'a>;
type Attachment;
type DepthAttachment;
// Required method
fn begin(&mut self, pass: Pass<'_, Self>) -> Self::Context<'_>;
}Expand description
Operations that can be performed on a single acquired frame.
Implemented by the per-frame type returned from Backend::acquire.
Required Associated Types§
Sourcetype Attachment
type Attachment
A color attachment (e.g. a texture view).
Sourcetype DepthAttachment
type DepthAttachment
A depth attachment (e.g. a depth-stencil texture view).
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".