25 lines
464 B
C
25 lines
464 B
C
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct ID3D12StateObject;
|
|
struct ID3D12Resource;
|
|
|
|
typedef struct {
|
|
ID3D12StateObject *dxr_state;
|
|
ID3D12Resource *raygen_shader_table;
|
|
ID3D12Resource *miss_shader_table;
|
|
ID3D12Resource *hitgroup_shader_table;
|
|
} kinc_raytrace_pipeline_impl_t;
|
|
|
|
typedef struct {
|
|
ID3D12Resource *bottom_level_accel;
|
|
ID3D12Resource *top_level_accel;
|
|
} kinc_raytrace_acceleration_structure_impl_t;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|