glGetTextureSubImage function opengl_glext
void
glGetTextureSubImage()
GLAPI void APIENTRY glGetTextureSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, void *pixels)
Implementation
void glGetTextureSubImage(
int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int format,
int type,
int bufSize,
Pointer<NativeType> pixels,
) {
final glGetTextureSubImageAsFunction = _glGetTextureSubImage
.cast<
NativeFunction<
Void Function(
Uint32 texture,
Int32 level,
Int32 xoffset,
Int32 yoffset,
Int32 zoffset,
Uint32 width,
Uint32 height,
Uint32 depth,
Uint32 format,
Uint32 type,
Uint32 bufSize,
Pointer<NativeType> pixels,
)
>
>()
.asFunction<
void Function(
int texture,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int format,
int type,
int bufSize,
Pointer<NativeType> pixels,
)
>();
return glGetTextureSubImageAsFunction(
texture,
level,
xoffset,
yoffset,
zoffset,
width,
height,
depth,
format,
type,
bufSize,
pixels,
);
}