Struct rps_sys::RpsRuntimeResourceInfo
source · #[repr(C)]pub struct RpsRuntimeResourceInfo {
pub hResource: RpsRuntimeResource,
pub resourceDesc: RpsResourceDesc,
pub numSubresources: u32,
pub fullRange: RpsSubresourceRange,
pub heapId: RpsHeapId,
pub allocInfo: RpsGpuMemoryRequirement,
}Expand description
Parameters of a runtime resource.
Fields§
§hResource: RpsRuntimeResourceHandle to the resource created by the API backend.
resourceDesc: RpsResourceDescResource description.
numSubresources: u32Number of subresources in the entire resource.
fullRange: RpsSubresourceRangeRange spanning all subresources.
heapId: RpsHeapIdID of the heap its memory is placed in.
allocInfo: RpsGpuMemoryRequirementAllocation parameters of the resource.
Trait Implementations§
source§impl Clone for RpsRuntimeResourceInfo
impl Clone for RpsRuntimeResourceInfo
source§fn clone(&self) -> RpsRuntimeResourceInfo
fn clone(&self) -> RpsRuntimeResourceInfo
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