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 class QSurfaceFormat
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQSurfaceFormat::ColorSpace
static enum
Java wrapper for Qt enumQSurfaceFormat::FormatOption
static final class
QFlags
type for enumQSurfaceFormat.FormatOption
static enum
Java wrapper for Qt enumQSurfaceFormat::OpenGLContextProfile
static enum
Java wrapper for Qt enumQSurfaceFormat::RenderableType
static enum
Java wrapper for Qt enumQSurfaceFormat::SwapBehavior
Nested 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
ConstructorDescriptionQSurfaceFormat
(QSurfaceFormat other) QSurfaceFormat
(QSurfaceFormat.FormatOption ... options) Overloaded constructor forQSurfaceFormat(io.qt.gui.QSurfaceFormat.FormatOptions)
. -
Method Summary
Modifier and TypeMethodDescriptionfinal int
final void
assign
(QSurfaceFormat other) final int
clone()
Creates and returns a copy of this object.static QSurfaceFormat
final int
boolean
Seeoperator==(QSurfaceFormat,
QSurfaceFormat) final int
final boolean
hasAlpha()
int
hashCode()
Returns the objects's hash code computed byqHash(QSurfaceFormat)
.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) Overloaded function forsetOption(io.qt.gui.QSurfaceFormat.FormatOptions)
.final void
setOption
(QSurfaceFormat.FormatOption option, boolean on) final void
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
testOption
(QSurfaceFormat.FormatOption ... opt) Overloaded function fortestOption(io.qt.gui.QSurfaceFormat.FormatOptions)
.final boolean
toString()
Seeoperator<<(QDebug,
QSurfaceFormat) 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
-
QSurfaceFormat
-
QSurfaceFormat
Overloaded constructor for
QSurfaceFormat(io.qt.gui.QSurfaceFormat.FormatOptions)
.
-
-
Method Details
-
alphaBufferSize
-
blueBufferSize
-
colorSpace
-
depthBufferSize
-
greenBufferSize
-
hasAlpha
-
majorVersion
-
minorVersion
-
assign
-
options
-
profile
-
redBufferSize
-
renderableType
-
samples
-
setAlphaBufferSize
-
setBlueBufferSize
-
setColorSpace
-
setDepthBufferSize
-
setGreenBufferSize
-
setMajorVersion
-
setMinorVersion
-
setOption
-
setOption
-
setOptions
-
setProfile
-
setRedBufferSize
-
setRenderableType
-
setSamples
-
setStencilBufferSize
-
setStereo
-
setSwapBehavior
-
setSwapInterval
-
setVersion
-
stencilBufferSize
-
stereo
-
swapBehavior
-
swapInterval
-
testOption
-
testOption
-
version
-
defaultFormat
-
setDefaultFormat
-
equals
See
operator==(QSurfaceFormat,
QSurfaceFormat) -
hashCode
Returns the objects's hash code computed byqHash(QSurfaceFormat)
. -
toString
See
operator<<(QDebug,
QSurfaceFormat) -
clone
Creates and returns a copy of this object.
-
setOption
Overloaded function for
setOption(io.qt.gui.QSurfaceFormat.FormatOption, boolean)
withon = true
. -
setOption
Overloaded function for
setOption(io.qt.gui.QSurfaceFormat.FormatOptions)
. -
setOptions
Overloaded function for
setOptions(io.qt.gui.QSurfaceFormat.FormatOptions)
. -
testOption
Overloaded function for
testOption(io.qt.gui.QSurfaceFormat.FormatOptions)
.
-