FReadSurfaceDataFlags

To customize the RHIReadSurfaceData() output

Windows
MacOS
Linux

Syntax

class FReadSurfaceDataFlags

Remarks

To customize the RHIReadSurfaceData() output

Constructors

Name Description

Public function

FReadSurfaceDataFlags

(
    ERangeCompressionMode InCompression...,
    ECubeFace InCubeFace
)

Functions

Name Description

Public function Const

float

 

ComputeNormalizedDepth

(
    float DeviceZ
)

Public function Const

ERangeCompre...

 

GetCompressionMode()

Public function Const

ECubeFace

 

GetCubeFace()

Public function Const

bool

 

GetLinearToGamma()

Public function Const

uint8

 

GetMip()

Public function Const

bool

 

GetOutputStencil()

Public function

void

 

SetLinearToGamma

(
    bool Value
)

Public function

void

 

SetMaxDepthRange

(
    float Value
)

Public function

void

 

SetMip

(
    uint8 InMipLevel
)

Public function

void

 

SetOutputStencil

(
    bool Value
)

References

Module

RHI

Header

Runtime/RHI/Public/RHI.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