Struct asche::BufferViewDescriptor [−][src]
pub struct BufferViewDescriptor<'a, LT: Lifetime> { pub name: &'a str, pub buffer: &'a Buffer<LT>, pub format: Format, pub offset: DeviceSize, pub range: u64, pub flags: Option<BufferViewCreateFlags>, }
Expand description
Describes how an buffer view should be configured.
Fields
name: &'a str
Name used for debugging.
buffer: &'a Buffer<LT>
The handle of the buffer.
format: Format
The format of the buffer view.
offset: DeviceSize
Offset.
range: u64
Range.
flags: Option<BufferViewCreateFlags>
Additional flags.
Trait Implementations
Auto Trait Implementations
impl<'a, LT> !RefUnwindSafe for BufferViewDescriptor<'a, LT>
impl<'a, LT> Send for BufferViewDescriptor<'a, LT> where
LT: Send + Sync,
impl<'a, LT> Sync for BufferViewDescriptor<'a, LT> where
LT: Send + Sync,
impl<'a, LT> Unpin for BufferViewDescriptor<'a, LT>
impl<'a, LT> !UnwindSafe for BufferViewDescriptor<'a, LT>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more