java.lang.Object
io.qt.QtObject
io.qt.opengl.QOpenGLBuffer
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Functions for creating and managing OpenGL buffer objects
Java wrapper for Qt's class QOpenGLBuffer
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QOpenGLBuffer::Accessstatic enum
Java wrapper for Qt enum QOpenGLBuffer::RangeAccessFlagstatic final class
QFlags type for enumQOpenGLBuffer.RangeAccessFlag
static enum
Java wrapper for Qt enum QOpenGLBuffer::Typestatic enum
Java wrapper for Qt enum QOpenGLBuffer::UsagePatternNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQOpenGLBuffer
(QOpenGLBuffer other) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
allocate
(int count) final void
final void
assign
(QOpenGLBuffer other) final boolean
bind()
final int
bufferId()
clone()
final boolean
create()
final void
destroy()
final boolean
final ByteBuffer
map
(QOpenGLBuffer.Access access) final ByteBuffer
mapRange
(int offset, int count, QOpenGLBuffer.RangeAccessFlag ... access) Overloaded function formapRange(int, int, io.qt.opengl.QOpenGLBuffer.RangeAccessFlags)
.final ByteBuffer
mapRange
(int offset, int count, QOpenGLBuffer.RangeAccessFlags access) final boolean
final void
release()
static void
release
(QOpenGLBuffer.Type type) final void
final int
size()
final QOpenGLBuffer.Type
type()
final boolean
unmap()
final void
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QOpenGLBuffer
public QOpenGLBuffer() -
QOpenGLBuffer
-
QOpenGLBuffer
-
QOpenGLBuffer
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
allocate
-
allocate
-
bind
-
bufferId
-
create
-
destroy
-
isCreated
-
map
-
mapRange
@QtUninvokable public final ByteBuffer mapRange(int offset, int count, QOpenGLBuffer.RangeAccessFlag ... access) Overloaded function for
mapRange(int, int, io.qt.opengl.QOpenGLBuffer.RangeAccessFlags)
. -
mapRange
@QtUninvokable public final ByteBuffer mapRange(int offset, int count, QOpenGLBuffer.RangeAccessFlags access) -
assign
-
read
-
release
-
setUsagePattern
-
size
-
type
-
unmap
-
usagePattern
-
write
-
release
-
clone
-