feat(profile): add type information for CGxDevice functions

This commit is contained in:
phaneron 2024-10-04 01:43:35 -04:00
parent 5a70c8290f
commit 34d16625b7
9 changed files with 250 additions and 129 deletions

View file

@ -0,0 +1,21 @@
#ifndef GX_LIGHT_H
#define GX_LIGHT_H
#include "tempest/vector.h"
DECLARE_STRUCT(CGxLight);
struct CGxLight {
// int32_t m_enabled : 1;
// int32_t m_isOmni : 1;
int32_t m_flags;
C3Vector m_dir;
C3Vector m_ambColor;
C3Vector m_dirColor;
C3Vector m_specColor;
float m_constantAttenuation;
float m_linearAttenuation;
float m_quadraticAttenuation;
};
#endif