ShaderStorageFormat

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard
val size: Int

The size of the ShaderStorageFormat in bytes

Functions

Link copied to clipboard
fun commit()
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
fun primitive(name: String, type: BufferPrimitiveType, arraySize: Int = 1)

Adds a custom member to the ShaderStorageFormat

Link copied to clipboard
fun struct(structName: String, name: String, arraySize: Int = 1, builder: ShaderStorageFormat.() -> Unit)
Link copied to clipboard
open override fun toString(): String