mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-05-22 11:55:22 +00:00
24 lines
631 B
C#
24 lines
631 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using OpenTK.Graphics.OpenGL;
|
|
|
|
namespace PckStudio.Rendering
|
|
{
|
|
public sealed class DrawContext
|
|
{
|
|
public readonly VertexArray VertexArray;
|
|
public readonly IndexBuffer IndexBuffer;
|
|
public readonly PrimitiveType PrimitiveType;
|
|
|
|
public DrawContext(VertexArray vertexArray, IndexBuffer indexBuffer, PrimitiveType primitiveType)
|
|
{
|
|
VertexArray = vertexArray;
|
|
IndexBuffer = indexBuffer;
|
|
PrimitiveType = primitiveType;
|
|
}
|
|
}
|
|
}
|