Everything currently don't work / can't be tested. + Generic Shader-Implermentation + Mesh-System + Plate-Mesh
24 lines
No EOL
430 B
C#
24 lines
No EOL
430 B
C#
using OpenTK.Graphics.OpenGL4;
|
|
using SM.Base.StaticObjects;
|
|
using SM.OGL.Shaders;
|
|
|
|
namespace SM.Base
|
|
{
|
|
public class TestShader : GenericShader
|
|
{
|
|
public TestShader(ShaderFileCollection shaderFileFiles) : base(shaderFileFiles)
|
|
{
|
|
}
|
|
|
|
public void Draw()
|
|
{
|
|
GL.UseProgram(this);
|
|
|
|
|
|
|
|
DrawObject(Plate.Object, true);
|
|
|
|
GL.UseProgram(0);
|
|
}
|
|
}
|
|
} |