dev.cheleb.webgl

Members list

Type members

Classlikes

final case class Coord[N](x: N, y: N, z: N)(using evidence$1: Numeric[N])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Extensions

Extensions

extension (gl: WebGLRenderingContext)
def initShaderProgram(vsSource: String, fsSource: String): WebGLProgram
extension (htmlCanvas: HTMLCanvasElement)
def getWebGLContext(): WebGLRenderingContext
extension (xn: Array[Coord[Float]])
def f32: Float32Array

Flatten the array of Coord into a Float32Array

Flatten the array of Coord into a Float32Array

Attributes