ZUniformData

data class ZUniformData(var id: Int = -1, var uniformName: String = "", var count: Int = -1, var dataType: ZDataType = ZTypes.NONE) : ZComponentData, ZBaseUniform(source)

Constructors

Link copied to clipboard
constructor(id: Int = -1, uniformName: String = "", count: Int = -1, dataType: ZDataType = ZTypes.NONE)

Properties

Link copied to clipboard
Link copied to clipboard
var count: Int
Link copied to clipboard
Link copied to clipboard
open override var id: Int

Represents the unique identifier for a ZUniform instance. This ID is used to differentiate between different uniform components

Link copied to clipboard
@Transient
open override val refId: String

Represents the unique identifier for a reference-based component. The refId is used as a distinctive key for retrieving or linking this component within reference-dependent systems.

Link copied to clipboard
open override var uniformName: String

This is the name within the shader source code

Link copied to clipboard
open override var value: ZAlgebraObject