pub unsafe trait BufferViewAbstract: VulkanObject<Object = BufferView> + DeviceOwned + Send + Sync {
fn buffer(&self) -> Arc<dyn BufferAccess>;
fn format(&self) -> Option<Format>;
fn format_features(&self) -> &FormatFeatures;
}
Required methods
fn buffer(&self) -> Arc<dyn BufferAccess>
fn buffer(&self) -> Arc<dyn BufferAccess>
Returns the wrapped buffer that this buffer view was created from.
fn format_features(&self) -> &FormatFeatures
fn format_features(&self) -> &FormatFeatures
Returns the features supported by the buffer view’s format.