glTextureBufferRange function opengl_glext

void glTextureBufferRange(
  1. int texture,
  2. int internalformat,
  3. int buffer,
  4. Pointer<NativeType> offset,
  5. Pointer<Uint32> size,
)
GLAPI void APIENTRY glTextureBufferRange (GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size)

Implementation

void glTextureBufferRange(
  int texture,
  int internalformat,
  int buffer,
  Pointer<NativeType> offset,
  Pointer<Uint32> size,
) {
  final glTextureBufferRangeAsFunction = _glTextureBufferRange
      .cast<
        NativeFunction<
          Void Function(
            Uint32 texture,
            Uint32 internalformat,
            Uint32 buffer,
            Pointer<NativeType> offset,
            Pointer<Uint32> size,
          )
        >
      >()
      .asFunction<
        void Function(
          int texture,
          int internalformat,
          int buffer,
          Pointer<NativeType> offset,
          Pointer<Uint32> size,
        )
      >();
  return glTextureBufferRangeAsFunction(
    texture,
    internalformat,
    buffer,
    offset,
    size,
  );
}