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