Version: 2023.1

Texture.nonStreamingTextureMemory

切换到手册
public static ulong nonStreamingTextureMemory ;

描述

The amount of memory Unity allocates for non-streaming Textures in the scene. This only includes instances of Texture2D and CubeMap Textures. This does not include any other Texture types, or 2D and CubeMap Textures that Unity creates internally.