rawJSArray

indigo.shared.shader.ShaderPrimitive.rawJSArray
See therawJSArray companion object
final case class rawJSArray(arr: Array[Float]) extends ShaderPrimitive

Advanced usage only, a raw array of Float's to send to the fragment shader. Warning: The assumption here is that you know what you're doing i.e. how the packing/unpacking rules work. If you don't, use a normal shader array!

Value parameters

arr

The array of Floats to send

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def toArray: Array[Float]
def toJSArray: Array[Float]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

val hash: String
val isArray: Boolean
val length: Int