기술 자료

Unity Engine

Unity Engine

EndTrace()

Stop tracing shader variants and graphics states encountered at runtime.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public void EndTrace()

Remarks

using UnityEngine;using UnityEngine.Rendering;public class EndTraceExample : MonoBehaviour{ public GraphicsStateCollection graphicsStateCollection; void Start() { graphicsStateCollection = new GraphicsStateCollection(); graphicsStateCollection.BeginTrace(); } void OnDestroy() { graphicsStateCollection.EndTrace(); }}