2021-11-14 22:53:50 +01:00
|
|
|
#pragma once
|
|
|
|
|
2021-11-19 19:20:53 +01:00
|
|
|
#include "xash3d_types.h"
|
|
|
|
|
2021-11-14 22:53:50 +01:00
|
|
|
typedef struct {
|
|
|
|
int base_color;
|
|
|
|
int roughness;
|
|
|
|
int metalness;
|
|
|
|
int normalmap;
|
2021-11-19 19:20:53 +01:00
|
|
|
qboolean set;
|
2021-11-14 22:53:50 +01:00
|
|
|
} xvk_material_t;
|
|
|
|
|
|
|
|
void XVK_ReloadMaterials( void );
|
|
|
|
|
|
|
|
xvk_material_t* XVK_GetMaterialForTextureIndex( int tex_index );
|