pub trait GL_4_6 {
// Required methods
fn glGetError(&self) -> GLenum;
fn glSpecializeShader(
&self,
shader: GLuint,
pEntryPoint: *const GLchar,
numSpecializationConstants: GLuint,
pConstantIndex: *const GLuint,
pConstantValue: *const GLuint,
) -> Result<(), GLCoreError>;
fn glMultiDrawArraysIndirectCount(
&self,
mode: GLenum,
indirect: *const c_void,
drawcount: GLintptr,
maxdrawcount: GLsizei,
stride: GLsizei,
) -> Result<(), GLCoreError>;
fn glMultiDrawElementsIndirectCount(
&self,
mode: GLenum,
type_: GLenum,
indirect: *const c_void,
drawcount: GLintptr,
maxdrawcount: GLsizei,
stride: GLsizei,
) -> Result<(), GLCoreError>;
fn glPolygonOffsetClamp(
&self,
factor: GLfloat,
units: GLfloat,
clamp: GLfloat,
) -> Result<(), GLCoreError>;
}Expand description
Functions from OpenGL version 4.6