Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
OSX
OSXGlTaskContext.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include "IGlTaskContext.h"
6
7
#import <OpenGL/OpenGL.h>
8
#import <Cocoa/Cocoa.h>
9
10
namespace
Eegeo
11
{
12
namespace
OSX
13
{
14
class
OSXGlTaskContext
:
public
Concurrency::Tasks::IGlTaskContext
15
{
16
public
:
17
OSXGlTaskContext
(NSOpenGLPixelFormat* pPixelFormat);
18
~
OSXGlTaskContext
();
19
void
CreateContext();
20
void
SetContext();
21
void
FlushContext();
22
void
Unbind();
23
private
:
24
NSOpenGLContext* m_pWorkerContext;
25
NSOpenGLPixelFormat* m_pParentGlPixelFormat;
26
};
27
}
28
}
Generated on Sat Jun 10 2023 02:00:31 for eeGeo Platform SDK by
1.8.3.1