This commit is contained in:
2023-06-12 06:25:17 -07:00
parent 1afa254a0d
commit da5d3da6df
6 changed files with 181 additions and 153 deletions

View File

@ -12,13 +12,13 @@
#define FONT_SHADER_TEXTURE_MAX 4
namespace Dawn {
// #pragma pack(push, 4)
#pragma pack(push, 4)
struct FontShaderBufferData {
int32_t fontQuadMappings[FONT_SHADER_QUADS_MAX];
int32_t textures[FONT_SHADER_PARTS_MAX];
struct Color colors[FONT_SHADER_PARTS_MAX];
};
// #pragma pack(pop)
#pragma pack(pop)
class FontShaderBuffer : public ShaderParameterBuffer<struct FontShaderBufferData> {