- Qt 6.11
- Qt Quick 3D
- QML Types
- RenderPassTexture
- Qt Quick 3D | Commercial or GPLv3

# 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: | Command

- List of all members, including inherited members

## 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`