Package edu.duke.cs.osprey.molscope.render

Types

Link copied to clipboard
class Camera : AutoCloseable
Link copied to clipboard
interface CylinderRenderable
Link copied to clipboard
class Dirtyness

Keeps track of "dirty" status by monitoring arbitrary state

Link copied to clipboard
class HoverEffects
Link copied to clipboard
data class Indices(target: Int, view: Int)
Link copied to clipboard
class LoadedImage : AutoCloseable
Link copied to clipboard
class MoleculeRenderEffects(mol: Molecule)
Link copied to clipboard
class OffscreenRenderer(vk: VulkanDevice) : AutoCloseable
Link copied to clipboard
data class RenderEffect(flags: ByteFlags<RenderEffect.Flags>, r: UByte, g: UByte, b: UByte)
Link copied to clipboard
class RenderSettings
Link copied to clipboard
interface SphereRenderable
Link copied to clipboard
class VulkanDevice(vulkanExtensions: Set<String>) : AutoCloseable

Functions

Link copied to clipboard
fun ByteBuffer.getIndices(indices: Indices)
Link copied to clipboard
fun ByteBuffer.put(indices: Indices)
fun ByteBuffer.put(effect: RenderEffect?)
Link copied to clipboard
fun ByteArray.toBuffer(): BufferedImage

Convert the image bytes into an ImageIO Buffer

Link copied to clipboard
fun BufferedImage.toRGBA(): ByteArray

Convert an ImageIO buffer to a tightly-packed RGBA array.

Link copied to clipboard
fun Vector3f.worldToCamera(camera: Camera): Vector3f