FVirtualTexture2DResource::GetAllocatedVT

[FVirtualTexture2DResource](API\Runtime\Engine\FVirtualTexture2DResource) may have an AllocatedVT, which represents a page table allocation for the virtual texture.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/TextureResource.h

Include

#include "TextureResource.h"

Syntax

IAllocatedVirtualTexture * GetAllocatedVT() const

Remarks

FVirtualTexture2DResource may have an AllocatedVT, which represents a page table allocation for the virtual texture. VTs used by materials generally don't need their own allocation, since the material has its own page table allocation for each VT stack. VTs used as lightmaps need their own allocation. Also VTs open in texture editor will have a temporary allocation. GetAllocatedVT() will return the current allocation if one exists. AcquireAllocatedVT() will make a new allocation if needed, and return it. ReleaseAllocatedVT() will free any current allocation.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss