+ Instance Drawing + Text and Font ~ Made "DrawBackground" forced Background for 2D - DrawEmpty
22 lines
No EOL
425 B
C#
22 lines
No EOL
425 B
C#
using System.Collections.Generic;
|
|
using OpenTK;
|
|
using SM.Base.Scene;
|
|
using SM.OGL.Mesh;
|
|
|
|
namespace SM.Base.Contexts
|
|
{
|
|
public struct DrawContext
|
|
{
|
|
public bool ForceViewport;
|
|
public bool Instancing;
|
|
|
|
public Matrix4 World;
|
|
public Matrix4 View;
|
|
public Instance[] Instances;
|
|
|
|
public Mesh Mesh;
|
|
public Material Material;
|
|
|
|
public Vector2 WorldScale;
|
|
}
|
|
} |