blob: 546097a5b7661b579cc01457897e288d5fdc6b09 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>SFML - Simple and Fast Multimedia Library</title>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="tabs.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="logo">
<img src="./logo.jpg" width="770" height="200" title="SFML home" alt="SFML logo" />
</div>
<!-- Generated by Doxygen 1.5.8 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.htm"><span>Main Page</span></a></li>
<li><a href="namespaces.htm"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.htm"><span>Classes</span></a></li>
<li><a href="files.htm"><span>Files</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.htm"><span>Class List</span></a></li>
<li><a href="classes.htm"><span>Class Index</span></a></li>
<li><a href="hierarchy.htm"><span>Class Hierarchy</span></a></li>
<li><a href="functions.htm"><span>Class Members</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>GLContext Class Reference</h1><!-- doxytag: class="GLContext" -->Window independant OpenGL context class.
<a href="#_details">More...</a>
<p>
<code>#import <<a class="el" href="GLKit_8h-source.htm">GLKit.h</a>></code>
<p>
<p>
<a href="classGLContext-members.htm">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">(id) </td><td class="memItemRight" valign="bottom">- <a class="el" href="interfaceGLContext.htm#5dbd49ececc15126160b6fe2975762b1">initWithAttributes:sharedContext:</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Make a new OpenGL context according to the settings and the shared context . <a href="#5dbd49ececc15126160b6fe2975762b1"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">(id) </td><td class="memItemRight" valign="bottom">+ <a class="el" href="interfaceGLContext.htm#81de93d8873cb597324c8a45792680bb">sharedContext</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the shared OpenGL context instance (making one if needed). <a href="#81de93d8873cb597324c8a45792680bb"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2bd3e70a2228c0887e5e04cdb32d1f64"></a><!-- doxytag: member="GLContext::mySharedContext" ref="2bd3e70a2228c0887e5e04cdb32d1f64" args="" -->
<a class="el" href="interfaceGLContext.htm">GLContext</a> * </td><td class="memItemRight" valign="bottom"><b>mySharedContext</b></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Window independant OpenGL context class.
<p>Definition at line <a class="el" href="GLKit_8h-source.htm#l00035">35</a> of file <a class="el" href="GLKit_8h-source.htm">GLKit.h</a>.</p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="5dbd49ececc15126160b6fe2975762b1"></a><!-- doxytag: member="GLContext::initWithAttributes:sharedContext:" ref="5dbd49ececc15126160b6fe2975762b1" args="(sf::WindowSettings &attribs,[sharedContext] GLContext *context)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">- (id) initWithAttributes: </td>
<td></td>
<td class="paramtype">(<a class="el" href="structsf_1_1WindowSettings.htm">sf::WindowSettings</a>&) </td>
<td class="paramname"> <em>attribs</em></td>
</tr>
<tr>
<td class="paramkey">sharedContext:</td>
<td></td>
<td class="paramtype">(<a class="el" href="interfaceGLContext.htm">GLContext</a> *) </td>
<td class="paramname"> <em>context</em></td><td> </td>
</tr>
<tr>
<td></td>
<td></td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Make a new OpenGL context according to the settings and the shared context .
<p>
<p>Definition at line <a class="el" href="GLKit_8mm-source.htm#l00069">69</a> of file <a class="el" href="GLKit_8mm-source.htm">GLKit.mm</a>.</p>
</div>
</div><p>
<a class="anchor" name="81de93d8873cb597324c8a45792680bb"></a><!-- doxytag: member="GLContext::sharedContext" ref="81de93d8873cb597324c8a45792680bb" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">+ (id) sharedContext </td>
<td></td>
<td class="paramname"> </td>
<td> </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Return the shared OpenGL context instance (making one if needed).
<p>
<p>Definition at line <a class="el" href="GLKit_8mm-source.htm#l00047">47</a> of file <a class="el" href="GLKit_8mm-source.htm">GLKit.mm</a>.</p>
</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="GLKit_8h-source.htm">GLKit.h</a><li><a class="el" href="GLKit_8mm-source.htm">GLKit.mm</a></ul>
</div>
<p id="footer">
:: Copyright © 2007-2008 Laurent Gomila, all rights reserved ::
Documentation generated by <a href="http://www.doxygen.org/" title="doxygen website">doxygen 1.5.2</a> ::
</p>
</body>
</html>
|