glTextureStorageSparseAmd function opengl_glext

void glTextureStorageSparseAmd(
  1. int texture,
  2. int target,
  3. int internalFormat,
  4. int width,
  5. int height,
  6. int depth,
  7. int layers,
  8. int flags,
)
GLAPI void APIENTRY glTextureStorageSparseAMD (GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags)

Implementation

void glTextureStorageSparseAmd(
  int texture,
  int target,
  int internalFormat,
  int width,
  int height,
  int depth,
  int layers,
  int flags,
) {
  final glTextureStorageSparseAmdAsFunction = _glTextureStorageSparseAmd
      .cast<
        NativeFunction<
          Void Function(
            Uint32 texture,
            Uint32 target,
            Uint32 internalFormat,
            Uint32 width,
            Uint32 height,
            Uint32 depth,
            Uint32 layers,
            Uint32 flags,
          )
        >
      >()
      .asFunction<
        void Function(
          int texture,
          int target,
          int internalFormat,
          int width,
          int height,
          int depth,
          int layers,
          int flags,
        )
      >();
  return glTextureStorageSparseAmdAsFunction(
    texture,
    target,
    internalFormat,
    width,
    height,
    depth,
    layers,
    flags,
  );
}