URuntimeVirtualTexture::GetLayerCount

Returns number of texture layers in the virtual texture of a given material type

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/VT/RuntimeVirtualTexture.h

Include

#include "VT/RuntimeVirtualTexture.h"

Source

/Engine/Source/Runtime/Engine/Private/VT/RuntimeVirtualTexture.cpp

Syntax

static int32 GetLayerCount
(
    ERuntimeVirtualTextureMaterialType InMaterialType
)

Remarks

Returns number of texture layers in the virtual texture of a given material type