#[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: u64

Index of the current frame to be recorded after the update.

§gpuCompletedFrameIndex: u64

Index of the last frame that finished executing on the GPU. Used for resource lifetime management.

§scheduleFlags: RpsScheduleFlags

Flags for scheduling behavior. Used for overriding flags specified at creation.

§diagnosticFlags: RpsDiagnosticFlags

Flags for enabling diagnostics systems during the render graph update.

§numArgs: u32

Number 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 RpsConstant

Pointer to an array of RpsConstant with numArgs constant arguments to pass to the entry. Must not be NULL if numArgs != 0.

§ppArgResources: *const *const RpsRuntimeResource

Pointer 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_rpsRenderGraphBuild

Pointer to a function for starting the render graph building process.

§pRandomNumberGenerator: *const RpsRandomNumberGenerator

Pointer to a random number generator.

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.