FTextureRenderTargetVolumeResource

[FTextureRenderTargetVolumeResource](API\Runtime\Engine\FTextureRenderTargetVolumeResour-) type for Volume render target textures.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/TextureRenderTargetVolumeResource.h

Include

#include "TextureRenderTargetVolumeResource.h"

Syntax

class FTextureRenderTargetVolumeResource : public FTextureRenderTargetResource

Remarks

FTextureRenderTargetVolumeResource type for Volume render target textures.

Constructors

Name Description

Public function

FTextureRenderTargetVolumeResource

(
    const UTextureRenderTargetVolume&#...
)

Constructor

Functions

Name Description

Public function

FTexture3DRH...

 

GetTextureRHI()

Public function

FUnorderedAc...

 

GetUnorderedAccessViewRHI()

Public function

bool

 

ReadPixels

(
    TArray< FColor >& OutImageData,
    int32 InDepthSlice,
    FIntRect InRect
)

Copy the texels of a single depth slice of the volume into an array.

Public function

bool

 

ReadPixels

(
    TArray< FFloat16Color >& OutImageD...,
    int32 InDepthSlice,
    FIntRect InRect
)

Copy the texels of a single depth slice of the cube into an array.

Overridden from FTextureRenderTargetResource

Name Description

Public function Virtual

FTextureRend...

 

GetTextureRenderTargetVolumeResource()

Volume texture RT resource interface

Overridden from FTexture

Name Description

Public function Virtual Const

uint32

 

GetSizeX()

Returns the width of the texture in pixels.

Public function Virtual Const

uint32

 

GetSizeY()

Returns the height of the texture in pixels.

Overridden from FRenderResource

Name Description

Public function Virtual

void

 

InitDynamicRHI()

Initializes the dynamic RHI resource and/or RHI render target used by this resource.

Public function Virtual

void

 

ReleaseDynamicRHI()

Releases the dynamic RHI resource and/or RHI render target resources used by this resource.

Overridden from FRenderTarget

Name Description

Public function Virtual Const

float

 

GetDisplayGamma()

Render target resource should be sampled in linear color space

Public function Virtual Const

FIntPoint

 

GetSizeXY()

Properties.

Overridden from FDeferredUpdateResource

Name Description

Protected function Virtual

void

 

UpdateDeferredResource

(
    FRHICommandListImmediate& RHICmdLi...,
    bool bClearRenderTarget
)

Updates (resolves) the render target texture.