isEquivalentTo

fun ColorBuffer.isEquivalentTo(other: ColorBuffer, ignoreWidth: Boolean = false, ignoreHeight: Boolean = false, ignoreContentScale: Boolean = false, ignoreFormat: Boolean = false, ignoreType: Boolean = false, ignoreMultisample: Boolean = false, ignoreLevels: Boolean = false): Boolean

check if this ColorBuffer is equivalent to other

Parameters

other

the ColorBuffer to check against

ignoreWidth

ignore ColorBuffer.width in check when true

ignoreHeight

ignore ColorBuffer.height in check when true

ignoreLevels

ignore ColorBuffer.levels in check when true

ignoreContentScale

ignore ColorBuffer.contentScale when true

ignoreMultisample

ignore ColorBuffer.multisample in check when true