NVIDIA OptiX 7.7 nvidia_logo_transpbg.gif Up
OptixProgramGroupOptions Struct Reference

#include <optix_types.h>

Public Attributes

OptixPayloadTypepayloadType
 

Detailed Description

Program group options.

See also
optixProgramGroupCreate()

Member Data Documentation

 payloadType

OptixPayloadType* OptixProgramGroupOptions::payloadType

Specifies the payload type of this program group. All programs in the group must support the payload type (Program support for a type is specified by calling.

See also
optixSetPayloadTypes or otherwise all types specified in
OptixModuleCompileOptions are supported). If a program is not available for the requested payload type, optixProgramGroupCreate returns OPTIX_ERROR_PAYLOAD_TYPE_MISMATCH. If the payloadType is left zero, a unique type is deduced. The payload type can be uniquely deduced if there is exactly one payload type for which all programs in the group are available. If the payload type could not be deduced uniquely optixProgramGroupCreate returns OPTIX_ERROR_PAYLOAD_TYPE_RESOLUTION_FAILED.