/// <summary> /// Initializes a new instance of the <see cref="GlyphShaderContext"/> structure. /// </summary> /// <param name="glyphShader">The glyph shader that executes within this context.</param> /// <param name="sourceOffset">The offset of the text being rendered within the overall source text.</param> /// <param name="sourceLength">The overall length of the source text.</param> public GlyphShaderContext(GlyphShaderProxy glyphShader, Int32 sourceOffset, Int32 sourceLength) { this.glyphShader = glyphShader; this.sourceOffset = sourceOffset; this.sourceLength = sourceLength; }
/// <summary> /// Initializes a new instance of the <see cref="GlyphShaderContext"/> structure. /// </summary> /// <param name="glyphShader">The glyph shader that executes within this context.</param> public GlyphShaderContext(GlyphShaderProxy glyphShader) : this(glyphShader, 0, 0) { }