Comments (3)
The OpenGL namespace is primarily for the older FFP. You'll want to use the OpenGL4 namespace for all modern OpenGL (including version 3)
from learnopentk.
The names of the namespaces are a bit confusing.
With Graphics.OpenGL
you get all opengl that have existed, even deprecated ones. With Graphics.OpenGL4
you get only the "modern features", which doesn't include the functions that where deprecated in Open GL 3.1/3.2.
If you are targeting any version newer or equal to 3.1 or 3.2 use Graphics.OpenGL4
.
from learnopentk.
Oh. that's it. I understand.
Thanks a lot
from learnopentk.
Related Issues (20)
- .NET PixelFormat to ES30 HOT 4
- OSX: Chapter 1/1 not working on OSX HOT 7
- Console and Winform HOT 1
- wrong accessibility level for Shader.Use() HOT 2
- Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. HOT 3
- Why OpenTK does not support Matrix4.CreatePerspective( ) method ?. What are the differences between Matrix4.CreatePerspective( ) vs Matrix4.CreatePerspectiveFieldOfView( ) HOT 3
- System.Drawing.Common is not supported on non-Windows platforms. HOT 3
- No link in readme to actual tutorial HOT 2
- Where can I find examples for ES20? HOT 2
- Open TK HOT 2
- Tutorial: Questionable Shader class disposal advice/code HOT 3
- Hello Triangle shader class? HOT 2
- GL.GenBuffer() gets 0 HOT 3
- Resizing window on MacOS doesn't take care of the scale factor*2 HOT 1
- FYI: Converting LearnOpenGL HOT 2
- OnResize() is not using FramebufferSize property HOT 1
- GLSL typically uses column-major,but the demo shader of "7-Transformations" use pre-multiplication HOT 9
- Parameter of the OnFramebufferResize method in Chapter 1/2 is wrong HOT 3
- OnResize logic isn't correct HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from learnopentk.