glTextureSubImage1D function opengl_glext

void glTextureSubImage1D(
  1. int texture,
  2. int level,
  3. int xoffset,
  4. int width,
  5. int format,
  6. int type,
  7. Pointer<NativeType> pixels,
)
GLAPI void APIENTRY glTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels)

Implementation

void glTextureSubImage1D(
  int texture,
  int level,
  int xoffset,
  int width,
  int format,
  int type,
  Pointer<NativeType> pixels,
) {
  final glTextureSubImage1DAsFunction = _glTextureSubImage1D
      .cast<
        NativeFunction<
          Void Function(
            Uint32 texture,
            Int32 level,
            Int32 xoffset,
            Uint32 width,
            Uint32 format,
            Uint32 type,
            Pointer<NativeType> pixels,
          )
        >
      >()
      .asFunction<
        void Function(
          int texture,
          int level,
          int xoffset,
          int width,
          int format,
          int type,
          Pointer<NativeType> pixels,
        )
      >();
  return glTextureSubImage1DAsFunction(
    texture,
    level,
    xoffset,
    width,
    format,
    type,
    pixels,
  );
}