33 lines
733 B
C
33 lines
733 B
C
#pragma once
|
|
|
|
#ifndef KORE_ANDROID
|
|
|
|
#include "MiniVulkan.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct {
|
|
VkPipeline pipeline;
|
|
VkPipelineLayout pipeline_layout;
|
|
VkDescriptorSet descriptor_set;
|
|
VkDescriptorSetLayout descriptor_set_layout;
|
|
VkBuffer raygen_shader_binding_table;
|
|
VkBuffer miss_shader_binding_table;
|
|
VkBuffer hit_shader_binding_table;
|
|
} kinc_raytrace_pipeline_impl_t;
|
|
|
|
typedef struct {
|
|
VkAccelerationStructureKHR top_level_acceleration_structure;
|
|
VkAccelerationStructureKHR bottom_level_acceleration_structure;
|
|
uint64_t top_level_acceleration_structure_handle;
|
|
uint64_t bottom_level_acceleration_structure_handle;
|
|
} kinc_raytrace_acceleration_structure_impl_t;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|