RenderPassTexture QML Type
Defines a texture to be used as a render target in a pass. More...
| Import Statement: | import QtQuick3D |
| Since: | Qt 6.11 |
| Inherits: |
Properties
- format : enumeration
Detailed Description
The RenderPassTexture type is used to specify a texture that will be used as a render target in a RenderPass. You can define the format of the texture using the format property.
Once defined, the texture can be attached as a color or depth attachment. The texture will be automatically created and managed by the rendering system.
See also ColorAttachment and DepthTextureAttachment.
Property Documentation
format : enumeration
Sets the format of the render target texture.
Available formats are:
| Constant | Value |
|---|---|
RenderPassTexture.Unknown | |
RenderPassTexture.RGBA8 | |
RenderPassTexture.RGBA16F | |
RenderPassTexture.RGBA32F | |
RenderPassTexture.R8 | |
RenderPassTexture.R16 | |
RenderPassTexture.R16F | |
RenderPassTexture.R32F | |
RenderPassTexture.Depth16 | |
RenderPassTexture.Depth24 | |
RenderPassTexture.Depth32 | |
RenderPassTexture.Depth24Stencil8 |
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.