rrGetGeometryBuildMemoryRequirements

Gets memory requirements for geometry build.

RRError rrGetGeometryBuildMemoryRequirements(

RRContext context,

const RRGeometryBuildInput* 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

Describes input primitive to build geometry from.

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.