Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/IStereoRenderTargetManager
Description
Allocates a motion vector depth texture. The default implementation always returns false to indicate that the stereo device doesn't support motion vector depth textures.
| Name | GetMotionVectorDepthTexture |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/StereoRenderTargetManager.h |
| Include Path | #include "StereoRenderTargetManager.h" |
virtual bool GetMotionVectorDepthTexture
(
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 depth texture size |
| Format | (in) requested motion vector depth texture format |
| NumMips | (in) requested motion vector depth texture mips count |
| Flags | (in) requested motion vector depth texture flags |
| OutTexture | (out) motion vector depth texture resource allocated by the stereo device |
| NumSamples | (in) requested motion vector depth texture samples count |