Changed defaults
This commit is contained in:
@@ -17,7 +17,7 @@ public:
|
||||
|
||||
bool Configure(const RuntimeShaderArtifact& artifact, std::string& error);
|
||||
void UpdateArtifactState(const RuntimeShaderArtifact& artifact);
|
||||
void RefreshTextTextures();
|
||||
void RefreshTextTextures(RuntimeShaderArtifact* artifactState = nullptr);
|
||||
void BindTextTextures(GLuint program);
|
||||
void ShutdownGl();
|
||||
|
||||
@@ -58,6 +58,7 @@ private:
|
||||
GLuint texture = 0;
|
||||
unsigned width = 0;
|
||||
unsigned height = 0;
|
||||
unsigned liveWidth = 1;
|
||||
unsigned maxLength = 64;
|
||||
};
|
||||
|
||||
@@ -65,7 +66,7 @@ private:
|
||||
bool LoadAtlasJson(const RenderCadenceCompositor::FontAtlasBuildOutput& output, Atlas& atlas, std::string& error) const;
|
||||
bool LoadAtlasImage(const RenderCadenceCompositor::FontAtlasBuildOutput& output, Atlas& atlas, std::string& error) const;
|
||||
bool EnsureTextTexture(TextTexture& texture);
|
||||
std::vector<unsigned char> ComposeTextMask(const Atlas& atlas, const TextTexture& texture, const std::string& text, unsigned& width, unsigned& height) const;
|
||||
std::vector<unsigned char> ComposeTextMask(const Atlas& atlas, const TextTexture& texture, const std::string& text, unsigned& width, unsigned& height, unsigned& liveWidth) const;
|
||||
const Atlas* FindAtlas(const std::string& fontId) const;
|
||||
static const ShaderParameterValue* FindParameterValue(const RuntimeShaderArtifact& artifact, const std::string& parameterId);
|
||||
static std::string DefaultTextValue(const RuntimeShaderArtifact& artifact, const std::string& parameterId);
|
||||
|
||||
Reference in New Issue
Block a user