pub unsafe extern "C" fn rpsCmdBeginRenderPass(
    pContext: *const RpsCmdCallbackContext,
    flags: RpsRuntimeRenderPassFlags
) -> RpsResult
Expand description

@brief Begins a rasterization rendering pass.

This may begin e.g. a VkRenderPass or set up render targets and viewport/scissor rect states for APIs that do not support a render pass objects. Usually used for multi-threaded rendering from within a command callback.

@param pContext Pointer to the current command callback context. Must not be NULL. @param flags Flags for the render pass behavior.

@returns Result code of the operation. See RpsResult for more info.