Files
stgsharp/源代码/StgSharp/Graphics/GL/GLonTimeout.cs
T

224 lines
5.8 KiB
C#

using StgSharp.Logic;
using StgSharp.Math;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StgSharp.Graphics
{
internal class GLonTimeout : IglFunc
{
private static readonly GLonTimeout singleInstance
= new GLonTimeout();
private GLonTimeout() { }
internal static GLonTimeout Set()
{
return singleInstance;
}
void IglFunc.ActiveTexture(uint type)
{
throw new FrameTimeoutException();
}
void IglFunc.AfterAlign(Form form, Action action)
{
throw new FrameTimeoutException();
}
void IglFunc.AlignFrame(Form form)
{
throw new FrameTimeoutException();
}
void IglFunc.AttachShader(uint program, uint shader)
{
throw new FrameTimeoutException();
}
void IglFunc.BindBuffer(BufferType bufferType, uint index)
{
throw new FrameTimeoutException();
}
void IglFunc.BindTexture(uint type, uint texture)
{
throw new FrameTimeoutException();
}
void IglFunc.BindVertexArray(uint index)
{
throw new FrameTimeoutException();
}
void IglFunc.Clear(MaskBufferBit mask)
{
throw new FrameTimeoutException();
}
void IglFunc.ClearColor(float R, float G, float B, float A)
{
throw new FrameTimeoutException();
}
void IglFunc.ClearGraphicError()
{
throw new FrameTimeoutException();
}
uint IglFunc.CompileShader(string shaderCode, ShaderType shaderType)
{
throw new FrameTimeoutException();
}
uint IglFunc.CreateProgram()
{
throw new FrameTimeoutException();
}
IntPtr IglFunc.CreateWindowHandle(int width, int height, string tittle, IntPtr monitor, Form share)
{
throw new FrameTimeoutException();
}
uint IglFunc.CreatGraphicProgram()
{
throw new FrameTimeoutException();
}
unsafe void IglFunc.DeleteBuffers(int count, uint* ptr)
{
throw new FrameTimeoutException();
}
unsafe void IglFunc.DeleteVertexArrays(int count, uint* ptr)
{
throw new FrameTimeoutException();
}
void IglFunc.DrawElements(GepmetryType mode, int count, Type type, IntPtr ptr)
{
throw new FrameTimeoutException();
}
unsafe void IglFunc.GenBuffers(int count, uint* ptr)
{
throw new FrameTimeoutException();
}
unsafe void IglFunc.GenTextures(int count, uint* ptr)
{
throw new FrameTimeoutException();
}
unsafe void IglFunc.GenVertexArrays(int count, uint* ptr)
{
throw new FrameTimeoutException();
}
void IglFunc.GetGraphicError()
{
throw new FrameTimeoutException();
}
unsafe int IglFunc.GetUniformLocation(uint program, byte* ptr)
{
throw new FrameTimeoutException();
}
bool IglFunc.GetWindowShouldClose(Form form)
{
throw new FrameTimeoutException();
}
void IglFunc.MakeContexCurrent(Form form)
{
throw new FrameTimeoutException();
}
void IglFunc.SetBufferData<T>(BufferType bufferType, T bufferData, BufferUsage usage)
{
throw new FrameTimeoutException();
}
void IglFunc.SetBufferData<T>(BufferType bufferType, T[] bufferArray, BufferUsage usage)
{
throw new FrameTimeoutException();
}
void IglFunc.SetFrameBufferSizeCallback(IntPtr id, FrameBufferSizeHandler handler)
{
throw new FrameTimeoutException();
}
void IglFunc.SetValue(Uniform<float, float, float, float> uniform, float v0, float v1, float v2, float v3)
{
throw new FrameTimeoutException();
}
void IglFunc.SetValue(Uniform<float, float, float, float> uniform, Vec4d vec)
{
throw new FrameTimeoutException();
}
void IglFunc.SetValue(Uniform<float, float, float> uniform, float v0, float v1, float v2)
{
throw new FrameTimeoutException();
}
void IglFunc.SetValue(Uniform<float, float> uniform, float v0, float v1)
{
throw new FrameTimeoutException();
}
void IglFunc.SetValue(Uniform<float> uniform, float v0)
{
throw new FrameTimeoutException();
}
void IglFunc.SetValue(Uniform<int> uniform, int i0)
{
throw new FrameTimeoutException();
}
void IglFunc.SetValue(Uniform<Vec4d> uniform, Vec4d vec)
{
throw new FrameTimeoutException();
}
void IglFunc.SetVertexAttribute(uint index, int size, Type t, bool normalized, int stride, int pointer)
{
throw new FrameTimeoutException();
}
void IglFunc.SwapBuffers(Form form)
{
throw new FrameTimeoutException();
}
unsafe void IglFunc.TextureImage2d(uint target, int level, uint internalformat, int width, int height, uint format, uint type, void* pixels)
{
throw new FrameTimeoutException();
}
void IglFunc.TextureParameter(uint target, uint pname, int param)
{
throw new FrameTimeoutException();
}
void IglFunc.UseProgram(uint program)
{
throw new FrameTimeoutException();
}
void IglFunc.Viewport(int x, int y, int width, int height)
{
throw new FrameTimeoutException();
}
}
}