Nomenclature/Direct State Access
The Nomenclature for Direct State Access is a bit more consistent than the non-DSA naming. As with non-DSA functions, they follow the standard Verb-Object-Command syntax. However, there were several non-DSA functions that affected some object's state without naming the Object type in its function. In the case of DSA, all DSA functions consistently use this nomenclature (even if it makes the function name unwieldy).
The difference is that DSA functions use a different Object name from the non-DSA functions. What is inconsistent is that some DSA functions will prefix the Object name with Named, while others do not. Fortunately, all functions within a particular object group will consistently use the same convention.
|OpenGL Object Type||Context Object Name||DSA Object Name|
|Transform Feedback Object||N/A1||"TransformFeedback"|
|Vertex Array Object||"VertexAttrib"||"VertexArray"|
- 1: Transform feedback state consists only of the buffers bound to GL_TRANSFORM_FEEDBACK_BUFFER with glBindBufferRange, as well as a captured primitive count. As such, they did not need a formal object name. DSA creates functions specifically for setting their state, so they do need an object name.
- 2: These object types already used DSA-style functions.