Constructors

Link copied to clipboard
constructor(id: Int, uniformName: String, uniforms: LinkedHashMap<String, ZUniformData>)
constructor(id: Int, uniformName: String, uniforms: List<Pair<String, ZUniformData>>)
constructor(id: Int, uniformName: String, count: Int, dataType: ZDataType)
constructor()

Properties

Link copied to clipboard
open override val 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
override val isRenderizable: Boolean

Represents a boolean value indicating whether a component is renderizable.

Link copied to clipboard

Indicates whether this component can be serialized.

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

Provides access to the component's renderer.

Link copied to clipboard
Link copied to clipboard
open override val uniformName: String

This is the name within the shader source code

Link copied to clipboard
Link copied to clipboard
open override var value: ZAlgebraObject

Functions

Link copied to clipboard
open override fun bind()

Binds the renderer. This method is called to prepare the renderer for drawing.

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

Initializes the ZComponent using the provided ZRenderingContext.

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

Unbinds the renderer. This method is called after drawing to clean up.