java.lang.Object
io.qt.QtObject
io.qt.gui.rhi.QRhiResource
io.qt.gui.rhi.QRhiBuffer
- All Implemented Interfaces:
QtObjectInterface
Vertex, index, or uniform (constant) buffer resource
Java wrapper for Qt class QRhiBuffer
- Since:
- This class was introduced in Qt 6.6.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Contains information about the underlying native resources of a bufferstatic enum
Java wrapper for Qt enumQRhiBuffer::Type
static enum
Java wrapper for Qt enumQRhiBuffer::UsageFlag
static final class
QFlags
type for enumQRhiBuffer.UsageFlag
-
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
create()
void
void
SeeQRhiBuffer::
fullDynamicBufferUpdateForCurrentFrame(const void*) final void
setSize
(int sz) final void
final void
setUsage
(QRhiBuffer.UsageFlag ... u) Overloaded function forsetUsage(io.qt.gui.rhi.QRhiBuffer.UsageFlags)
.final void
final int
size()
final QRhiBuffer.Type
type()
final QRhiBuffer.UsageFlags
usage()
Methods inherited from class io.qt.gui.rhi.QRhiResource
destroy, disposeLater, globalResourceId, name, rhi, setName, setName
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Method Details
-
setSize
- Parameters:
sz
-
-
setType
- Parameters:
t
-
-
setUsage
- Parameters:
u
-
-
size
- Returns:
-
type
- Returns:
-
usage
- Returns:
-
beginFullDynamicBufferUpdateForCurrentFrame
- Returns:
-
create
- Returns:
-
endFullDynamicBufferUpdateForCurrentFrame
-
fullDynamicBufferUpdateForCurrentFrame
See
QRhiBuffer::
fullDynamicBufferUpdateForCurrentFrame(const void*) - Parameters:
data
-
-
nativeBuffer
- Returns:
-
resourceType
- Specified by:
resourceType
in classQRhiResource
- Returns:
-
setUsage
Overloaded function for
setUsage(io.qt.gui.rhi.QRhiBuffer.UsageFlags)
.
-