- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Represents the format of a QSurface
Java wrapper for Qt class QSurfaceFormat
- Since:
- This class was introduced in Qt 5.0.
-
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.static QSurfaceFormat
final int
final boolean
equals
(QSurfaceFormat arg__2) Seeoperator==(QSurfaceFormat,
QSurfaceFormat) final boolean
equals
(QSurfaceFormat.FormatOptions arg__2) Overloaded function forequals(io.qt.gui.QSurfaceFormat)
.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) 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 ... 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
- Parameters:
other
-
-
QSurfaceFormat
- Parameters:
options
-
-
QSurfaceFormat
Overloaded constructor for
QSurfaceFormat(io.qt.gui.QSurfaceFormat.FormatOptions)
.
-
-
Method Details
-
alphaBufferSize
- Returns:
-
blueBufferSize
- Returns:
-
colorSpace
- Returns:
- Since:
- This function was introduced in Qt 5.10.
-
depthBufferSize
- Returns:
-
greenBufferSize
- Returns:
-
hasAlpha
- Returns:
-
majorVersion
- Returns:
-
minorVersion
- Returns:
-
assign
- Parameters:
other
-
-
equals
See
operator==(QSurfaceFormat,
QSurfaceFormat) - Parameters:
arg__2
-- Returns:
-
options
- Returns:
- Since:
- This function was introduced in Qt 5.3.
-
profile
- Returns:
-
redBufferSize
- Returns:
-
renderableType
- Returns:
-
samples
- Returns:
-
setAlphaBufferSize
- Parameters:
size
-
-
setBlueBufferSize
- Parameters:
size
-
-
setColorSpace
- Parameters:
colorSpace
-- Since:
- This function was introduced in Qt 5.10.
-
setDepthBufferSize
- Parameters:
size
-
-
setGreenBufferSize
- Parameters:
size
-
-
setMajorVersion
- Parameters:
majorVersion
-
-
setMinorVersion
- Parameters:
minorVersion
-
-
setOption
- Parameters:
option
-on
-- Since:
- This function was introduced in Qt 5.3.
-
setOption
- Parameters:
opt
-
-
setOptions
- Parameters:
options
-- Since:
- This function was introduced in Qt 5.3.
-
setProfile
- Parameters:
profile
-
-
setRedBufferSize
- Parameters:
size
-
-
setRenderableType
- Parameters:
type
-
-
setSamples
- Parameters:
numSamples
-
-
setStencilBufferSize
- Parameters:
size
-
-
setStereo
- Parameters:
enable
-
-
setSwapBehavior
- Parameters:
behavior
-
-
setSwapInterval
- Parameters:
interval
-- Since:
- This function was introduced in Qt 5.3.
-
setVersion
- Parameters:
major
-minor
-
-
stencilBufferSize
- Returns:
-
stereo
- Returns:
-
swapBehavior
- Returns:
-
swapInterval
- Returns:
- Since:
- This function was introduced in Qt 5.3.
-
testOption
- Parameters:
option
-- Returns:
- Since:
- This function was introduced in Qt 5.3.
-
testOption
- Parameters:
opt
-- Returns:
-
version
- Returns:
-
defaultFormat
- Returns:
- Since:
- This function was introduced in Qt 5.4.
-
setDefaultFormat
- Parameters:
format
-- Since:
- This function was introduced in Qt 5.4.
-
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.
-
assign
Overloaded function for
assign(io.qt.gui.QSurfaceFormat)
. -
equals
Overloaded function for
equals(io.qt.gui.QSurfaceFormat)
. -
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)
. -
setDefaultFormat
Overloaded function for
setDefaultFormat(io.qt.gui.QSurfaceFormat)
.
-