Navigation
Unreal Engine C++ API Reference > Runtime > Engine > IStereoRenderTargetManager
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/StereoRenderTargetManager.h |
Include | #include "StereoRenderTargetManager.h" |
virtual bool AllocateDepthTexture
&40;
uint32 Index,
uint32 SizeX,
uint32 SizeY,
uint8 Format,
uint32 NumMips,
ETextureCreateFlags Flags,
ETextureCreateFlags TargetableTextureFlags,
FTexture2DRHIRef & OutTargetableTexture,
FTexture2DRHIRef & OutShaderResourceTexture,
uint32 NumSamples
&41;
Remarks
Allocates a depth texture. true, if texture was allocated; false, if the default texture allocation should be used.
Parameters
Name | Description |
---|---|
Index | (in) index of the buffer, changing from 0 to GetNumberOfBufferedFrames() |