Opentk/Source/Examples/OpenTK/GameWindow/GameWindowMsaa.rtf

21 lines
1.4 KiB
Plaintext
Raw Normal View History

{\rtf1\ansi\deff0{\fonttbl{\f0\fswiss\fprq2\fcharset161{\*\fname Arial;}Arial Greek;}{\f1\fswiss\fprq2\fcharset0 Arial;}{\f2\fnil\fcharset0 Courier New;}}
{\colortbl ;\red163\green21\blue21;}
{\*\generator Msftedit 5.41.21.2509;}\viewkind4\uc1\pard\nowidctlpar\cf1\lang1032\b\f0\fs28 Introduction\b0\fs22\par
\par
This sample \lang1033\f1 explains how to render graphics with multisample antialiasing. It uses the same code as the simple GameWindow sample, so refer to that for an explanation on the various event handlers.\par
\lang1032\f0\par
\b\fs28 Controls\par
\b0\fs22\par
Move or resize the window with your mouse.\par
\lang1033\f1 Press F11 to toggle between fullscreen and windowed modes.\par
Press Esc to exit.\lang1032\f0\par
\par
\b\fs28 Implementation\par
\b0\fs22\par
\pard\lang1033\f1 The GameWindow offers various constructors that allow you to specify the exact GraphicsMode for the constructed GraphicsContext. The "samples" parameter represents the level of antialiasing you wish to use.\par
\par
In order to enable multisample antialiasing, simply pass a positive integer to the samples parameter. Typical values are 2, 4, 6, 8 and 16, but the exact list depends on the capabilities of your video card.\par
\par
If you pass an unsupported value, context construction may fail with a GraphicsModeException. However, some drivers may simply ignore unsupported samples values.\cf0\f2\par
}
2010-10-02 18:52:34 +00:00