6 #include "VectorMath.h"
22 const v4& outlineColor,
31 bool stencilMaskedStyleEnabled,
32 GLenum stencilMaskedStyleStencilFunc,
33 const v4& stencilMaskedGlyphColor,
34 const v4& stencilMaskedHaloColor
40 float GetSize()
const {
return m_size; }
41 v4 GetGlyphColor()
const {
return m_glyphColor; }
42 v4 GetOutlineColor()
const {
return m_outlineColor; }
43 v4 GetHaloColor()
const {
return m_haloColor; }
44 float GetHaloWidth()
const {
return m_haloWidth; }
45 float GetHaloHardness()
const {
return m_haloHardness; }
46 bool IsDepthTest()
const {
return m_depthTest; }
47 bool IsStencilTest()
const {
return m_stencilTest; }
48 GLenum GetStencilFunc()
const {
return m_stencilFunc; }
49 int GetStencilRef()
const {
return m_stencilRef; }
50 u32 GetStencilMask()
const {
return m_stencilMask; }
51 bool NeedsHalo()
const {
return m_haloWidth > 0.f; }
54 bool IsStencilMaskedStyleEnabled()
const {
return m_stencilMaskedStyleEnabled; }
55 GLenum GetStencilMaskedStyleStencilFunc()
const {
return m_stencilMaskedStyleStencilFunc; }
56 v4 GetStencilMaskedGlyphColor()
const {
return m_stencilMaskedGlyphColor; }
57 v4 GetStencilMaskedHaloColor()
const {
return m_stencilMaskedHaloColor; }
64 v4 m_stencilMaskedGlyphColor;
65 v4 m_stencilMaskedHaloColor;
72 GLenum m_stencilMaskedStyleStencilFunc;
75 bool m_stencilMaskedStyleEnabled;