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
Nested ClassesModifier and TypeClassDescriptionstatic enumJava wrapper for Qt enum QOpenGLBuffer::Accessstatic enumJava wrapper for Qt enum QOpenGLBuffer::RangeAccessFlagstatic final classQFlags type for enumQOpenGLBuffer.RangeAccessFlagstatic enumJava wrapper for Qt enum QOpenGLBuffer::Typestatic enumJava wrapper for Qt enum QOpenGLBuffer::UsagePatternNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor -
Constructor Summary
ConstructorsModifierConstructorDescriptionQOpenGLBuffer(QOpenGLBuffer other) protectedConstructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal voidallocate(int count) final voidfinal booleanbind()final intbufferId()clone()final booleancreate()final voiddestroy()final booleanfinal ByteBuffermap(QOpenGLBuffer.Access access) final ByteBuffermapRange(int offset, int count, QOpenGLBuffer.RangeAccessFlag... access) Overloaded function formapRange(int, int, io.qt.opengl.QOpenGLBuffer.RangeAccessFlags).final ByteBuffermapRange(int offset, int count, QOpenGLBuffer.RangeAccessFlags access) final booleanfinal voidrelease()static voidrelease(QOpenGLBuffer.Type type) final voidfinal intsize()final QOpenGLBuffer.Typetype()final booleanunmap()final voidMethods 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) -
read
-
release
-
setUsagePattern
-
size
-
type
-
unmap
-
usagePattern
-
write
-
release
-
clone
-