xash3d-fwgs/ref_vk/vk_2d.h
Ivan Avdeev 3f70b76208 engage scene rendering in VK_RenderFrame and not in EndFrame
Rework a bit how matrices are computed. More global state dependencies
;_;

Buffer-up draw commands, and only schedule them for drawing at EndFrame.
2021-02-20 14:54:57 -08:00

16 lines
644 B
C

#pragma once
#include "vk_core.h"
#include "xash3d_types.h"
void R_DrawStretchRaw( float x, float y, float w, float h, int cols, int rows, const byte *data, qboolean dirty );
void R_DrawStretchPic( float x, float y, float w, float h, float s1, float t1, float s2, float t2, int texnum );
void R_DrawTileClear( int texnum, int x, int y, int w, int h );
void CL_FillRGBA( float x, float y, float w, float h, int r, int g, int b, int a );
void CL_FillRGBABlend( float x, float y, float w, float h, int r, int g, int b, int a );
qboolean initVk2d( void );
void deinitVk2d( void );
void vk2dBegin( void );
void vk2dEnd( VkCommandBuffer cmdbuf );