pub struct RenderSessionCapabilities {
pub driver: RenderDriverKind,
pub texture_ring_depth: u32,
pub flags: RenderSessionCapabilityFlag,
pub producer_sync_kind: GpuSyncKind,
pub consumer_sync_kinds: GpuSyncKindFlag,
}Expand description
What an attached render session supports.
See mln_render_session_capabilities in the
C API reference.
Fields§
§driver: RenderDriverKind§texture_ring_depth: u32How many textures the session’s texture ring has.
flags: RenderSessionCapabilityFlag§producer_sync_kind: GpuSyncKindThe kind of GpuSync that AcquiredFrameView::get_producer_sync()
reports.
consumer_sync_kinds: GpuSyncKindFlagThe kinds of GpuSync that AcquiredFrameHandle::release() accepts.
They depend on the target and on what the device supports.
Trait Implementations§
Source§impl Clone for RenderSessionCapabilities
impl Clone for RenderSessionCapabilities
Source§fn clone(&self) -> RenderSessionCapabilities
fn clone(&self) -> RenderSessionCapabilities
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RenderSessionCapabilities
Source§impl Debug for RenderSessionCapabilities
impl Debug for RenderSessionCapabilities
impl StructuralPartialEq for RenderSessionCapabilities
Auto Trait Implementations§
impl Freeze for RenderSessionCapabilities
impl RefUnwindSafe for RenderSessionCapabilities
impl Send for RenderSessionCapabilities
impl Sync for RenderSessionCapabilities
impl Unpin for RenderSessionCapabilities
impl UnsafeUnpin for RenderSessionCapabilities
impl UnwindSafe for RenderSessionCapabilities
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
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