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
@brief Parameters of a runtime resource.
Fields§
§hResource: RpsRuntimeResource< Handle to the resource created by the API backend.
resourceDesc: RpsResourceDesc< Resource description.
numSubresources: u32< Number of subresources in the entire resource.
fullRange: RpsSubresourceRange< Range spanning all subresources.
heapId: RpsHeapId< ID of the heap its memory is placed in.
allocInfo: RpsGpuMemoryRequirement< Allocation 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