ShaderStorageFormat

class ShaderStorageFormat

Constructors

Link copied to clipboard
fun ShaderStorageFormat()

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
fun hasMember(name: String): Boolean
Link copied to clipboard
fun member(    name: String,     type: BufferMemberType,     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

Properties

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

The size of the ShaderStorageFormat in bytes

Sources

Link copied to clipboard