Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/IStereoRenderTargetManager
Description
Allocates a motion vector texture. The default implementation always returns false to indicate that the stereo device does not support motion vector textures.
| Name | GetMotionVectorTexture |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/StereoRenderTargetManager.h |
| Include Path | #include "StereoRenderTargetManager.h" |
virtual bool GetMotionVectorTexture
(
uint32 Index,
const FIntPoint & Size,
uint8 Format,
uint32 NumMips,
ETextureCreateFlags Flags,
FTextureRHIRef & OutTexture,
uint32 NumSamples
)
true, if texture was allocated; false, if the stereo device can't provide a texture.
Parameters
| Name | Remarks |
|---|---|
| Size | (in) requested motion vector texture size |
| Format | (in) requested motion vector texture format |
| NumMips | (in) requested motion vector texture mips count |
| Flags | (in) requested motion vector texture flags |
| OutTexture | (out) motion vector texture resource allocated by the stereo device |
| NumSamples | (in) requested motion vector texture samples count |