ドキュメント

Unity Engine

Unity Engine

EndSample

Adds a command to end profile sampling.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

EndSample(string)

Adds a command to end profile sampling.
public void EndSample(string name)

Parameters

name

Name of the profile information used for sampling.

Remarks

Schedules a performance profiling sample to end when the Command Buffer reaches this point.
To begin a performance profiling sample, call CommandBuffer.BeginSample. At the and of the sample, call this method with the same argument as the BeginSample call.

EndSample(CustomSampler)

Adds a command to end profile sampling.
public void EndSample(CustomSampler sampler)

Parameters

The CustomSampler that the CommandBuffer uses for sampling.

Remarks

Schedules a performance profiling sample to end when the Command Buffer reaches this point.
To begin a performance profiling sample, call CommandBuffer.BeginSample. At the and of the sample, call this method with the same argument as the BeginSample call.

EndSample(ProfilerMarker)

Adds a command to end profile sampling.
[Conditional("ENABLE_PROFILER")]public void EndSample(ProfilerMarker marker)

Parameters

The ProfilerMarker that the CommandBuffer uses for sampling.

Remarks

Schedules a performance profiling sample to end when the Command Buffer reaches this point.
To begin a performance profiling sample, call CommandBuffer.BeginSample. At the and of the sample, call this method with the same argument as the BeginSample call.