openrndr / org.openrndr.binpack

Package org.openrndr.binpack

a binpacker, used internally for creating texture atlases.

Types

CenterOrderer

class CenterOrderer : Orderer

CenteredBinarySplitter

class CenteredBinarySplitter : Splitter

Clipper

interface Clipper

DefaultClipper

class DefaultClipper : Clipper

DefaultOrderer

class DefaultOrderer : Orderer

DefaultSplitter

class DefaultSplitter : Splitter

GreedySplitter

class GreedySplitter : Splitter

IntPacker

class IntPacker

OptimizingOrderer

class OptimizingOrderer : Orderer

Orderer

interface Orderer

PackNode

class PackNode

RandomBinarySplitter

class RandomBinarySplitter : Splitter

RandomOrderer

class RandomOrderer : Orderer

Splitter

interface Splitter

Functions

leafNodes

fun leafNodes(node: PackNode): List<PackNode>

prune

fun prune(node: PackNode): Unit