Struct sierra::BufferViewInfo
source · pub struct BufferViewInfo {
pub buffer: Buffer,
pub format: Format,
pub offset: u64,
pub size: u64,
}
Expand description
Information required to create a buffer.
Fields§
§buffer: Buffer
A buffer view is bound to.
format: Format
Size of content buffer can hold.
offset: u64
Offset in bytes from the base address of the buffer.
size: u64
Size in bytes of the buffer view.
Trait Implementations§
source§impl Clone for BufferViewInfo
impl Clone for BufferViewInfo
source§fn clone(&self) -> BufferViewInfo
fn clone(&self) -> BufferViewInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BufferViewInfo
impl Debug for BufferViewInfo
source§impl Hash for BufferViewInfo
impl Hash for BufferViewInfo
source§impl PartialEq<BufferViewInfo> for BufferViewInfo
impl PartialEq<BufferViewInfo> for BufferViewInfo
source§fn eq(&self, other: &BufferViewInfo) -> bool
fn eq(&self, other: &BufferViewInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.