From 4445edac6d91f81db6c32aeaf7513bacb29f28bf Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Tue, 7 Jan 2025 00:57:14 +0100 Subject: [PATCH] MaterialSystem: add material shader type enum --- src/public/imaterial.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/public/imaterial.h b/src/public/imaterial.h index 8bdc36dd..c22c7fe4 100644 --- a/src/public/imaterial.h +++ b/src/public/imaterial.h @@ -68,6 +68,20 @@ struct ALIGN16 MaterialRenderParams_s uint16 rasterizerFlags; }; +enum MaterialShaderType_e : uint8 // From RSX and RePak +{ + RGDU, // Static model with regular vertices. + RGDP, // Static model with packed vertices. + RGDC, // Static model with packed vertices. + SKNU, // Skinned model with regular vertices. + SKNP, // Skinned model with packed vertices. + SKNC, // Skinned model with packed vertices. + WLDU, // World geometry with regular vertices. + WLDC, // World geometry with packed vertices. + PTCU, // Particles with regular vertices. + PTCS, // Particles sprites?. +}; + abstract_class IMaterial { public: