private void ParseVertexShader(TextParser parser, ShaderTechnique shader) { parser.Consume(); shader.VertexShaderSource = parser.ConsumeBlock(); }
private static void ParseFileReference(TextParser parser, ResGroup @group, string fullPath) { @group.AddFile(fullPath); parser.ConsumeString(); if (parser.Lexem == "{") { //TODO: make a block handler parser.ConsumeBlock(); } }
private void ParseFragmentShader(TextParser parser, ShaderTechnique shader) { parser.Consume(); shader.FragmentShaderSource = parser.ConsumeBlock(); }