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