IStereoRenderTargetManager::AllocateFoveationTexture

Allocates a foveation texture.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/StereoRenderTargetManager.h

Include

#include "StereoRenderTargetManager.h"

Syntax

virtual bool AllocateFoveationTexture
(
    uint32 Index,
    uint32 RenderSizeX,
    uint32 RenderSizeY,
    uint8 Format,
    uint32 NumMips,
    uint32 Flags,
    uint32 TargetableTextureFlags,
    FTexture2DRHIRef & OutTexture,
    FIntPoint & OutTextureSize
)

Remarks

Allocates a foveation texture. The default implementation always returns false to indicate that the default texture allocation should be used instead.

Returns

true, if texture was allocated; false, if the default texture allocation should be used.

Parameters

Parameter

Description

Index

(in) index of the buffer, changing from 0 to GetNumberOfBufferedFrames()

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