FTextureRenderTargetCubeResource

[FTextureResource](API\Runtime\Engine\FTextureResource) type for cube render target textures.

Windows
MacOS
Linux

Inheritance Hierarchy

Syntax

class FTextureRenderTargetCubeResource : public FTextureRenderTargetResource

Remarks

FTextureResource type for cube render target textures.

Constructors

Name Description

Public function

FTextureRenderTargetCubeResource

(
    const UTextureRenderTargetCube*...
)

Constructor

Functions

Name Description

Public function Virtual

FTextureRend...

 

GetTextureRenderTargetCubeResource()

Cube texture RT resource interface

Public function

FTextureCube...

 

GetTextureRHI()

Public function

bool

 

ReadPixels

(
    TArray< FColor >& OutImageData,
    FReadSurfaceDataFlags InFlags,
    FIntRect InRect
)

Copy the texels of a single face of the cube into an array.

Public function

bool

 

ReadPixels

(
    TArray< FFloat16Color >& OutImageD...,
    FReadSurfaceDataFlags InFlags,
    FIntRect InRect
)

Copy the texels of a single face of the cube into an array.

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.

References

Module

Engine

Header

Runtime/Engine/Public/TextureResource.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback