Constructors

Link copied to clipboard
constructor(id: Int, uniformName: String, count: Int, dataType: ZDataType)
constructor()

Properties

Link copied to clipboard
var count: Int

How many elements of this will be used

Link copied to clipboard

The datatype of all individual elements used by this uniform

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
override val isInitialized: Boolean

Represents a boolean value indicating whether a component has been initialized.

Link copied to clipboard
open override val isRenderizable: Boolean = true

Represents a boolean value indicating whether a component is renderizable.

Link copied to clipboard
override val refId: Int

Represents the unique reference identifier for a component.

Link copied to clipboard
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

Functions

Link copied to clipboard
override fun initialize(ctx: ZRenderingContext)

Initializes the ZComponent using the provided ZRenderingContext.

Link copied to clipboard
open override fun toString(): String