Quake II RTX doxygen
1.0 dev
|
|
Go to the documentation of this file.
22 #include "shared/shared.h"
23 #include "refresh/refresh.h"
25 #define MAX_PBR_MATERIALS 4096
95 uint32_t
MAT_SetKind(uint32_t material, uint32_t kind);
98 qboolean
MAT_IsKind(uint32_t material, uint32_t kind);
100 #endif // __MATERIAL_H_
const pbr_material_t * MAT_GetPBRMaterialsTable()
qboolean MAT_IsKind(uint32_t material, uint32_t kind)
void MAT_UpdateRegistration(pbr_material_t *mat)
qerror_t MAT_RegisterPBRMaterial(pbr_material_t *mat, image_t *image_diffuse, image_t *image_normals, image_t *image_emissive)
qerror_t MAT_ReloadPBRMaterials()
int MAT_GetNumPBRMaterials()
qerror_t MAT_InitializePBRmaterials()
int MAT_GetPBRMaterialIndex(pbr_material_t const *mat)
uint32_t MAT_SetKind(uint32_t material, uint32_t kind)
const pbr_material_t * MAT_UpdatePBRMaterialSkin(image_t *image_diffuse)
pbr_material_t * MAT_FindPBRMaterial(char const *name)
struct pbr_material_s pbr_material_t
int registration_sequence
pbr_material_t * MAT_GetPBRMaterial(int index)
qerror_t MAT_SavePBRMaterials()
void MAT_PrintMaterialProperties(pbr_material_t const *mat)
qerror_t MAT_ResetUnused()
qerror_t MAT_SetPBRMaterialAttribute(pbr_material_t *mat, char const *token, char const *value)