glGetShaderPrecisionFormat function opengl_glext

void glGetShaderPrecisionFormat(
  1. int shadertype,
  2. int precisiontype,
  3. Pointer<Int32> range,
  4. Pointer<Int32> precision,
)
GLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision)

Implementation

void glGetShaderPrecisionFormat(
  int shadertype,
  int precisiontype,
  Pointer<Int32> range,
  Pointer<Int32> precision,
) {
  final glGetShaderPrecisionFormatAsFunction = _glGetShaderPrecisionFormat
      .cast<
        NativeFunction<
          Void Function(
            Uint32 shadertype,
            Uint32 precisiontype,
            Pointer<Int32> range,
            Pointer<Int32> precision,
          )
        >
      >()
      .asFunction<
        void Function(
          int shadertype,
          int precisiontype,
          Pointer<Int32> range,
          Pointer<Int32> precision,
        )
      >();
  return glGetShaderPrecisionFormatAsFunction(
    shadertype,
    precisiontype,
    range,
    precision,
  );
}