ドキュメント

Unity Engine

Unity Engine

CompareTo(GraphicsBufferHandle)

Compares this GraphicsBufferHandle with another to determine their relative positions in the sort order, according to their integer values.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public int CompareTo(GraphicsBufferHandle other)

Parameters

The other
GraphicsBufferHandle
to compare with this instance.

Returns

Type

Description

intAn integer that represents the relative sort order positions of the current instance and the other
GraphicsBufferHandle
. Returns a negative integer if this instance precedes
other
. Returns a positive integer if this instance follows
other
. Returns zero if this instance and
other
have the same position in the sort order.