FSkyTextureCubeResource

A cubemap texture resource that knows how to upload the capture data from a sky capture.

Windows
MacOS
Linux

Inheritance Hierarchy

FTexture

FDeferredCleanupInterface

FSkyTextureCubeResource

Syntax

class FSkyTextureCubeResource :
    public FTexture,
    private FDeferredCleanupInterface

Remarks

A cubemap texture resource that knows how to upload the capture data from a sky capture.

Constructors

Name Description

Public function

FSkyTextureCubeResource()

Destructors

Name Description

Public function Virtual

~FSkyTextureCubeResource()

Functions

Name Description

Public function

void

 

AddRef()

Reference counting.

Public function

void

 

Release()

Public function

void

 

SetupParameters

(
    int32 InSize,
    int32 InNumMips,
    EPixelFormat InFormat
)

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()

PVS-Studio notices that the implementation of GetSizeX is identical to this one and warns us.

Overridden from FRenderResource

Name Description

Public function Virtual

void

 

InitRHI()

Initializes the RHI resources used by this resource.

Public function Virtual

void

 

ReleaseRHI()

Releases the RHI resources used by this resource.

References

Module

Engine

Header

Runtime/Engine/Classes/Components/SkyLightComponent.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