java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QSurfaceFormat
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QSurfaceFormat extends QtObject implements Cloneable
Represents the format of a QSurface
Java wrapper for Qt class QSurfaceFormat
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QSurfaceFormat.ColorSpace
Java wrapper for Qt enum QSurfaceFormat::ColorSpacestatic class
QSurfaceFormat.FormatOption
Java wrapper for Qt enum QSurfaceFormat::FormatOptionstatic class
QSurfaceFormat.FormatOptions
QFlags type for enumQSurfaceFormat.FormatOption
static class
QSurfaceFormat.OpenGLContextProfile
Java wrapper for Qt enum QSurfaceFormat::OpenGLContextProfilestatic class
QSurfaceFormat.RenderableType
Java wrapper for Qt enum QSurfaceFormat::RenderableTypestatic class
QSurfaceFormat.SwapBehavior
Java wrapper for Qt enum QSurfaceFormat::SwapBehavior -
Field Summary
Fields Modifier and Type Field Description static QMetaObject
staticMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
Constructors Modifier Constructor Description QSurfaceFormat()
QSurfaceFormat(QSurfaceFormat other)
QSurfaceFormat(QSurfaceFormat.FormatOption... options)
Overloaded constructor forQSurfaceFormat(io.qt.gui.QSurfaceFormat.FormatOptions)
.QSurfaceFormat(QSurfaceFormat.FormatOptions options)
protected
QSurfaceFormat(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
-
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 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
-