Prog ttf
This commit is contained in:
@ -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> {
|
||||
|
||||
|
Reference in New Issue
Block a user