NVIDIA OptiX 7.7 nvidia_logo_transpbg.gif Up
OptixShaderBindingTable Struct Reference

#include <optix_types.h>

Public Attributes

CUdeviceptr raygenRecord
 
CUdeviceptr exceptionRecord
 
CUdeviceptr missRecordBase
 
unsigned int missRecordStrideInBytes
 
unsigned int missRecordCount
 
CUdeviceptr hitgroupRecordBase
 
unsigned int hitgroupRecordStrideInBytes
 
unsigned int hitgroupRecordCount
 
CUdeviceptr callablesRecordBase
 
unsigned int callablesRecordStrideInBytes
 
unsigned int callablesRecordCount
 

Detailed Description

Describes the shader binding table (SBT)

See also
optixLaunch()

Member Data Documentation

 callablesRecordBase

CUdeviceptr OptixShaderBindingTable::callablesRecordBase

Arrays of SBT records for callable programs. If the base address is not null, the stride and count must not be zero. If the base address is null, then the count needs to zero. The base address and the stride must be a multiple of OPTIX_SBT_RECORD_ALIGNMENT.

 callablesRecordCount

unsigned int OptixShaderBindingTable::callablesRecordCount

Arrays of SBT records for callable programs. If the base address is not null, the stride and count must not be zero. If the base address is null, then the count needs to zero. The base address and the stride must be a multiple of OPTIX_SBT_RECORD_ALIGNMENT.

 callablesRecordStrideInBytes

unsigned int OptixShaderBindingTable::callablesRecordStrideInBytes

Arrays of SBT records for callable programs. If the base address is not null, the stride and count must not be zero. If the base address is null, then the count needs to zero. The base address and the stride must be a multiple of OPTIX_SBT_RECORD_ALIGNMENT.

 exceptionRecord

CUdeviceptr OptixShaderBindingTable::exceptionRecord

Device address of the SBT record of the exception program. The address must be a multiple of OPTIX_SBT_RECORD_ALIGNMENT.

 hitgroupRecordBase

CUdeviceptr OptixShaderBindingTable::hitgroupRecordBase

Arrays of SBT records for hit groups. The base address and the stride must be a multiple of OPTIX_SBT_RECORD_ALIGNMENT.

 hitgroupRecordCount

unsigned int OptixShaderBindingTable::hitgroupRecordCount

Arrays of SBT records for hit groups. The base address and the stride must be a multiple of OPTIX_SBT_RECORD_ALIGNMENT.

 hitgroupRecordStrideInBytes

unsigned int OptixShaderBindingTable::hitgroupRecordStrideInBytes

Arrays of SBT records for hit groups. The base address and the stride must be a multiple of OPTIX_SBT_RECORD_ALIGNMENT.

 missRecordBase

CUdeviceptr OptixShaderBindingTable::missRecordBase

Arrays of SBT records for miss programs. The base address and the stride must be a multiple of OPTIX_SBT_RECORD_ALIGNMENT.

 missRecordCount

unsigned int OptixShaderBindingTable::missRecordCount

Arrays of SBT records for miss programs. The base address and the stride must be a multiple of OPTIX_SBT_RECORD_ALIGNMENT.

 missRecordStrideInBytes

unsigned int OptixShaderBindingTable::missRecordStrideInBytes

Arrays of SBT records for miss programs. The base address and the stride must be a multiple of OPTIX_SBT_RECORD_ALIGNMENT.

 raygenRecord

CUdeviceptr OptixShaderBindingTable::raygenRecord

Device address of the SBT record of the ray gen program to start launch at. The address must be a multiple of OPTIX_SBT_RECORD_ALIGNMENT.