MoleculeRenderInfo

class MoleculeRenderInfo(mol: Molecule, selector: MoleculeSelector, onChange: (Int) -> Unit)

Tracks changes to molecules so renderers can update their render buffers.

Constructors

Link copied to clipboard
fun MoleculeRenderInfo(mol: Molecule, selector: MoleculeSelector = MoleculeSelectors.all, onChange: (Int) -> Unit = {})

Functions

Link copied to clipboard
fun moleculeChanged()

Properties

Link copied to clipboard
var isVisible: Boolean = true
Link copied to clipboard
var mol: Molecule
Link copied to clipboard
val onChange: (Int) -> Unit
Link copied to clipboard
var renderEffects: MoleculeRenderEffects
Link copied to clipboard
var selectedAtoms: List<Atom>
Link copied to clipboard
var selector: MoleculeSelector
Link copied to clipboard
var sequence: Int = 0