glTextureView function opengl_glext

void glTextureView(
  1. int texture,
  2. int target,
  3. int origtexture,
  4. int internalformat,
  5. int minlevel,
  6. int numlevels,
  7. int minlayer,
  8. int numlayers,
)
GLAPI void APIENTRY glTextureView (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers)

Implementation

void glTextureView(
  int texture,
  int target,
  int origtexture,
  int internalformat,
  int minlevel,
  int numlevels,
  int minlayer,
  int numlayers,
) {
  final glTextureViewAsFunction = _glTextureView
      .cast<
        NativeFunction<
          Void Function(
            Uint32 texture,
            Uint32 target,
            Uint32 origtexture,
            Uint32 internalformat,
            Uint32 minlevel,
            Uint32 numlevels,
            Uint32 minlayer,
            Uint32 numlayers,
          )
        >
      >()
      .asFunction<
        void Function(
          int texture,
          int target,
          int origtexture,
          int internalformat,
          int minlevel,
          int numlevels,
          int minlayer,
          int numlayers,
        )
      >();
  return glTextureViewAsFunction(
    texture,
    target,
    origtexture,
    internalformat,
    minlevel,
    numlevels,
    minlayer,
    numlayers,
  );
}