FPooledRenderTargetDesc::Create2DDesc

Factory function to create 2D texture description

Windows
MacOS
Linux

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/RendererInterface.h

Include

#include "RendererInterface.h"

Syntax

static FPooledRenderTargetDesc Create2DDesc
(
    FIntPoint InExtent,
    EPixelFormat InFormat,
    const FClearValueBinding & InClearValue,
    ETextureCreateFlags InFlags,
    ETextureCreateFlags InTargetableFlags,
    bool bInForceSeparateTargetAndShaderResource,
    uint16 InNumMips,
    bool InAutowritable,
    bool InCreateRTWriteMask,
    bool InCreateFmask
)

Remarks

Factory function to create 2D texture description

Parameters

Parameter

Description

InFlags

bit mask combined from elements of ETextureCreateFlags e.g. TexCreate_UAV

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss