unpackChannelsFromBitmask
Unpacks semantic channels from a packed channel bitmask. This converts a bitmask value (where each bit represents a semantic channel) into an EnumSet of SceneSegmentationChannel enum values representing the channels present in the bitmask.
Declaration
fun unpackChannelsFromBitmask(bitmask: Int): EnumSet<SceneSegmentationChannel>
Summary
Returns
EnumSet of SceneSegmentationChannel values present in the bitmask
Unpacks semantic channels from a packed channel bitmask. This converts a bitmask value (where each bit represents a semantic channel) into an EnumSet of SceneSegmentationChannel enum values representing the channels present in the bitmask.