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