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
-
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 void
Overloaded function forassign(io.qt.gui.QSurfaceFormat)
.final int
clone()
Creates and returns a copy of this object.final QColorSpace
static QSurfaceFormat
final int
boolean
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
(QColorSpace colorSpace) final void
setColorSpace
(QColorSpace.NamedColorSpace colorSpace) Overloaded function forsetColorSpace(io.qt.gui.QColorSpace)
.final void
setColorSpace
(QSurfaceFormat.ColorSpace colorSpace) static void
setDefaultFormat
(QSurfaceFormat format) static void
Overloaded function forsetDefaultFormat(io.qt.gui.QSurfaceFormat)
.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()
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
- Parameters:
other
-
-
QSurfaceFormat
- Parameters:
options
-
-
QSurfaceFormat
Overloaded constructor for
QSurfaceFormat(io.qt.gui.QSurfaceFormat.FormatOptions)
.
-
-
Method Details
-
alphaBufferSize
- Returns:
-
blueBufferSize
- Returns:
-
colorSpace
- Returns:
-
depthBufferSize
- Returns:
-
greenBufferSize
- Returns:
-
hasAlpha
- Returns:
-
majorVersion
- Returns:
-
minorVersion
- Returns:
-
assign
- Parameters:
other
-
-
options
- Returns:
-
profile
- Returns:
-
redBufferSize
- Returns:
-
renderableType
- Returns:
-
samples
- Returns:
-
setAlphaBufferSize
- Parameters:
size
-
-
setBlueBufferSize
- Parameters:
size
-
-
setColorSpace
- Parameters:
colorSpace
-- Since:
- This function was introduced in Qt 6.0.
-
setColorSpace
- Parameters:
colorSpace
-- Since:
- This function was introduced in Qt 6.0.
-
setDepthBufferSize
- Parameters:
size
-
-
setGreenBufferSize
- Parameters:
size
-
-
setMajorVersion
- Parameters:
majorVersion
-
-
setMinorVersion
- Parameters:
minorVersion
-
-
setOption
- Parameters:
option
-on
-
-
setOptions
- Parameters:
options
-
-
setProfile
- Parameters:
profile
-
-
setRedBufferSize
- Parameters:
size
-
-
setRenderableType
- Parameters:
type
-
-
setSamples
- Parameters:
numSamples
-
-
setStencilBufferSize
- Parameters:
size
-
-
setStereo
- Parameters:
enable
-
-
setSwapBehavior
- Parameters:
behavior
-
-
setSwapInterval
- Parameters:
interval
-
-
setVersion
- Parameters:
major
-minor
-
-
stencilBufferSize
- Returns:
-
stereo
- Returns:
-
swapBehavior
- Returns:
-
swapInterval
- Returns:
-
testOption
- Parameters:
option
-- Returns:
-
version
- Returns:
-
defaultFormat
- Returns:
-
setDefaultFormat
- Parameters:
format
-
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QSurfaceFormat)
. -
toString
See
operator<<(QDebug,
QSurfaceFormat) -
clone
Creates and returns a copy of this object.
-
assign
Overloaded function for
assign(io.qt.gui.QSurfaceFormat)
. -
setColorSpace
Overloaded function for
setColorSpace(io.qt.gui.QColorSpace)
. -
setOption
Overloaded function for
setOption(io.qt.gui.QSurfaceFormat.FormatOption, boolean)
withon = true
. -
setOptions
Overloaded function for
setOptions(io.qt.gui.QSurfaceFormat.FormatOptions)
. -
setDefaultFormat
Overloaded function for
setDefaultFormat(io.qt.gui.QSurfaceFormat)
.
-