IStereoRenderTargetManager::AllocateRenderTargetTexture

Allocates a render target texture.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "StereoRenderTargetManager.h"

Syntax

virtual bool AllocateRenderTargetTexture
(
    uint32 Index,
    uint32 SizeX,
    uint32 SizeY,
    uint8 Format,
    uint32 NumMips,
    uint32 Flags,
    uint32 TargetableTextureFlags,
    FTexture2DRHIRef & OutTargetableTexture,
    FTexture2DRHIRef & OutShaderResourceTexture,
    uint32 NumSamples
)

Remarks

Allocates a render target texture. The default implementation always return 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