Struct rps_sys::RpsRenderGraphUpdateInfo
source · #[repr(C)]pub struct RpsRenderGraphUpdateInfo {
pub frameIndex: u64,
pub gpuCompletedFrameIndex: u64,
pub scheduleFlags: RpsScheduleFlags,
pub diagnosticFlags: RpsDiagnosticFlags,
pub numArgs: u32,
pub ppArgs: *const RpsConstant,
pub ppArgResources: *const *const RpsRuntimeResource,
pub pfnBuildCallback: PFN_rpsRenderGraphBuild,
pub pRandomNumberGenerator: *const RpsRandomNumberGenerator,
}Expand description
Parameters for updating a render graph.
@relates RpsRenderGraph
Fields§
§frameIndex: u64Index of the current frame to be recorded after the update.
gpuCompletedFrameIndex: u64Index of the last frame that finished executing on the GPU. Used for resource lifetime management.
scheduleFlags: RpsScheduleFlagsFlags for scheduling behavior. Used for overriding flags specified at creation.
diagnosticFlags: RpsDiagnosticFlagsFlags for enabling diagnostics systems during the render graph update.
numArgs: u32Number of arguments to pass to the entry. Passing less than the number of values from the render graph entry updates only the first numArgs arguments and does not touch any other argument.
ppArgs: *const RpsConstantPointer to an array of RpsConstant with numArgs constant arguments to pass to the entry. Must not be NULL if numArgs != 0.
ppArgResources: *const *const RpsRuntimeResourcePointer to an array of [const RpsRuntimeResource* const] with pointers to externally managed resources used in the render graph. Resource arguments in ppArgs have a corresponding runtime resource (or array) in ppArgResources, at the same index. If e.g. {&backBufferResourceDescription, value} is passed for ppArgs, ppArgResources[0] would have to point to the corresponding RpsRuntimeResource of the backbuffer.
pfnBuildCallback: PFN_rpsRenderGraphBuildPointer to a function for starting the render graph building process.
pRandomNumberGenerator: *const RpsRandomNumberGeneratorPointer to a random number generator.
Trait Implementations§
source§impl Clone for RpsRenderGraphUpdateInfo
impl Clone for RpsRenderGraphUpdateInfo
source§fn clone(&self) -> RpsRenderGraphUpdateInfo
fn clone(&self) -> RpsRenderGraphUpdateInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more