public AbstractGLTaskFactory(AbstractGLGraphicDriver driver) { this.driver = driver; }
public Win32GLTaskFactory(AbstractGLGraphicDriver driver, IntPtr hdc, IntPtr hglrc):base(driver) { this.hdc = hdc; this.hglrc = hglrc; }
public RenderSomethingTask(AbstractGLGraphicDriver driver) { this.driver = driver; }
internal static void Initialize(AbstractGLGraphicDriver driver) { GenBuffers = (GenBuffersDelegate) Marshal.GetDelegateForFunctionPointer(driver.GetGLEntryPoint("glGenBuffers"), typeof(GenBuffersDelegate)); DeleteBuffers = (DeleteBuffersDelegate) Marshal.GetDelegateForFunctionPointer(driver.GetGLEntryPoint("glDeleteBuffers"), typeof(DeleteBuffersDelegate)); BindBuffer = (BindBufferDelegate) Marshal.GetDelegateForFunctionPointer(driver.GetGLEntryPoint("glBindBuffer"), typeof(BindBufferDelegate)); BufferData = (BufferDataDelegate) Marshal.GetDelegateForFunctionPointer(driver.GetGLEntryPoint("glBufferData"), typeof(BufferDataDelegate)); BufferSubData = (BufferSubDataDelegate) Marshal.GetDelegateForFunctionPointer(driver.GetGLEntryPoint("glBufferSubData"), typeof(BufferSubDataDelegate)); }