ShaderStorageElement

sealed interface ShaderStorageElement(source)

Represents an element in shader storage, typically used in GPU programming for storing data buffers. This interface defines the core properties of such an element, including its name, memory offset, and size when represented as an array.

Inheritors

Properties

Link copied to clipboard
abstract val arraySize: Int
Link copied to clipboard
abstract val name: String

Functions

Link copied to clipboard
abstract fun alignmentInBytes(): Int