mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-13 03:54:06 +09:00
Former-commit-id: c9c053368cf5b7bbaf7aa2aa1a986611c3dad698 Former-commit-id: a9835ae3c2b484bcb5b1ee6fa57504c406c61490
1251 lines
58 KiB
HTML
1251 lines
58 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!--NewPage-->
|
|
<HTML>
|
|
<HEAD>
|
|
<!-- Generated by javadoc (build 1.6.0_26) on Tue Jul 28 10:49:48 BST 2015 -->
|
|
<TITLE>
|
|
ContextAttribs (LWJGL API)
|
|
</TITLE>
|
|
|
|
<META NAME="date" CONTENT="2015-07-28">
|
|
|
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
|
|
|
<SCRIPT type="text/javascript">
|
|
function windowTitle()
|
|
{
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="ContextAttribs (LWJGL API)";
|
|
}
|
|
}
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
</NOSCRIPT>
|
|
|
|
</HEAD>
|
|
|
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
|
<HR>
|
|
|
|
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<A NAME="navbar_top"><!-- --></A>
|
|
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
<TR>
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
<A NAME="navbar_top_firstrow"><!-- --></A>
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
<TR ALIGN="center" VALIGN="top">
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ContextAttribs.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../org/lwjgl/opengl/AWTGLCanvas.html" title="class in org.lwjgl.opengl"><B>PREV CLASS</B></A>
|
|
<A HREF="../../../org/lwjgl/opengl/ContextCapabilities.html" title="class in org.lwjgl.opengl"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../index.html?org/lwjgl/opengl/ContextAttribs.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="ContextAttribs.html" target="_top"><B>NO FRAMES</B></A>
|
|
<SCRIPT type="text/javascript">
|
|
<!--
|
|
if(window==top) {
|
|
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
}
|
|
//-->
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
</NOSCRIPT>
|
|
|
|
|
|
</FONT></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_top"></A>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
|
|
<HR>
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<H2>
|
|
<FONT SIZE="-1">
|
|
org.lwjgl.opengl</FONT>
|
|
<BR>
|
|
Class ContextAttribs</H2>
|
|
<PRE>
|
|
java.lang.Object
|
|
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.lwjgl.opengl.ContextAttribs</B>
|
|
</PRE>
|
|
<HR>
|
|
<DL>
|
|
<DT><PRE>public final class <B>ContextAttribs</B><DT>extends java.lang.Object</DL>
|
|
</PRE>
|
|
|
|
<P>
|
|
This class represents the context attributes passed to CreateContextAttribs of the ARB_create_context extension.
|
|
<p/>
|
|
The attributes supported are described in the following extensions:<br>
|
|
<ul>
|
|
<li><a href="http://www.opengl.org/registry/specs/ARB/wgl_create_context.txt">WGL_ARB_create_context(_profile)</a> and <a href="http://www.opengl.org/registry/specs/ARB/glx_create_context.txt">GLX_ARB_create_context(_profile)</a></li>
|
|
<li><a href="http://www.opengl.org/registry/specs/ARB/wgl_create_context_robustness.txt">WGL_ARB_create_context_robustness</a> and <a href="http://www.opengl.org/registry/specs/ARB/glx_create_context_robustness.txt">GLX_ARB_create_context_robustness</a></li>
|
|
<li><a href="http://www.opengl.org/registry/specs/ARB/wgl_robustness_isolation.txt">WGL_ARB_robustness_isolation</a> and <a href="http://www.opengl.org/registry/specs/ARB/glx_robustness_isolation.txt">GLX_ARB_robustness_isolation</a></li>
|
|
<li><a href="http://www.opengl.org/registry/specs/ARB/wgl_create_context_es2_profile.txt">WGL_EXT_create_context_es2_profile</a> and <a href="http://www.opengl.org/registry/specs/ARB/glx_create_context_es2_profile.txt">GLX_EXT_create_context_es2_profile</a></li>
|
|
<li><a href="http://www.opengl.org/registry/specs/ARB/context_flush_control.txt">KHR_context_flush_control</a></li>
|
|
</ul>
|
|
<p/>
|
|
Use of this class is optional. If an OpenGL context is created without passing an instance of this class
|
|
(or ARB_create_context is not supported), the old context creation code will be used. Support for debug and forward
|
|
compatible mobes is not guaranteed by the OpenGL implementation. Developers may encounter debug contexts being the same
|
|
as non-debug contexts or forward compatible contexts having support for deprecated functionality.
|
|
<p/>
|
|
If the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_FORWARD_COMPATIBLE_BIT_ARB"><CODE>CONTEXT_FORWARD_COMPATIBLE_BIT_ARB</CODE></A> flag is used, LWJGL will not load the deprecated functionality (as defined in the OpenGL 3.0
|
|
specification), even if the driver exposes the corresponding entry points.
|
|
<p/>
|
|
This extension is not supported on MacOS X. However, in order to enable the GL 3.2 context on MacOS X 10.7 or newer, an instance of this class must be passed
|
|
to LWJGL. The only valid configuration is <code>ContextAttribs(3, 2, CONTEXT_CORE_PROFILE_BIT_ARB)</code>, anything else will be ignored.
|
|
<P>
|
|
|
|
<P>
|
|
<DL>
|
|
<DT><B>Author:</B></DT>
|
|
<DD>spasi <spasi@users.sourceforge.net></DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<P>
|
|
<!-- =========== FIELD SUMMARY =========== -->
|
|
|
|
<A NAME="field_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Field Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB">CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_CORE_PROFILE_BIT_ARB">CONTEXT_CORE_PROFILE_BIT_ARB</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_DEBUG_BIT_ARB">CONTEXT_DEBUG_BIT_ARB</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_ES2_PROFILE_BIT_EXT">CONTEXT_ES2_PROFILE_BIT_EXT</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_FLAGS_ARB">CONTEXT_FLAGS_ARB</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_FORWARD_COMPATIBLE_BIT_ARB">CONTEXT_FORWARD_COMPATIBLE_BIT_ARB</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_LAYER_PLANE_ARB">CONTEXT_LAYER_PLANE_ARB</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_MAJOR_VERSION_ARB">CONTEXT_MAJOR_VERSION_ARB</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_MINOR_VERSION_ARB">CONTEXT_MINOR_VERSION_ARB</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_PROFILE_MASK_ARB">CONTEXT_PROFILE_MASK_ARB</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_RELEASE_BEHABIOR_ARB">CONTEXT_RELEASE_BEHABIOR_ARB</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB">CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_RELEASE_BEHAVIOR_NONE_ARB">CONTEXT_RELEASE_BEHAVIOR_NONE_ARB</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_RESET_ISOLATION_BIT_ARB">CONTEXT_RESET_ISOLATION_BIT_ARB</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB">CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_ROBUST_ACCESS_BIT_ARB">CONTEXT_ROBUST_ACCESS_BIT_ARB</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#LOSE_CONTEXT_ON_RESET_ARB">LOSE_CONTEXT_ON_RESET_ARB</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#NO_RESET_NOTIFICATION_ARB">NO_RESET_NOTIFICATION_ARB</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
|
|
<A NAME="constructor_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Constructor Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#ContextAttribs()">ContextAttribs</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Creates the default ContextAttribs instance.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#ContextAttribs(int, int)">ContextAttribs</A></B>(int majorVersion,
|
|
int minorVersion)</CODE>
|
|
|
|
<BR>
|
|
Creates a ContextAttribs instance for the given OpenGL version.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#ContextAttribs(int, int, int)">ContextAttribs</A></B>(int majorVersion,
|
|
int minorVersion,
|
|
int profileMask)</CODE>
|
|
|
|
<BR>
|
|
Creates a new ContextAttribs instance with the given attributes.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#ContextAttribs(int, int, int, int)">ContextAttribs</A></B>(int majorVersion,
|
|
int minorVersion,
|
|
int profileMask,
|
|
int contextFlags)</CODE>
|
|
|
|
<BR>
|
|
Creates a new ContextAttribs instance with the given attributes.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
|
|
<A NAME="method_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Method Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#getContextFlags()">getContextFlags</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_FLAGS_ARB"><CODE>CONTEXT_FLAGS_ARB</CODE></A> value.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#getContextReleaseBehavior()">getContextReleaseBehavior</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_RELEASE_BEHABIOR_ARB"><CODE>CONTEXT_RELEASE_BEHABIOR_ARB</CODE></A> value.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#getContextResetNotificationStrategy()">getContextResetNotificationStrategy</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB"><CODE>CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB</CODE></A> value.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#getLayerPlane()">getLayerPlane</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_LAYER_PLANE_ARB"><CODE>CONTEXT_LAYER_PLANE_ARB</CODE></A> value.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#getMajorVersion()">getMajorVersion</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_MAJOR_VERSION_ARB"><CODE>CONTEXT_MAJOR_VERSION_ARB</CODE></A> value.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#getMinorVersion()">getMinorVersion</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_MINOR_VERSION_ARB"><CODE>CONTEXT_MINOR_VERSION_ARB</CODE></A> value.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#getProfileMask()">getProfileMask</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_PROFILE_MASK_ARB"><CODE>CONTEXT_PROFILE_MASK_ARB</CODE></A> value.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#isContextResetIsolation()">isContextResetIsolation</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns true if the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_RESET_ISOLATION_BIT_ARB"><CODE>CONTEXT_RESET_ISOLATION_BIT_ARB</CODE></A> has been set.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#isDebug()">isDebug</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns true if the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_DEBUG_BIT_ARB"><CODE>CONTEXT_DEBUG_BIT_ARB</CODE></A> has been set.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#isForwardCompatible()">isForwardCompatible</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns true if the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_FORWARD_COMPATIBLE_BIT_ARB"><CODE>CONTEXT_FORWARD_COMPATIBLE_BIT_ARB</CODE></A> has been set.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#isLoseContextOnReset()">isLoseContextOnReset</A></B>()</CODE>
|
|
|
|
<BR>
|
|
<B>Deprecated.</B> <I>use <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#getContextResetNotificationStrategy()"><CODE>getContextResetNotificationStrategy()</CODE></A> instead</I></TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#isProfileCompatibility()">isProfileCompatibility</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns true if the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB"><CODE>CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB</CODE></A> has been set.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#isProfileCore()">isProfileCore</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns true if the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_CORE_PROFILE_BIT_ARB"><CODE>CONTEXT_CORE_PROFILE_BIT_ARB</CODE></A> has been set.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#isProfileES()">isProfileES</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns true if the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_ES2_PROFILE_BIT_EXT"><CODE>CONTEXT_ES2_PROFILE_BIT_EXT</CODE></A> has been set.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#isRobustAccess()">isRobustAccess</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns true if the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_ROBUST_ACCESS_BIT_ARB"><CODE>CONTEXT_ROBUST_ACCESS_BIT_ARB</CODE></A> has been set.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.lang.String</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#toString()">toString</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html" title="class in org.lwjgl.opengl">ContextAttribs</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#withContextReleaseBehavior(int)">withContextReleaseBehavior</A></B>(int behavior)</CODE>
|
|
|
|
<BR>
|
|
Returns a ContextAttribs instance with <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_RELEASE_BEHABIOR_ARB"><CODE>CONTEXT_RELEASE_BEHABIOR_ARB</CODE></A> set to the given behavior.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html" title="class in org.lwjgl.opengl">ContextAttribs</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#withContextResetIsolation(boolean)">withContextResetIsolation</A></B>(boolean contextResetIsolation)</CODE>
|
|
|
|
<BR>
|
|
Returns a new <code>ContextAttribs</code> instance with the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_RESET_ISOLATION_BIT_ARB"><CODE>CONTEXT_RESET_ISOLATION_BIT_ARB</CODE></A> bit in <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_FLAGS_ARB"><CODE>CONTEXT_FLAGS_ARB</CODE></A> set to the given value.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html" title="class in org.lwjgl.opengl">ContextAttribs</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#withDebug(boolean)">withDebug</A></B>(boolean debug)</CODE>
|
|
|
|
<BR>
|
|
Returns a new <code>ContextAttribs</code> instance with the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_DEBUG_BIT_ARB"><CODE>CONTEXT_DEBUG_BIT_ARB</CODE></A> bit in <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_FLAGS_ARB"><CODE>CONTEXT_FLAGS_ARB</CODE></A> set to the given value.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html" title="class in org.lwjgl.opengl">ContextAttribs</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#withForwardCompatible(boolean)">withForwardCompatible</A></B>(boolean forwardCompatible)</CODE>
|
|
|
|
<BR>
|
|
Returns a new <code>ContextAttribs</code> instance with the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_FORWARD_COMPATIBLE_BIT_ARB"><CODE>CONTEXT_FORWARD_COMPATIBLE_BIT_ARB</CODE></A> bit in <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_FLAGS_ARB"><CODE>CONTEXT_FLAGS_ARB</CODE></A> set to the given value.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html" title="class in org.lwjgl.opengl">ContextAttribs</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#withLayer(int)">withLayer</A></B>(int layerPlane)</CODE>
|
|
|
|
<BR>
|
|
Returns a new <code>ContextAttribs</code> instance with <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_LAYER_PLANE_ARB"><CODE>CONTEXT_LAYER_PLANE_ARB</CODE></A> set to the given value.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html" title="class in org.lwjgl.opengl">ContextAttribs</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#withLoseContextOnReset(boolean)">withLoseContextOnReset</A></B>(boolean loseContextOnReset)</CODE>
|
|
|
|
<BR>
|
|
<B>Deprecated.</B> <I>use <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#withResetNotificationStrategy(int)"><CODE>withResetNotificationStrategy(int)</CODE></A> instead</I></TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html" title="class in org.lwjgl.opengl">ContextAttribs</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#withProfileCompatibility(boolean)">withProfileCompatibility</A></B>(boolean profileCompatibility)</CODE>
|
|
|
|
<BR>
|
|
Returns a new <code>ContextAttribs</code> instance with the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB"><CODE>CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB</CODE></A> bit in <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_PROFILE_MASK_ARB"><CODE>CONTEXT_PROFILE_MASK_ARB</CODE></A> set to the given value.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html" title="class in org.lwjgl.opengl">ContextAttribs</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#withProfileCore(boolean)">withProfileCore</A></B>(boolean profileCore)</CODE>
|
|
|
|
<BR>
|
|
Returns a new <code>ContextAttribs</code> instance with the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_CORE_PROFILE_BIT_ARB"><CODE>CONTEXT_CORE_PROFILE_BIT_ARB</CODE></A> bit in <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_PROFILE_MASK_ARB"><CODE>CONTEXT_PROFILE_MASK_ARB</CODE></A> set to the given value.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html" title="class in org.lwjgl.opengl">ContextAttribs</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#withProfileES(boolean)">withProfileES</A></B>(boolean profileES)</CODE>
|
|
|
|
<BR>
|
|
Returns a new <code>ContextAttribs</code> instance with the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_ES2_PROFILE_BIT_EXT"><CODE>CONTEXT_ES2_PROFILE_BIT_EXT</CODE></A> bit in <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_PROFILE_MASK_ARB"><CODE>CONTEXT_PROFILE_MASK_ARB</CODE></A> set to the given value.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html" title="class in org.lwjgl.opengl">ContextAttribs</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#withResetNotificationStrategy(int)">withResetNotificationStrategy</A></B>(int strategy)</CODE>
|
|
|
|
<BR>
|
|
Returns a ContextAttribs instance with <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB"><CODE>CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB</CODE></A> set to the given strategy.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html" title="class in org.lwjgl.opengl">ContextAttribs</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#withRobustAccess(boolean)">withRobustAccess</A></B>(boolean robustAccess)</CODE>
|
|
|
|
<BR>
|
|
Returns a new <code>ContextAttribs</code> instance with the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_ROBUST_ACCESS_BIT_ARB"><CODE>CONTEXT_ROBUST_ACCESS_BIT_ARB</CODE></A> bit in <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_FLAGS_ARB"><CODE>CONTEXT_FLAGS_ARB</CODE></A> set to the given value.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<!-- ============ FIELD DETAIL =========== -->
|
|
|
|
<A NAME="field_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Field Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="CONTEXT_MAJOR_VERSION_ARB"><!-- --></A><H3>
|
|
CONTEXT_MAJOR_VERSION_ARB</H3>
|
|
<PRE>
|
|
public static final int <B>CONTEXT_MAJOR_VERSION_ARB</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.opengl.ContextAttribs.CONTEXT_MAJOR_VERSION_ARB">Constant Field Values</A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="CONTEXT_MINOR_VERSION_ARB"><!-- --></A><H3>
|
|
CONTEXT_MINOR_VERSION_ARB</H3>
|
|
<PRE>
|
|
public static final int <B>CONTEXT_MINOR_VERSION_ARB</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.opengl.ContextAttribs.CONTEXT_MINOR_VERSION_ARB">Constant Field Values</A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="CONTEXT_PROFILE_MASK_ARB"><!-- --></A><H3>
|
|
CONTEXT_PROFILE_MASK_ARB</H3>
|
|
<PRE>
|
|
public static final int <B>CONTEXT_PROFILE_MASK_ARB</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.opengl.ContextAttribs.CONTEXT_PROFILE_MASK_ARB">Constant Field Values</A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="CONTEXT_CORE_PROFILE_BIT_ARB"><!-- --></A><H3>
|
|
CONTEXT_CORE_PROFILE_BIT_ARB</H3>
|
|
<PRE>
|
|
public static final int <B>CONTEXT_CORE_PROFILE_BIT_ARB</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.opengl.ContextAttribs.CONTEXT_CORE_PROFILE_BIT_ARB">Constant Field Values</A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB"><!-- --></A><H3>
|
|
CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB</H3>
|
|
<PRE>
|
|
public static final int <B>CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.opengl.ContextAttribs.CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB">Constant Field Values</A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="CONTEXT_ES2_PROFILE_BIT_EXT"><!-- --></A><H3>
|
|
CONTEXT_ES2_PROFILE_BIT_EXT</H3>
|
|
<PRE>
|
|
public static final int <B>CONTEXT_ES2_PROFILE_BIT_EXT</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.opengl.ContextAttribs.CONTEXT_ES2_PROFILE_BIT_EXT">Constant Field Values</A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="CONTEXT_FLAGS_ARB"><!-- --></A><H3>
|
|
CONTEXT_FLAGS_ARB</H3>
|
|
<PRE>
|
|
public static final int <B>CONTEXT_FLAGS_ARB</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.opengl.ContextAttribs.CONTEXT_FLAGS_ARB">Constant Field Values</A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="CONTEXT_DEBUG_BIT_ARB"><!-- --></A><H3>
|
|
CONTEXT_DEBUG_BIT_ARB</H3>
|
|
<PRE>
|
|
public static final int <B>CONTEXT_DEBUG_BIT_ARB</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.opengl.ContextAttribs.CONTEXT_DEBUG_BIT_ARB">Constant Field Values</A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="CONTEXT_FORWARD_COMPATIBLE_BIT_ARB"><!-- --></A><H3>
|
|
CONTEXT_FORWARD_COMPATIBLE_BIT_ARB</H3>
|
|
<PRE>
|
|
public static final int <B>CONTEXT_FORWARD_COMPATIBLE_BIT_ARB</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.opengl.ContextAttribs.CONTEXT_FORWARD_COMPATIBLE_BIT_ARB">Constant Field Values</A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="CONTEXT_ROBUST_ACCESS_BIT_ARB"><!-- --></A><H3>
|
|
CONTEXT_ROBUST_ACCESS_BIT_ARB</H3>
|
|
<PRE>
|
|
public static final int <B>CONTEXT_ROBUST_ACCESS_BIT_ARB</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.opengl.ContextAttribs.CONTEXT_ROBUST_ACCESS_BIT_ARB">Constant Field Values</A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="CONTEXT_RESET_ISOLATION_BIT_ARB"><!-- --></A><H3>
|
|
CONTEXT_RESET_ISOLATION_BIT_ARB</H3>
|
|
<PRE>
|
|
public static final int <B>CONTEXT_RESET_ISOLATION_BIT_ARB</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.opengl.ContextAttribs.CONTEXT_RESET_ISOLATION_BIT_ARB">Constant Field Values</A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB"><!-- --></A><H3>
|
|
CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB</H3>
|
|
<PRE>
|
|
public static final int <B>CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.opengl.ContextAttribs.CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB">Constant Field Values</A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="NO_RESET_NOTIFICATION_ARB"><!-- --></A><H3>
|
|
NO_RESET_NOTIFICATION_ARB</H3>
|
|
<PRE>
|
|
public static final int <B>NO_RESET_NOTIFICATION_ARB</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.opengl.ContextAttribs.NO_RESET_NOTIFICATION_ARB">Constant Field Values</A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="LOSE_CONTEXT_ON_RESET_ARB"><!-- --></A><H3>
|
|
LOSE_CONTEXT_ON_RESET_ARB</H3>
|
|
<PRE>
|
|
public static final int <B>LOSE_CONTEXT_ON_RESET_ARB</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.opengl.ContextAttribs.LOSE_CONTEXT_ON_RESET_ARB">Constant Field Values</A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="CONTEXT_RELEASE_BEHABIOR_ARB"><!-- --></A><H3>
|
|
CONTEXT_RELEASE_BEHABIOR_ARB</H3>
|
|
<PRE>
|
|
public static final int <B>CONTEXT_RELEASE_BEHABIOR_ARB</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.opengl.ContextAttribs.CONTEXT_RELEASE_BEHABIOR_ARB">Constant Field Values</A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="CONTEXT_RELEASE_BEHAVIOR_NONE_ARB"><!-- --></A><H3>
|
|
CONTEXT_RELEASE_BEHAVIOR_NONE_ARB</H3>
|
|
<PRE>
|
|
public static final int <B>CONTEXT_RELEASE_BEHAVIOR_NONE_ARB</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.opengl.ContextAttribs.CONTEXT_RELEASE_BEHAVIOR_NONE_ARB">Constant Field Values</A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB"><!-- --></A><H3>
|
|
CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB</H3>
|
|
<PRE>
|
|
public static final int <B>CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.opengl.ContextAttribs.CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB">Constant Field Values</A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="CONTEXT_LAYER_PLANE_ARB"><!-- --></A><H3>
|
|
CONTEXT_LAYER_PLANE_ARB</H3>
|
|
<PRE>
|
|
public static final int <B>CONTEXT_LAYER_PLANE_ARB</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.opengl.ContextAttribs.CONTEXT_LAYER_PLANE_ARB">Constant Field Values</A></DL>
|
|
</DL>
|
|
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
|
|
<A NAME="constructor_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Constructor Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="ContextAttribs()"><!-- --></A><H3>
|
|
ContextAttribs</H3>
|
|
<PRE>
|
|
public <B>ContextAttribs</B>()</PRE>
|
|
<DL>
|
|
<DD>Creates the default ContextAttribs instance. No special attributes will be used when creating the OpenGL context.
|
|
<P>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="ContextAttribs(int, int)"><!-- --></A><H3>
|
|
ContextAttribs</H3>
|
|
<PRE>
|
|
public <B>ContextAttribs</B>(int majorVersion,
|
|
int minorVersion)</PRE>
|
|
<DL>
|
|
<DD>Creates a ContextAttribs instance for the given OpenGL version.
|
|
<P>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="ContextAttribs(int, int, int)"><!-- --></A><H3>
|
|
ContextAttribs</H3>
|
|
<PRE>
|
|
public <B>ContextAttribs</B>(int majorVersion,
|
|
int minorVersion,
|
|
int profileMask)</PRE>
|
|
<DL>
|
|
<DD>Creates a new ContextAttribs instance with the given attributes.
|
|
<P>
|
|
<DL>
|
|
<DT><B>Parameters:</B><DD><CODE>majorVersion</CODE> - the major OpenGL version<DD><CODE>minorVersion</CODE> - the minor OpenGL version<DD><CODE>profileMask</CODE> - the context profile mask. One of:<br><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_CORE_PROFILE_BIT_ARB"><CODE>CONTEXT_CORE_PROFILE_BIT_ARB</CODE></A>, <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_FORWARD_COMPATIBLE_BIT_ARB"><CODE>CONTEXT_FORWARD_COMPATIBLE_BIT_ARB</CODE></A>, <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_ES2_PROFILE_BIT_EXT"><CODE>CONTEXT_ES2_PROFILE_BIT_EXT</CODE></A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="ContextAttribs(int, int, int, int)"><!-- --></A><H3>
|
|
ContextAttribs</H3>
|
|
<PRE>
|
|
public <B>ContextAttribs</B>(int majorVersion,
|
|
int minorVersion,
|
|
int profileMask,
|
|
int contextFlags)</PRE>
|
|
<DL>
|
|
<DD>Creates a new ContextAttribs instance with the given attributes.
|
|
<P>
|
|
<DL>
|
|
<DT><B>Parameters:</B><DD><CODE>majorVersion</CODE> - the major OpenGL version<DD><CODE>minorVersion</CODE> - the minor OpenGL version<DD><CODE>profileMask</CODE> - the context profile mask. One of:<br><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_CORE_PROFILE_BIT_ARB"><CODE>CONTEXT_CORE_PROFILE_BIT_ARB</CODE></A>, <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_FORWARD_COMPATIBLE_BIT_ARB"><CODE>CONTEXT_FORWARD_COMPATIBLE_BIT_ARB</CODE></A>, <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_ES2_PROFILE_BIT_EXT"><CODE>CONTEXT_ES2_PROFILE_BIT_EXT</CODE></A><DD><CODE>contextFlags</CODE> - the context flags, a bitfield value. One or more of:<br><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_DEBUG_BIT_ARB"><CODE>CONTEXT_DEBUG_BIT_ARB</CODE></A>, <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_FORWARD_COMPATIBLE_BIT_ARB"><CODE>CONTEXT_FORWARD_COMPATIBLE_BIT_ARB</CODE></A>, <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_ROBUST_ACCESS_BIT_ARB"><CODE>CONTEXT_ROBUST_ACCESS_BIT_ARB</CODE></A>, <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_RESET_ISOLATION_BIT_ARB"><CODE>CONTEXT_RESET_ISOLATION_BIT_ARB</CODE></A></DL>
|
|
</DL>
|
|
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
|
|
<A NAME="method_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Method Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="getMajorVersion()"><!-- --></A><H3>
|
|
getMajorVersion</H3>
|
|
<PRE>
|
|
public int <B>getMajorVersion</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_MAJOR_VERSION_ARB"><CODE>CONTEXT_MAJOR_VERSION_ARB</CODE></A> value.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getMinorVersion()"><!-- --></A><H3>
|
|
getMinorVersion</H3>
|
|
<PRE>
|
|
public int <B>getMinorVersion</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_MINOR_VERSION_ARB"><CODE>CONTEXT_MINOR_VERSION_ARB</CODE></A> value.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getProfileMask()"><!-- --></A><H3>
|
|
getProfileMask</H3>
|
|
<PRE>
|
|
public int <B>getProfileMask</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_PROFILE_MASK_ARB"><CODE>CONTEXT_PROFILE_MASK_ARB</CODE></A> value.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isProfileCore()"><!-- --></A><H3>
|
|
isProfileCore</H3>
|
|
<PRE>
|
|
public boolean <B>isProfileCore</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns true if the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_CORE_PROFILE_BIT_ARB"><CODE>CONTEXT_CORE_PROFILE_BIT_ARB</CODE></A> has been set.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isProfileCompatibility()"><!-- --></A><H3>
|
|
isProfileCompatibility</H3>
|
|
<PRE>
|
|
public boolean <B>isProfileCompatibility</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns true if the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB"><CODE>CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB</CODE></A> has been set.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isProfileES()"><!-- --></A><H3>
|
|
isProfileES</H3>
|
|
<PRE>
|
|
public boolean <B>isProfileES</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns true if the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_ES2_PROFILE_BIT_EXT"><CODE>CONTEXT_ES2_PROFILE_BIT_EXT</CODE></A> has been set.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getContextFlags()"><!-- --></A><H3>
|
|
getContextFlags</H3>
|
|
<PRE>
|
|
public int <B>getContextFlags</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_FLAGS_ARB"><CODE>CONTEXT_FLAGS_ARB</CODE></A> value.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isDebug()"><!-- --></A><H3>
|
|
isDebug</H3>
|
|
<PRE>
|
|
public boolean <B>isDebug</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns true if the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_DEBUG_BIT_ARB"><CODE>CONTEXT_DEBUG_BIT_ARB</CODE></A> has been set.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isForwardCompatible()"><!-- --></A><H3>
|
|
isForwardCompatible</H3>
|
|
<PRE>
|
|
public boolean <B>isForwardCompatible</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns true if the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_FORWARD_COMPATIBLE_BIT_ARB"><CODE>CONTEXT_FORWARD_COMPATIBLE_BIT_ARB</CODE></A> has been set.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isRobustAccess()"><!-- --></A><H3>
|
|
isRobustAccess</H3>
|
|
<PRE>
|
|
public boolean <B>isRobustAccess</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns true if the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_ROBUST_ACCESS_BIT_ARB"><CODE>CONTEXT_ROBUST_ACCESS_BIT_ARB</CODE></A> has been set.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isContextResetIsolation()"><!-- --></A><H3>
|
|
isContextResetIsolation</H3>
|
|
<PRE>
|
|
public boolean <B>isContextResetIsolation</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns true if the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_RESET_ISOLATION_BIT_ARB"><CODE>CONTEXT_RESET_ISOLATION_BIT_ARB</CODE></A> has been set.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getContextResetNotificationStrategy()"><!-- --></A><H3>
|
|
getContextResetNotificationStrategy</H3>
|
|
<PRE>
|
|
public int <B>getContextResetNotificationStrategy</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB"><CODE>CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB</CODE></A> value.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isLoseContextOnReset()"><!-- --></A><H3>
|
|
isLoseContextOnReset</H3>
|
|
<PRE>
|
|
public boolean <B>isLoseContextOnReset</B>()</PRE>
|
|
<DL>
|
|
<DD><B>Deprecated.</B> <I>use <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#getContextResetNotificationStrategy()"><CODE>getContextResetNotificationStrategy()</CODE></A> instead</I>
|
|
<P>
|
|
<DD>Returns true if the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB"><CODE>CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB</CODE></A> has been set to <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#LOSE_CONTEXT_ON_RESET_ARB"><CODE>LOSE_CONTEXT_ON_RESET_ARB</CODE></A>.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getContextReleaseBehavior()"><!-- --></A><H3>
|
|
getContextReleaseBehavior</H3>
|
|
<PRE>
|
|
public int <B>getContextReleaseBehavior</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_RELEASE_BEHABIOR_ARB"><CODE>CONTEXT_RELEASE_BEHABIOR_ARB</CODE></A> value.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getLayerPlane()"><!-- --></A><H3>
|
|
getLayerPlane</H3>
|
|
<PRE>
|
|
public int <B>getLayerPlane</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_LAYER_PLANE_ARB"><CODE>CONTEXT_LAYER_PLANE_ARB</CODE></A> value.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="withProfileCore(boolean)"><!-- --></A><H3>
|
|
withProfileCore</H3>
|
|
<PRE>
|
|
public <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html" title="class in org.lwjgl.opengl">ContextAttribs</A> <B>withProfileCore</B>(boolean profileCore)</PRE>
|
|
<DL>
|
|
<DD>Returns a new <code>ContextAttribs</code> instance with the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_CORE_PROFILE_BIT_ARB"><CODE>CONTEXT_CORE_PROFILE_BIT_ARB</CODE></A> bit in <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_PROFILE_MASK_ARB"><CODE>CONTEXT_PROFILE_MASK_ARB</CODE></A> set to the given value.
|
|
If <code>profileCore</code> is true, all other bits in the mask are cleared.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="withProfileCompatibility(boolean)"><!-- --></A><H3>
|
|
withProfileCompatibility</H3>
|
|
<PRE>
|
|
public <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html" title="class in org.lwjgl.opengl">ContextAttribs</A> <B>withProfileCompatibility</B>(boolean profileCompatibility)</PRE>
|
|
<DL>
|
|
<DD>Returns a new <code>ContextAttribs</code> instance with the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB"><CODE>CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB</CODE></A> bit in <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_PROFILE_MASK_ARB"><CODE>CONTEXT_PROFILE_MASK_ARB</CODE></A> set to the given value.
|
|
If <code>profileCompatibility</code> is true, all other bits in the mask are cleared.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="withProfileES(boolean)"><!-- --></A><H3>
|
|
withProfileES</H3>
|
|
<PRE>
|
|
public <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html" title="class in org.lwjgl.opengl">ContextAttribs</A> <B>withProfileES</B>(boolean profileES)</PRE>
|
|
<DL>
|
|
<DD>Returns a new <code>ContextAttribs</code> instance with the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_ES2_PROFILE_BIT_EXT"><CODE>CONTEXT_ES2_PROFILE_BIT_EXT</CODE></A> bit in <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_PROFILE_MASK_ARB"><CODE>CONTEXT_PROFILE_MASK_ARB</CODE></A> set to the given value.
|
|
If <code>profileES</code> is true, all other bits in the mask are cleared.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="withDebug(boolean)"><!-- --></A><H3>
|
|
withDebug</H3>
|
|
<PRE>
|
|
public <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html" title="class in org.lwjgl.opengl">ContextAttribs</A> <B>withDebug</B>(boolean debug)</PRE>
|
|
<DL>
|
|
<DD>Returns a new <code>ContextAttribs</code> instance with the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_DEBUG_BIT_ARB"><CODE>CONTEXT_DEBUG_BIT_ARB</CODE></A> bit in <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_FLAGS_ARB"><CODE>CONTEXT_FLAGS_ARB</CODE></A> set to the given value.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="withForwardCompatible(boolean)"><!-- --></A><H3>
|
|
withForwardCompatible</H3>
|
|
<PRE>
|
|
public <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html" title="class in org.lwjgl.opengl">ContextAttribs</A> <B>withForwardCompatible</B>(boolean forwardCompatible)</PRE>
|
|
<DL>
|
|
<DD>Returns a new <code>ContextAttribs</code> instance with the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_FORWARD_COMPATIBLE_BIT_ARB"><CODE>CONTEXT_FORWARD_COMPATIBLE_BIT_ARB</CODE></A> bit in <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_FLAGS_ARB"><CODE>CONTEXT_FLAGS_ARB</CODE></A> set to the given value.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="withRobustAccess(boolean)"><!-- --></A><H3>
|
|
withRobustAccess</H3>
|
|
<PRE>
|
|
public <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html" title="class in org.lwjgl.opengl">ContextAttribs</A> <B>withRobustAccess</B>(boolean robustAccess)</PRE>
|
|
<DL>
|
|
<DD>Returns a new <code>ContextAttribs</code> instance with the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_ROBUST_ACCESS_BIT_ARB"><CODE>CONTEXT_ROBUST_ACCESS_BIT_ARB</CODE></A> bit in <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_FLAGS_ARB"><CODE>CONTEXT_FLAGS_ARB</CODE></A> set to the given value.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="withContextResetIsolation(boolean)"><!-- --></A><H3>
|
|
withContextResetIsolation</H3>
|
|
<PRE>
|
|
public <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html" title="class in org.lwjgl.opengl">ContextAttribs</A> <B>withContextResetIsolation</B>(boolean contextResetIsolation)</PRE>
|
|
<DL>
|
|
<DD>Returns a new <code>ContextAttribs</code> instance with the <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_RESET_ISOLATION_BIT_ARB"><CODE>CONTEXT_RESET_ISOLATION_BIT_ARB</CODE></A> bit in <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_FLAGS_ARB"><CODE>CONTEXT_FLAGS_ARB</CODE></A> set to the given value.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="withResetNotificationStrategy(int)"><!-- --></A><H3>
|
|
withResetNotificationStrategy</H3>
|
|
<PRE>
|
|
public <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html" title="class in org.lwjgl.opengl">ContextAttribs</A> <B>withResetNotificationStrategy</B>(int strategy)</PRE>
|
|
<DL>
|
|
<DD>Returns a ContextAttribs instance with <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB"><CODE>CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB</CODE></A> set to the given strategy. The default context reset notification
|
|
strategy is <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#NO_RESET_NOTIFICATION_ARB"><CODE>NO_RESET_NOTIFICATION_ARB</CODE></A>.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>strategy</CODE> - the context reset notification strategy. One of:<br><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#NO_RESET_NOTIFICATION_ARB"><CODE>NO_RESET_NOTIFICATION_ARB</CODE></A>, <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#LOSE_CONTEXT_ON_RESET_ARB"><CODE>LOSE_CONTEXT_ON_RESET_ARB</CODE></A>
|
|
<DT><B>Returns:</B><DD>the new ContextAttribs</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="withLoseContextOnReset(boolean)"><!-- --></A><H3>
|
|
withLoseContextOnReset</H3>
|
|
<PRE>
|
|
public <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html" title="class in org.lwjgl.opengl">ContextAttribs</A> <B>withLoseContextOnReset</B>(boolean loseContextOnReset)</PRE>
|
|
<DL>
|
|
<DD><B>Deprecated.</B> <I>use <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#withResetNotificationStrategy(int)"><CODE>withResetNotificationStrategy(int)</CODE></A> instead</I>
|
|
<P>
|
|
<DD>Returns a ContextAttribs instance with <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB"><CODE>CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB</CODE></A> set to <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#LOSE_CONTEXT_ON_RESET_ARB"><CODE>LOSE_CONTEXT_ON_RESET_ARB</CODE></A> if the parameter is
|
|
true or to <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#NO_RESET_NOTIFICATION_ARB"><CODE>NO_RESET_NOTIFICATION_ARB</CODE></A> if the parameter is false.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>loseContextOnReset</CODE> - the context reset notification strategy
|
|
<DT><B>Returns:</B><DD>the new ContextAttribs</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="withContextReleaseBehavior(int)"><!-- --></A><H3>
|
|
withContextReleaseBehavior</H3>
|
|
<PRE>
|
|
public <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html" title="class in org.lwjgl.opengl">ContextAttribs</A> <B>withContextReleaseBehavior</B>(int behavior)</PRE>
|
|
<DL>
|
|
<DD>Returns a ContextAttribs instance with <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_RELEASE_BEHABIOR_ARB"><CODE>CONTEXT_RELEASE_BEHABIOR_ARB</CODE></A> set to the given behavior. The default context release behavior is
|
|
<A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB"><CODE>CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB</CODE></A>.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>behavior</CODE> - the context release behavior. One of:<br><A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB"><CODE>CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB</CODE></A>, <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_RELEASE_BEHAVIOR_NONE_ARB"><CODE>CONTEXT_RELEASE_BEHAVIOR_NONE_ARB</CODE></A>
|
|
<DT><B>Returns:</B><DD>the new ContextAttribs</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="withLayer(int)"><!-- --></A><H3>
|
|
withLayer</H3>
|
|
<PRE>
|
|
public <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html" title="class in org.lwjgl.opengl">ContextAttribs</A> <B>withLayer</B>(int layerPlane)</PRE>
|
|
<DL>
|
|
<DD>Returns a new <code>ContextAttribs</code> instance with <A HREF="../../../org/lwjgl/opengl/ContextAttribs.html#CONTEXT_LAYER_PLANE_ARB"><CODE>CONTEXT_LAYER_PLANE_ARB</CODE></A> set to the given value.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="toString()"><!-- --></A><H3>
|
|
toString</H3>
|
|
<PRE>
|
|
public java.lang.String <B>toString</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<HR>
|
|
|
|
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<A NAME="navbar_bottom"><!-- --></A>
|
|
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
<TR>
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
<TR ALIGN="center" VALIGN="top">
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ContextAttribs.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../org/lwjgl/opengl/AWTGLCanvas.html" title="class in org.lwjgl.opengl"><B>PREV CLASS</B></A>
|
|
<A HREF="../../../org/lwjgl/opengl/ContextCapabilities.html" title="class in org.lwjgl.opengl"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../index.html?org/lwjgl/opengl/ContextAttribs.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="ContextAttribs.html" target="_top"><B>NO FRAMES</B></A>
|
|
<SCRIPT type="text/javascript">
|
|
<!--
|
|
if(window==top) {
|
|
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
}
|
|
//-->
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
</NOSCRIPT>
|
|
|
|
|
|
</FONT></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_bottom"></A>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
|
|
<HR>
|
|
<i>Copyright © 2002-2009 lwjgl.org. All Rights Reserved.</i>
|
|
</BODY>
|
|
</HTML>
|