/// <summary>
 /// Writes a <see cref="TextLayoutCommandType.PushGlyphShader"/> command to the current position in the stream.
 /// </summary>
 /// <param name="command">The command to write to the stream.</param>
 public void WritePushGlyphShader(TextLayoutGlyphShaderCommand command)
 {
     stream.Reserve(sizeof(TextLayoutGlyphShaderCommand));
     *(TextLayoutGlyphShaderCommand *)stream.Data = command;
     *(TextLayoutCommandType *)stream.Data        = TextLayoutCommandType.PushGlyphShader;
     stream.FinalizeObject(sizeof(TextLayoutGlyphShaderCommand));
 }
 /// <summary>
 /// Writes a <see cref="TextLayoutCommandType.PushGlyphShader"/> command to the current position in the stream.
 /// </summary>
 /// <param name="command">The command to write to the stream.</param>
 public void WritePushGlyphShader(TextLayoutGlyphShaderCommand command)
 {
     stream.Reserve(sizeof(TextLayoutGlyphShaderCommand));
     *(TextLayoutGlyphShaderCommand*)stream.Data = command;
     *(TextLayoutCommandType*)stream.Data = TextLayoutCommandType.PushGlyphShader;
     stream.FinalizeObject(sizeof(TextLayoutGlyphShaderCommand));
 }