Table of Contents

Method Equals

Namespace
Pinwheel.Vista.Graph
Assembly
Pinwheel.Vista.Runtime.dll

Equals(RtDescriptor)

Compares two simplified render-target descriptors for pool reuse.

public bool Equals(DataPool.RtDescriptor other)

Parameters

other DataPool.RtDescriptor

The descriptor to compare against.

Returns

bool

true when width, height, and format all match; otherwise, false.

Equals(RenderTextureDescriptor)

Compares this simplified descriptor against a full UnityEngine.RenderTextureDescriptor.

public bool Equals(RenderTextureDescriptor other)

Parameters

other RenderTextureDescriptor

The Unity descriptor to compare against.

Returns

bool

true when the pool-relevant fields match; otherwise, false.