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 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 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
setSampleCount
(int s) 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:
-
sampleCount
- Returns:
-
setArrayRange
- Parameters:
startIndex
-count
-
-
setArraySize
- Parameters:
arraySize
-
-
setDepth
- Parameters:
depth
-
-
setFlags
- Parameters:
f
-
-
setFormat
- Parameters:
fmt
-
-
setPixelSize
- Parameters:
sz
-
-
setSampleCount
- Parameters:
s
-
-
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)
.
-