java.lang.Object
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()
final QColorSpace
static QSurfaceFormat
final int
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.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
(QColorSpace colorSpace) final void
setColorSpace
(QSurfaceFormat.ColorSpace colorSpace) Deprecated.Use setColorSpace(QColorSpace) instead.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 option, boolean on) 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
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
Deprecated.Use setColorSpace(QColorSpace) instead. -
setColorSpace
-
setDepthBufferSize
-
setGreenBufferSize
-
setMajorVersion
-
setMinorVersion
-
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
-
version
-
defaultFormat
-
setDefaultFormat
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
-
clone
-