mirror of
https://github.com/w23/xash3d-fwgs
synced 2025-01-18 14:50:05 +01:00
26 lines
634 B
C
26 lines
634 B
C
#pragma once
|
|
|
|
#include "vk_core.h"
|
|
|
|
typedef struct {
|
|
//int lightmap, texture;
|
|
//int render_mode;
|
|
uint32_t max_vertex;
|
|
uint32_t element_count;
|
|
uint32_t index_offset, vertex_offset;
|
|
VkBuffer buffer;
|
|
} vk_ray_model_create_t;
|
|
|
|
typedef int vk_ray_model_handle_t;
|
|
enum { InvalidRayModel = -1 };
|
|
|
|
vk_ray_model_handle_t VK_RayModelCreate( const vk_ray_model_create_t *args );
|
|
|
|
void VK_RaySceneBegin( void );
|
|
void VK_RayScenePushModel(VkCommandBuffer cmdbuf, const vk_ray_model_create_t* model); // vk_ray_model_handle_t model );
|
|
void VK_RaySceneEnd( VkCommandBuffer cmdbuf );
|
|
|
|
qboolean VK_RayInit( void );
|
|
void VK_RayShutdown( void );
|
|
|