Skip to content

KDGpu::RayTracingShaderBindingTable

Module: Public API

RayTracingShaderBindingTable.

#include <raytracing_shader_binding_table.h>

Public Functions

Name
RayTracingShaderBindingTable() =default
RayTracingShaderBindingTable(Device * device, RayTracingShaderBindingTableOptions options)
~RayTracingShaderBindingTable()
RayTracingShaderBindingTable(RayTracingShaderBindingTable && other)
RayTracingShaderBindingTable & operator=(RayTracingShaderBindingTable && other)
RayTracingShaderBindingTable(const RayTracingShaderBindingTable & ) =delete
RayTracingShaderBindingTable & operator=(const RayTracingShaderBindingTable & ) =delete
StridedDeviceRegion rayGenShaderRegion() const
StridedDeviceRegion missShaderRegion() const
StridedDeviceRegion hitShaderRegion() const
void addRayGenShaderGroup(const RayTracingPipeline & pipeline, uint32_t shaderGroupIndex)
void addHitShaderGroup(const RayTracingPipeline & pipeline, uint32_t shaderGroupIndex, uint32_t entry =0)
void addMissShaderGroup(const RayTracingPipeline & pipeline, uint32_t shaderGroupIndex, uint32_t entry =0)
Buffer & buffer()

Public Functions Documentation

function RayTracingShaderBindingTable

1
RayTracingShaderBindingTable() =default

function RayTracingShaderBindingTable

1
2
3
4
explicit RayTracingShaderBindingTable(
    Device * device,
    RayTracingShaderBindingTableOptions options
)

function ~RayTracingShaderBindingTable

1
~RayTracingShaderBindingTable()

function RayTracingShaderBindingTable

1
2
3
RayTracingShaderBindingTable(
    RayTracingShaderBindingTable && other
)

function operator=

1
2
3
RayTracingShaderBindingTable & operator=(
    RayTracingShaderBindingTable && other
)

function RayTracingShaderBindingTable

1
2
3
RayTracingShaderBindingTable(
    const RayTracingShaderBindingTable & 
) =delete

function operator=

1
2
3
RayTracingShaderBindingTable & operator=(
    const RayTracingShaderBindingTable & 
) =delete

function rayGenShaderRegion

1
inline StridedDeviceRegion rayGenShaderRegion() const

function missShaderRegion

1
inline StridedDeviceRegion missShaderRegion() const

function hitShaderRegion

1
inline StridedDeviceRegion hitShaderRegion() const

function addRayGenShaderGroup

1
2
3
4
void addRayGenShaderGroup(
    const RayTracingPipeline & pipeline,
    uint32_t shaderGroupIndex
)

function addHitShaderGroup

1
2
3
4
5
void addHitShaderGroup(
    const RayTracingPipeline & pipeline,
    uint32_t shaderGroupIndex,
    uint32_t entry =0
)

function addMissShaderGroup

1
2
3
4
5
void addMissShaderGroup(
    const RayTracingPipeline & pipeline,
    uint32_t shaderGroupIndex,
    uint32_t entry =0
)

function buffer

1
inline Buffer & buffer()

Updated on 2024-12-22 at 00:08:03 +0000