資源簡介
The Open Took Kit (OpenTK), 是對 OpenGL、OpanAL、OpenCL 的跨平臺的封裝,使用 C# 編寫,可以運行在 Windows、 Linux 以及 MacOSX 平臺上, 任何 .Net 語言都可以使用它做開發。
主要特點如下:
快速開發
使用 .Net 的強類型和內嵌的注釋文檔, 提高代碼流程,并且有助于快速發現錯誤。
集成
可以單獨使用,也可以無縫集成到 Windows Forms、 WPF 或 GTK# 等其它應用程序中。
完全免費
MIT/X11 協議發行,完全免費。
網絡上 OpenGL 的資源可以說是非常多, 但是針對 OpenTK 的資源就很少.
Open Toolkit (OpenTk) 是一個強類型的跨平臺 OpenGL 和 OpenAL 封裝,適應 C# 和 Mono以及.NET 平臺。可以在 GTK# 以及 WinForms 應用中獨立的運行。適用于需要3D圖形,音頻或計算功能的游戲,應用科學及任何其他項目。
代碼片段和文件信息
#region?License
//
//?The?Open?Toolkit?Library?License
//
//?Copyright?(c)?2006?-?2013?Stefanos?Apostolopoulos?for?the?Open?Toolkit?Library
//
//?Permission?is?hereby?granted?free?of?charge?to?any?person?obtaining?a?copy
//?of?this?software?and?associated?documentation?files?(the?“Software“)?to?deal
//?in?the?Software?without?restriction?including?without?limitation?the?rights?to?
//?use?copy?modify?merge?publish?distribute?sublicense?and/or?sell?copies?of
//?the?Software?and?to?permit?persons?to?whom?the?Software?is?furnished?to?do
//?so?subject?to?the?following?conditions:
//
//?The?above?copyright?notice?and?this?permission?notice?shall?be?included?in?all
//?copies?or?substantial?portions?of?the?Software.
//
//?THE?SOFTWARE?IS?PROVIDED?“AS?IS“?WITHOUT?WARRANTY?OF?ANY?KIND
//?EXPRESS?OR?IMPLIED?INCLUDING?BUT?NOT?LIMITED?TO?THE?WARRANTIES
//?OF?MERCHANTABILITY?FITNESS?FOR?A?PARTICULAR?PURPOSE?AND
//?NONINFRINGEMENT.?IN?NO?EVENT?SHALL?THE?AUTHORS?OR?COPYRIGHT
//?HOLDERS?BE?LIABLE?FOR?ANY?CLAIM?DAMAGES?OR?OTHER?LIABILITY
//?WHETHER?IN?AN?ACTION?OF?CONTRACT?TORT?OR?OTHERWISE?ARISING
//?FROM?OUT?OF?OR?IN?CONNECTION?WITH?THE?SOFTWARE?OR?THE?USE?OR
//?OTHER?DEALINGS?IN?THE?SOFTWARE.
//
#endregion
using?System;
using?System.IO;
using?System.Text.Regularexpressions;
using?Bind.Structures;
using?Enum=Bind.Structures.Enum;
namespace?Bind
{
????enum?WriteOptions
????{
????????Default?=?0
????????NoIndent?=?1
????}
????class?BindStreamWriter?:?IDisposable
????{
????????static?readonly?char[]?SplitCharacters?=?new?char[]?{?‘\r‘?‘\n‘?};
????????readonly?StreamWriter?sw;
????????public?readonly?string?File;
????????int?indent_level?=?0;
????????public?BindStreamWriter(string?file)
????????{
????????????File?=?file;
????????????sw?=?new?StreamWriter(file);
????????}
????????public?void?Indent()
????????{
????????????++indent_level;
????????}
????????public?void?Unindent()
????????{
????????????if?(indent_level?>?0)
????????????????--indent_level;
????????}
????????public?void?Write(WriteOptions?options?string?value)
????????{
????????????var?lines?=?value.Split(SplitCharacters
????????????????StringSplitOptions.RemoveEmptyEntries);
????????????bool?is_multiline?=?lines.Length?>?1;
????????????if?(is_multiline)
????????????{
????????????????//?Write?all?internal?lines
????????????????for?(int?i?=?0;?i?????????????????{
????????????????????var?line?=?lines[i];
????????????????????WriteIndentations(options);
????????????????????sw.Write(line);
????????????????????sw.Write(System.Environment.NewLine);
????????????????}
????????????????//?Write?the?last?line?without?appending?a?newline
????????????????WriteIndentations(options);
????????????????sw.Write(lines[lines.Length?-?1]);
????????????}
????????????else
????????????{
????????????????WriteIndentations(options);
????????????????sw.Write(value);
????????????}
????????}
????????public?void?Write(WriteOptions?options?string?format?params?object[]?args)
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2014-07-23?23:14??opentk-1.1-4c\
?????文件?????????380??2014-07-23?23:14??opentk-1.1-4c\.gitattributes
?????文件????????2686??2014-07-23?23:14??opentk-1.1-4c\.gitignore
?????文件?????????762??2014-07-23?23:14??opentk-1.1-4c\.travis.yml
?????目錄???????????0??2014-07-23?23:14??opentk-1.1-4c\Dependencies\
?????文件????????2917??2014-07-23?23:14??opentk-1.1-4c\Dependencies\Readme.txt
?????目錄???????????0??2014-07-23?23:14??opentk-1.1-4c\Dependencies\license\
?????文件?????????419??2014-07-23?23:14??opentk-1.1-4c\Dependencies\license\SDL2.COPYING.txt
?????文件????????1655??2014-07-23?23:14??opentk-1.1-4c\Dependencies\license\angle.COPYING.txt
?????文件????????1059??2014-07-23?23:14??opentk-1.1-4c\Dependencies\license\cecil.COPYING.txt
?????文件?????????164??2014-07-23?23:14??opentk-1.1-4c\Dependencies\license\d3dcompiler.COPYING.txt
?????文件?????????895??2014-07-23?23:14??opentk-1.1-4c\Dependencies\license\ikvm.COPYING.txt
?????文件????????1107??2014-07-23?23:14??opentk-1.1-4c\Dependencies\license\monoli
?????文件???????25269??2014-07-23?23:14??opentk-1.1-4c\Dependencies\license\openal.COPYING.txt
?????目錄???????????0??2014-07-23?23:14??opentk-1.1-4c\Dependencies\managed\
?????文件??????405504??2014-07-23?23:14??opentk-1.1-4c\Dependencies\managed\IKVM.Reflection.dll
?????文件???????43008??2014-07-23?23:14??opentk-1.1-4c\Dependencies\managed\Mono.Cecil.Mdb.dll
?????文件???????81920??2014-07-23?23:14??opentk-1.1-4c\Dependencies\managed\Mono.Cecil.Pdb.dll
?????文件???????23040??2014-07-23?23:14??opentk-1.1-4c\Dependencies\managed\Mono.Cecil.Rocks.dll
?????文件??????278528??2014-07-23?23:14??opentk-1.1-4c\Dependencies\managed\Mono.Cecil.dll
?????文件???????80384??2014-07-23?23:14??opentk-1.1-4c\Dependencies\managed\monoli
?????目錄???????????0??2014-07-23?23:14??opentk-1.1-4c\Dependencies\x64\
?????文件?????1026560??2014-07-23?23:14??opentk-1.1-4c\Dependencies\x64\SDL2.dll
?????文件?????3873264??2014-07-23?23:14??opentk-1.1-4c\Dependencies\x64\d3dcompiler_46.dll
?????文件??????169984??2014-07-23?23:14??opentk-1.1-4c\Dependencies\x64\libEGL.dll
?????文件?????1370624??2014-07-23?23:14??opentk-1.1-4c\Dependencies\x64\libGLESv2.dll
?????文件?????1160240??2014-07-23?23:14??opentk-1.1-4c\Dependencies\x64\libSDL2.dylib
?????文件??????417320??2014-07-23?23:14??opentk-1.1-4c\Dependencies\x64\openal32.dll
?????目錄???????????0??2014-07-23?23:14??opentk-1.1-4c\Dependencies\x86\
?????文件??????880640??2014-07-23?23:14??opentk-1.1-4c\Dependencies\x86\SDL2.dll
?????文件?????3231688??2014-07-23?23:14??opentk-1.1-4c\Dependencies\x86\d3dcompiler_46.dll
............此處省略1886個文件信息
評論
共有 條評論