xash3d-fwgs/ref/vk/vk_triapi.h

26 lines
691 B
C
Raw Normal View History

#pragma once
#include "xash3d_types.h"
2023-02-27 19:37:03 +01:00
typedef struct model_s model_t;
void TriRenderMode( int mode );
void TriSetTexture( int texture_index );
2023-02-27 19:37:03 +01:00
int TriSpriteTexture( model_t *pSpriteModel, int frame );
void TriBegin( int mode );
void TriTexCoord2f( float u, float v );
void TriColor4f( float r, float g, float b, float a );
2023-02-27 20:00:34 +01:00
void TriColor4ub_( byte r, byte g, byte b, byte a ); // FIXME consolidate with vk_renderstate
void TriNormal3fv( const float *v );
void TriNormal3f( float x, float y, float z );
// Emits next vertex
void TriVertex3fv( const float *v );
void TriVertex3f( float x, float y, float z );
void TriEnd( void );
2023-02-27 18:49:56 +01:00
void TriEndEx( const vec4_t color, const char* name );