NVIDIA OptiX 7.7 nvidia_logo_transpbg.gif Up
OptixModuleCompileOptions Struct Reference

#include <optix_types.h>

Public Attributes

int maxRegisterCount
 
OptixCompileOptimizationLevel optLevel
 
OptixCompileDebugLevel debugLevel
 
const OptixModuleCompileBoundValueEntryboundValues
 
unsigned int numBoundValues
 
unsigned int numPayloadTypes
 
OptixPayloadTypepayloadTypes
 

Detailed Description

Compilation options for module.

See also
optixModuleCreate()

Member Data Documentation

 boundValues

const OptixModuleCompileBoundValueEntry* OptixModuleCompileOptions::boundValues

Ingored if numBoundValues is set to 0.

 debugLevel

OptixCompileDebugLevel OptixModuleCompileOptions::debugLevel

Generate debug information.

 maxRegisterCount

int OptixModuleCompileOptions::maxRegisterCount

Maximum number of registers allowed when compiling to SASS. Set to 0 for no explicit limit. May vary within a pipeline.

 numBoundValues

unsigned int OptixModuleCompileOptions::numBoundValues

set to 0 if unused

 numPayloadTypes

unsigned int OptixModuleCompileOptions::numPayloadTypes

The number of different payload types available for compilation. Must be zero if OptixPipelineCompileOptions::numPayloadValues is not zero.

 optLevel

OptixCompileOptimizationLevel OptixModuleCompileOptions::optLevel

Optimization level. May vary within a pipeline.

 payloadTypes

OptixPayloadType* OptixModuleCompileOptions::payloadTypes

Points to host array of payload type definitions, size must match numPayloadTypes.