コード例 #1
0
ファイル: Util.cs プロジェクト: msmshazan/Monogame-Game-Jam
 public DrawCommand(string String, float zindex, Rect Drect, Color shade)
 {
     tex_id          = TextureID.font;
     Zindex          = zindex;
     SourceRectangle = Rect.Zero;
     DestRectangle   = Drect;
     Type            = DrawCommandType.DrawString;
     tint            = shade;
     str             = String;
 }
コード例 #2
0
ファイル: Util.cs プロジェクト: msmshazan/Monogame-Game-Jam
 public DrawCommand(TextureID textureID, float zindex, Rect Drect, Color shade)
 {
     tex_id          = textureID;
     Zindex          = zindex;
     SourceRectangle = Rect.Zero;
     DestRectangle   = Drect;
     Type            = DrawCommandType.DrawTexture;
     tint            = shade;
     str             = "";
 }
コード例 #3
0
ファイル: Util.cs プロジェクト: msmshazan/Monogame-Game-Jam
 public DrawCommand(string String, float zindex, Rect Srect, Rect Drect, Color shade)
 {
     tex_id          = 0;
     Zindex          = zindex;
     SourceRectangle = Srect;
     DestRectangle   = Drect;
     Type            = DrawCommandType.DrawString;
     tint            = shade;
     str             = String;
 }
コード例 #4
0
ファイル: Util.cs プロジェクト: msmshazan/Monogame-Game-Jam
 public DrawCommand(TextureID textureID, float zindex, Rect Srect, Rect Drect)
 {
     tex_id          = textureID;
     Zindex          = zindex;
     SourceRectangle = Srect;
     DestRectangle   = Drect;
     Type            = DrawCommandType.DrawTexture;
     tint            = Color.White;
     str             = "";
 }
コード例 #5
0
ファイル: RenderOwner.cs プロジェクト: veboys/UIForia
 public RenderOperationWrapper(RenderBox renderBox, DrawCommandType renderOpType)
 {
     this.renderBox       = renderBox;
     this.renderOperation = renderOpType;
 }