用户工具

站点工具


侧边栏

script:unityengine:classes:qualitysettings:qualitysettings

QualitySettings 质量设置

class in UnityEngine/Inherits from: Object

Description 描述

Script interface for Quality Settings.

质量设置的脚本接口。

There can be an arbitrary number of quality settings. The details of each are set up in the project's Quality Settings. At run time, the current quality level can be changed using this class.

这可以是任意数量的质量设置。在工程质量中设置每个细节。在运行时,当前质量级别可以使用该类改变。

Static Variables 静态脚本

activeColorSpaceActive color space (Read Only).
激活色彩空间(只读)。
anisotropicFilteringGlobal anisotropic filtering mode.
全球各向异性过滤模式。
antiAliasingSet The AA Filtering option.
设置AA过滤选项。
asyncUploadBufferSizeAsync texture upload provides timesliced async texture upload on the render thread with tight control over memory and timeslicing. There are no allocations except for the ones which driver has to do. To read data and upload texture data a ringbuffer whose size can be controlled is re-used.Use asyncUploadBufferSize to set the buffer size for asynchronous texture uploads. The size is in megabytes. Minimum value is 2 and maximum is 512. Although the buffer will resize automatically to fit the largest texture currently loading, it is recommended to set the value approximately to the size of biggest texture used in the scene to avoid re-sizing of the buffer which can incur performance cost.
异步纹理上传具有严格控制内存和 timeslicing 的渲染线程提供 timesliced 异步纹理上传。内存没有分配除了哪个驱动程序运行。读取数据并重新使用ringbuffer可以控制其大小的纹理数据上传。使用asyncUploadBufferSize去设置异步纹理上传的缓存大小。该缓存大小单位MB。最小值为2和最大值是512.尽管缓存会自动调整大小去适应当前加载的最大纹理,但是推荐设置该值近似于在场景中使用的最大纹理,已避免重新测量缓存,花费大量性能。
asyncUploadTimeSliceAsync texture
script/unityengine/classes/qualitysettings/qualitysettings.txt · 最后更改: 2016/08/02 05:36 (外部编辑)