A game framework written with osu! in mind.
at master 22 lines 677 B view raw
1// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. 2// See the LICENCE file in the repository root for full licence text. 3 4namespace osu.Framework.Graphics.Shaders 5{ 6 /// <summary> 7 /// Stores a vertex shader input. 8 /// </summary> 9 internal struct ShaderInputInfo 10 { 11 /// <summary> 12 /// The 0-based location of this input. This is in order of appearance in the shader code. 13 /// Note that osu! uses 0-based input locations to bind vertex pointers to. 14 /// </summary> 15 public int Location; 16 17 /// <summary> 18 /// The input name. 19 /// </summary> 20 public string Name; 21 } 22}