Unity - Scripting API: GraphicsBufferHandle.CompareTo
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Parameters
| Parameter | Description |
|---|---|
| other | The other GraphicsBufferHandle to compare with this instance. |
Returns
int
An 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.
Description
Compares this GraphicsBufferHandle with another to determine their relative positions in the sort order, according to their integer values.