Struct vulkano::buffer::ExternalBufferInfo
source · pub struct ExternalBufferInfo {
pub handle_type: ExternalMemoryHandleType,
pub usage: BufferUsage,
pub sparse: Option<BufferCreateFlags>,
pub _ne: NonExhaustive,
}
Expand description
The buffer configuration to query in
PhysicalDevice::external_buffer_properties
.
Fields§
§handle_type: ExternalMemoryHandleType
The external handle type that will be used with the buffer.
usage: BufferUsage
The usage that the buffer will have.
sparse: Option<BufferCreateFlags>
The sparse binding parameters that will be used.
_ne: NonExhaustive
Implementations§
source§impl ExternalBufferInfo
impl ExternalBufferInfo
sourcepub fn handle_type(handle_type: ExternalMemoryHandleType) -> Self
pub fn handle_type(handle_type: ExternalMemoryHandleType) -> Self
Returns an ExternalBufferInfo
with the specified handle_type
.
Trait Implementations§
source§impl Clone for ExternalBufferInfo
impl Clone for ExternalBufferInfo
source§fn clone(&self) -> ExternalBufferInfo
fn clone(&self) -> ExternalBufferInfo
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 more