rrGetSceneBuildMemoryRequirements
Gets memory requirements for scene build.
RRError rrGetSceneBuildMemoryRequirements( |
RRContext context, |
const RRSceneBuildInput* build_input, |
|
const RRBuildOptions* build_options, |
|
RRMemoryRequirements* memory_requirements); |
Applies to
DirectX 12, Vulkan
Parameters
Parameter |
Input/Output |
Description |
---|---|---|
context |
input |
RR API context. |
build_input |
input |
Decribes input geometires to build scene for. |
build_options |
input |
Various flags controlling build process. |
memory_requirements |
output |
Pointer to write result to. |
Return
Returns an error in case of a failure, or RR_Success otherwise.