xash3d-fwgs/ref_vk/vk_studio.h
Ivan Avdeev e66810a05b remove ubo management from "public" vk_render api
Now rendering submodules specify their colors and matrices using
VK_RenderState global stat api. This is a trade-off between making all
submodules track their state on their own, or managing that state
centrally.
2021-02-20 12:00:31 -08:00

21 lines
457 B
C

#pragma once
#include "vk_common.h"
struct ref_viewpass_s;
struct draw_list_s;
struct model_s;
void VK_StudioInit( void );
void VK_StudioShutdown( void );
void Mod_LoadStudioModel( model_t *mod, const void *buffer, qboolean *loaded );
void Mod_StudioLoadTextures( model_t *mod, void *data );
void VK_StudioDrawModel( cl_entity_t *ent, int render_mode );
void R_RunViewmodelEvents( void );
void R_DrawViewModel( void );
void CL_InitStudioAPI( void );