ShaderStorageFormat

class ShaderStorageFormat

Functions

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

Adds a custom member to the ShaderStorageFormat

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

Properties

members
Link copied to clipboard
common
var members: MutableList<ShaderStorageElement>
size
Link copied to clipboard
common
val size: Int

The size of the ShaderStorageFormat in bytes