openrndr / org.openrndr.draw / ShaderStorageFormat

ShaderStorageFormat

class ShaderStorageFormat (source)

Constructors

<init>

ShaderStorageFormat()

Properties

items

var items: MutableList<ShaderStorageElement>

size

The size of the ShaderStorageFormat in bytes

val size: Int

Functions

attribute

Adds a custom attribute to the VertexFormat

fun attribute(name: String, type: VertexElementType, arraySize: Int = 1): Unit

equals

fun equals(other: Any?): Boolean

hasAttribute

fun hasAttribute(name: String): Boolean

hashCode

fun hashCode(): Int

toString

fun toString(): String