glTextureStorage2D function opengl_glext

void glTextureStorage2D(
  1. int texture,
  2. int levels,
  3. int internalformat,
  4. int width,
  5. int height,
)
GLAPI void APIENTRY glTextureStorage2D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height)

Implementation

void glTextureStorage2D(
  int texture,
  int levels,
  int internalformat,
  int width,
  int height,
) {
  final glTextureStorage2DAsFunction = _glTextureStorage2D
      .cast<
        NativeFunction<
          Void Function(
            Uint32 texture,
            Uint32 levels,
            Uint32 internalformat,
            Uint32 width,
            Uint32 height,
          )
        >
      >()
      .asFunction<
        void Function(
          int texture,
          int levels,
          int internalformat,
          int width,
          int height,
        )
      >();
  return glTextureStorage2DAsFunction(
    texture,
    levels,
    internalformat,
    width,
    height,
  );
}