Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/StereoRenderTargetManager.h |
Include |
#include "StereoRenderTargetManager.h" |
virtual bool AllocateShadingRateTexture
(
uint32 Index,
uint32 RenderSizeX,
uint32 RenderSizeY,
uint8 Format,
uint32 NumMips,
ETextureCreateFlags Flags,
ETextureCreateFlags TargetableTextureFlags,
FTexture2DRHIRef & OutTexture,
FIntPoint & OutTextureSize
)
Allocates a shading rate texture. The default implementation always returns false to indicate that the default texture allocation should be used instead.
true, if texture was allocated; false, if the default texture allocation should be used.
Parameter |
Description |
---|---|
Index |
(in) index of the buffer, changing from 0 to GetNumberOfBufferedFrames() |