Struct rps_sys::RpsGpuMemoryRequirement
source · #[repr(C)]pub struct RpsGpuMemoryRequirement {
pub size: u64,
pub alignment: u32,
pub memoryTypeIndex: RpsIndex32,
}Expand description
Required parameters for a GPU memory allocation.
Fields§
§size: u64Size of the allocation in bytes.
alignment: u32Minimum alignment required by the allocation in bytes.
memoryTypeIndex: RpsIndex32Index for the type of memory the allocation should be created from. API backend
Trait Implementations§
source§impl Clone for RpsGpuMemoryRequirement
impl Clone for RpsGpuMemoryRequirement
source§fn clone(&self) -> RpsGpuMemoryRequirement
fn clone(&self) -> RpsGpuMemoryRequirement
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