mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-11-04 17:42:25 +01:00
e66810a05b
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.
21 lines
457 B
C
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 );
|