mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-11-04 17:42:25 +01:00
e49591652f
also switch to non-srgb framebuffer and remove a bunch of verbose log messages
23 lines
592 B
C
23 lines
592 B
C
#pragma once
|
|
|
|
#include "xash3d_types.h"
|
|
|
|
typedef struct { uint8_t r, g, b, a; } color_rgba8_t;
|
|
|
|
typedef struct render_state_s {
|
|
color_rgba8_t tri_color;
|
|
qboolean fog_allowed;
|
|
qboolean mode_2d;
|
|
int blending_mode; // kRenderNormal, ...
|
|
} render_state_t;
|
|
|
|
extern render_state_t vk_renderstate;
|
|
|
|
void GL_SetRenderMode( int renderMode );
|
|
void TriColor4ub( unsigned char r, unsigned char g, unsigned char b, unsigned char a );
|
|
void R_AllowFog( qboolean allow );
|
|
void R_Set2DMode( qboolean enable );
|
|
void R_BeginFrame( qboolean clearScene );
|
|
void R_RenderScene( void );
|
|
void R_EndFrame( void );
|