Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/IStereoRenderTargetManager
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/StereoRenderTargetManager.h |
| Include | #include "StereoRenderTargetManager.h" |
virtual bool AllocateShadingRateTexture
&40;
uint32 Index,
uint32 RenderSizeX,
uint32 RenderSizeY,
uint8 Format,
uint32 NumMips,
ETextureCreateFlags Flags,
ETextureCreateFlags TargetableTextureFlags,
FTexture2DRHIRef & OutTexture,
FIntPoint & OutTextureSize
&41;
Remarks
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.
Parameters
| Name | Description |
|---|---|
| Index | (in) index of the buffer, changing from 0 to GetNumberOfBufferedFrames() |