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 class QOpenGLBuffer
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQOpenGLBuffer::Access
static enum
Java wrapper for Qt enumQOpenGLBuffer::RangeAccessFlag
static final class
QFlags
type for enumQOpenGLBuffer.RangeAccessFlag
static enum
Java wrapper for Qt enumQOpenGLBuffer::Type
static enum
Java wrapper for Qt enumQOpenGLBuffer::UsagePattern
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
allocate
(int count) final void
final void
assign
(QOpenGLBuffer other) final boolean
bind()
final int
bufferId()
clone()
Creates and returns a copy of this object.final boolean
create()
final void
destroy()
final boolean
final Buffer
map
(QOpenGLBuffer.Access access) final Buffer
mapRange
(int offset, int count, QOpenGLBuffer.RangeAccessFlag ... access) Overloaded function formapRange(int, int, io.qt.opengl.QOpenGLBuffer.RangeAccessFlags)
.final Buffer
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 void
swap
(QOpenGLBuffer other) 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
-
-
Method Details
-
allocate
-
allocate
-
bind
-
bufferId
-
create
-
destroy
-
isCreated
-
map
-
mapRange
@QtUninvokable public final Buffer mapRange(int offset, int count, QOpenGLBuffer.RangeAccessFlags access) -
assign
-
read
-
release
-
setUsagePattern
-
size
-
swap
-
type
-
unmap
-
usagePattern
-
write
-
release
-
clone
Creates and returns a copy of this object.
-
mapRange
@QtUninvokable public final Buffer mapRange(int offset, int count, QOpenGLBuffer.RangeAccessFlag ... access) Overloaded function for
mapRange(int, int, io.qt.opengl.QOpenGLBuffer.RangeAccessFlags)
.
-