Comments (4)
Certainly, Iād be happy to pull a PR :)
from docs.gl.
I tried adding an new .xhtml file with glGetShaderiv, and running the build script again to compile, thinking it would then pickup on this file from the opengl SDK, but I think the issue actually lies with khronos groups documentation. I have attached a picture for reference, the glGetShaderiv function and glGetShader function are both present in their navigation bar, but upon clicking each of these links, both take you to the /html/glGetShader.xhtml endpoint.
I actually think they need to fix their documentation and remove glGetShader for glGetShaderiv (looks like a typo maybe), so your compile script will pickup on the correct function.
will definitely try to contribute somewhere else in the project, I am assuming you do not want to manually add a separate html file for this function after compilation?
from docs.gl.
It's been a while since I applied my brain to docs.gl so I'll lean on you a bit for this one:
What are our options for fixing it on our side? Can we just rename glGetShader.xhtml to glGetShaderiv.xhtml or will we break links? Can we also update all the links? I see that the gles versions already have glGetShaderiv.xhtml so it can't be that bad?
from docs.gl.
I am not certain this is something that should ever be fixed, as it is following the same convention as the rest of the API. Whether it be g;GetUniformXXX
, glGetVertexAttribXXX
, glGetSamplerParameterXXX
, or anything else, the suffix is dropped and there is a single page with the base name that documents all variations together.
The only difference here is that shaders objects (currently) only have a single "get" function, and do not have -ui or -f suffixed variants, in which case it would be more obvious.
from docs.gl.
Related Issues (20)
- Offline version cannot really be used offline HOT 2
- formulas on glClipControl not rendering HOT 3
- HTTPS certificate expired HOT 1
- "Edit this page" link on docs.gl link to the master branch HOT 1
- Missing error case for glCopyTexImage2D
- typo noramlized instead of normalized on docs.gl/gl3/glVertexAttribPointer.xhtml
- Invalid InternalFormat in Documentation for glTexImage2D HOT 1
- OpenGL 4.6 missing HOT 2
- Question: sync with official refpages? HOT 6
- Active command category not automatically expanding on page-load HOT 1
- EndPrimitive documentation refers to incorrect base function
- Missing space between Type and Name, maybe CSS problem.
- Image atomic ops erroneously listed as supported in ESSL 3.10
- Incorrect example for glTexImage2D for ES3
- [Request] Filter out search results that don't match specified version
- Enum of error for glBindBuffer for gl4 is wrong
- smoothstep documentation error? HOT 2
- Domain name problem. HOT 2
- glClearNamedFramebufferfi missing argument
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 docs.gl.