java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QSurfaceFormat
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Represents the format of a QSurface
Java wrapper for Qt's class QSurfaceFormat
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QSurfaceFormat::ColorSpacestatic enum
Java wrapper for Qt enum QSurfaceFormat::FormatOptionstatic final class
QFlags type for enumQSurfaceFormat.FormatOption
static enum
Java wrapper for Qt enum QSurfaceFormat::OpenGLContextProfilestatic enum
Java wrapper for Qt enum QSurfaceFormat::RenderableTypestatic enum
Java wrapper for Qt enum QSurfaceFormat::SwapBehaviorNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ModifierConstructorDescriptionQSurfaceFormat
(QSurfaceFormat other) QSurfaceFormat
(QSurfaceFormat.FormatOption... options) Overloaded constructor forQSurfaceFormat(io.qt.gui.QSurfaceFormat.FormatOptions)
.protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal int
final int
clone()
static QSurfaceFormat
final int
boolean
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.final int
final boolean
hasAlpha()
int
hashCode()
final int
final int
options()
profile()
final int
final int
samples()
final void
setAlphaBufferSize
(int size) final void
setBlueBufferSize
(int size) final void
setColorSpace
(QSurfaceFormat.ColorSpace colorSpace) static void
setDefaultFormat
(QSurfaceFormat format) final void
setDepthBufferSize
(int size) final void
setGreenBufferSize
(int size) final void
setMajorVersion
(int majorVersion) final void
setMinorVersion
(int minorVersion) final void
setOption
(QSurfaceFormat.FormatOption option) Overloaded function forsetOption(io.qt.gui.QSurfaceFormat.FormatOption, boolean)
withon = true
.final void
setOption
(QSurfaceFormat.FormatOption... opt) Deprecated.final void
setOption
(QSurfaceFormat.FormatOption option, boolean on) final void
Deprecated.final void
setOptions
(QSurfaceFormat.FormatOption... options) Overloaded function forsetOptions(io.qt.gui.QSurfaceFormat.FormatOptions)
.final void
setOptions
(QSurfaceFormat.FormatOptions options) final void
final void
setRedBufferSize
(int size) final void
final void
setSamples
(int numSamples) final void
setStencilBufferSize
(int size) final void
setStereo
(boolean enable) final void
setSwapBehavior
(QSurfaceFormat.SwapBehavior behavior) final void
setSwapInterval
(int interval) final void
setVersion
(int major, int minor) final int
final boolean
stereo()
final int
final boolean
final boolean
Deprecated.final boolean
Deprecated.toString()
version()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QSurfaceFormat
public QSurfaceFormat() -
QSurfaceFormat
Overloaded constructor for
QSurfaceFormat(io.qt.gui.QSurfaceFormat.FormatOptions)
. -
QSurfaceFormat
-
QSurfaceFormat
-
QSurfaceFormat
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
alphaBufferSize
-
blueBufferSize
-
colorSpace
-
depthBufferSize
-
greenBufferSize
-
hasAlpha
-
majorVersion
-
minorVersion
-
options
-
profile
-
redBufferSize
-
renderableType
-
samples
-
setAlphaBufferSize
-
setBlueBufferSize
-
setColorSpace
-
setDepthBufferSize
-
setGreenBufferSize
-
setMajorVersion
-
setMinorVersion
-
setOption
Deprecated.Overloaded function for
setOption(io.qt.gui.QSurfaceFormat.FormatOptions)
. -
setOption
Deprecated. -
setOption
Overloaded function for
setOption(io.qt.gui.QSurfaceFormat.FormatOption, boolean)
withon = true
. -
setOption
-
setOptions
Overloaded function for
setOptions(io.qt.gui.QSurfaceFormat.FormatOptions)
. -
setOptions
-
setProfile
-
setRedBufferSize
-
setRenderableType
-
setSamples
-
setStencilBufferSize
-
setStereo
-
setSwapBehavior
-
setSwapInterval
-
setVersion
-
stencilBufferSize
-
stereo
-
swapBehavior
-
swapInterval
-
testOption
Deprecated.Overloaded function for
testOption(io.qt.gui.QSurfaceFormat.FormatOptions)
. -
testOption
Deprecated. -
testOption
-
version
-
defaultFormat
-
setDefaultFormat
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
-
clone
-