java.lang.Object
io.qt.QtObject
io.qt.gui.rhi.QRhiResource
io.qt.gui.rhi.QRhiTexture
- All Implemented Interfaces:
QtObjectInterface
Texture resource
Java wrapper for Qt class QRhiTexture
- Since:
- This class was introduced in Qt 6.6.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQRhiTexture::Flag
static final class
QFlags
type for enumQRhiTexture.Flag
static enum
Java wrapper for Qt enumQRhiTexture::Format
static class
Contains information about the underlying native resources of a texturestatic class
Specifies the view format for reading or writing from or to the textureNested classes/interfaces inherited from class io.qt.gui.rhi.QRhiResource
QRhiResource.Type
-
Method Summary
Modifier and TypeMethodDescriptionfinal int
final int
final int
abstract boolean
create()
boolean
final int
depth()
final QRhiTexture.Flags
flags()
final QRhiTexture.Format
format()
final QSize
final QRhiTexture.ViewFormat
final int
final void
setArrayRange
(int startIndex, int count) final void
setArraySize
(int arraySize) final void
setDepth
(int depth) final void
setFlags
(QRhiTexture.Flag ... f) Overloaded function forsetFlags(io.qt.gui.rhi.QRhiTexture.Flags)
.final void
final void
void
setNativeLayout
(int layout) final void
setPixelSize
(QSize sz) final void
final void
setSampleCount
(int s) final void
final QRhiTexture.ViewFormat
Methods inherited from class io.qt.gui.rhi.QRhiResource
destroy, disposeLater, globalResourceId, name, rhi, setName, setName
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Method Details
-
arrayRangeLength
- Returns:
-
arrayRangeStart
- Returns:
-
arraySize
- Returns:
-
depth
- Returns:
-
flags
- Returns:
-
format
- Returns:
-
pixelSize
- Returns:
-
readViewFormat
- Returns:
- Since:
- This function was introduced in Qt 6.8.
-
sampleCount
- Returns:
-
setArrayRange
- Parameters:
startIndex
-count
-
-
setArraySize
- Parameters:
arraySize
-
-
setDepth
- Parameters:
depth
-
-
setFlags
- Parameters:
f
-
-
setFormat
- Parameters:
fmt
-
-
setPixelSize
- Parameters:
sz
-
-
setReadViewFormat
- Parameters:
fmt
-- Since:
- This function was introduced in Qt 6.8.
-
setSampleCount
- Parameters:
s
-
-
setWriteViewFormat
- Parameters:
fmt
-- Since:
- This function was introduced in Qt 6.8.
-
writeViewFormat
- Returns:
- Since:
- This function was introduced in Qt 6.8.
-
create
- Returns:
-
createFrom
- Parameters:
src
-- Returns:
-
nativeTexture
- Returns:
-
resourceType
- Specified by:
resourceType
in classQRhiResource
- Returns:
-
setNativeLayout
- Parameters:
layout
-
-
setFlags
Overloaded function for
setFlags(io.qt.gui.rhi.QRhiTexture.Flags)
.
-