glTexSubImage2D function opengl
void
glTexSubImage2D()
GLAPI void GLAPIENTRY glTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels )
Implementation
void glTexSubImage2D(
int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int type,
Pointer<NativeType> pixels,
) {
final glTexSubImage2DAsFunction = _glTexSubImage2D
.cast<
NativeFunction<
Void Function(
Uint32 target,
Int32 level,
Int32 xoffset,
Int32 yoffset,
Uint32 width,
Uint32 height,
Uint32 format,
Uint32 type,
Pointer<NativeType> pixels,
)
>
>()
.asFunction<
void Function(
int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int type,
Pointer<NativeType> pixels,
)
>();
return glTexSubImage2DAsFunction(
target,
level,
xoffset,
yoffset,
width,
height,
format,
type,
pixels,
);
}