#include <optix_types.h>
Public Attributes | |
size_t | outputSizeInBytes |
size_t | tempSizeInBytes |
size_t | tempUpdateSizeInBytes |
Struct for querying builder allocation requirements.
Once queried the sizes should be used to allocate device memory of at least these sizes.
size_t OptixAccelBufferSizes::outputSizeInBytes |
The size in bytes required for the outputBuffer parameter to optixAccelBuild when doing a build (OPTIX_BUILD_OPERATION_BUILD).
size_t OptixAccelBufferSizes::tempSizeInBytes |
The size in bytes required for the tempBuffer paramter to optixAccelBuild when doing a build (OPTIX_BUILD_OPERATION_BUILD).
size_t OptixAccelBufferSizes::tempUpdateSizeInBytes |
The size in bytes required for the tempBuffer parameter to optixAccelBuild when doing an update (OPTIX_BUILD_OPERATION_UPDATE). This value can be different than tempSizeInBytes used for a full build. Only non-zero if OPTIX_BUILD_FLAG_ALLOW_UPDATE flag is set in OptixAccelBuildOptions.