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
-
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
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
-
setType
-
setUsage
-
size
-
type
-
usage
-
beginFullDynamicBufferUpdateForCurrentFrame
-
create
-
endFullDynamicBufferUpdateForCurrentFrame
-
nativeBuffer
-
resourceType
- Specified by:
resourceType
in classQRhiResource
-
setUsage
Overloaded function for
setUsage(io.qt.gui.rhi.QRhiBuffer.UsageFlags)
.
-