기술 자료

Unity Engine

Unity Engine

ShaderWarmup

Prewarms shaders in a way that is supported by all graphics APIs.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public static class ShaderWarmup

Remarks

For information on shader loading and prewarming, see Shader loading.

Static Methods

Method

Description

WarmupShaderPrewarms all shader variants for a given Shader, using a given rendering configuration.
WarmupShaderFromCollectionPrewarms the shader variants for a given Shader that are in a given ShaderVariantCollection, using a given rendering configuration.