java.lang.Object
io.qt.QtObject
io.qt.gui.QOpenGLBuffer
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Functions for creating and managing OpenGL buffer objects
Java wrapper for Qt class QOpenGLBuffer
- Since:
- This class was introduced in Qt 5.0.
-
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.gui.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 QOpenGLBuffer.Type
type()
final boolean
unmap()
final void
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QOpenGLBuffer
public QOpenGLBuffer() -
QOpenGLBuffer
- Parameters:
other
-
-
QOpenGLBuffer
- Parameters:
type
-
-
-
Method Details
-
allocate
- Parameters:
data
-count
-
-
allocate
- Parameters:
count
-
-
bind
- Returns:
-
bufferId
- Returns:
-
create
- Returns:
-
destroy
-
isCreated
- Returns:
-
map
- Parameters:
access
-- Returns:
-
mapRange
@QtUninvokable public final Buffer mapRange(int offset, int count, QOpenGLBuffer.RangeAccessFlags access) - Parameters:
offset
-count
-access
-- Returns:
-
assign
- Parameters:
other
-
-
read
- Parameters:
offset
-data
-count
-- Returns:
-
release
-
setUsagePattern
- Parameters:
value
-
-
size
- Returns:
-
type
- Returns:
-
unmap
- Returns:
-
usagePattern
- Returns:
-
write
- Parameters:
offset
-data
-count
-
-
release
- Parameters:
type
-
-
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.gui.QOpenGLBuffer.RangeAccessFlags)
.
-