ZUniformBlock
15 items
- All (15)
- Constructors (1)
- Functions (6)
- Properties (8)
All
15constructorZUniformBlock
constructor(uniformBlockName: String)
valid
open override val id: Int = 0
Represents the unique identifier for a ZUniform instance. This ID is used to differentiate between different uniform components
override val isInitialized: Boolean
Represents a boolean value indicating whether a component has been initialized.
open override val isRenderizable: Boolean = true
Represents a boolean value indicating whether a component is renderizable.
valrefId
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.
valrenderer
val renderer: ZUniformBlockRenderer
valuniforms
val uniforms: MutableMap
varvalue
open override var value: ZAlgebraObject
funaddUniform
fun addUniform(uniformName: String, uniform: ZUniformData)
funbind
open override fun bind()
Binds the renderer. This method is called to prepare the renderer for drawing.
open override fun createRenderer(ctx: ZRenderingContext): ZUniformBlockRenderer
funinitialize
open override fun initialize(ctx: ZRenderingContext)
Initializes the ZComponent using the provided ZRenderingContext.
funset
operator fun set(uniformName: String, value: ZUniformData)
operator fun set(uniformName: String, value: ZAlgebraObject)
fununbind
open override fun unbind()
Unbinds the renderer. This method is called after drawing to clean up.
Constructors
1constructorZUniformBlock
constructor(uniformBlockName: String)
Functions
6funaddUniform
fun addUniform(uniformName: String, uniform: ZUniformData)
funbind
open override fun bind()
Binds the renderer. This method is called to prepare the renderer for drawing.
open override fun createRenderer(ctx: ZRenderingContext): ZUniformBlockRenderer
funinitialize
open override fun initialize(ctx: ZRenderingContext)
Initializes the ZComponent using the provided ZRenderingContext.
funset
operator fun set(uniformName: String, value: ZUniformData)
operator fun set(uniformName: String, value: ZAlgebraObject)
fununbind
open override fun unbind()
Unbinds the renderer. This method is called after drawing to clean up.
Properties
8valid
open override val id: Int = 0
Represents the unique identifier for a ZUniform instance. This ID is used to differentiate between different uniform components
override val isInitialized: Boolean
Represents a boolean value indicating whether a component has been initialized.
open override val isRenderizable: Boolean = true
Represents a boolean value indicating whether a component is renderizable.
valrefId
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.
valrenderer
val renderer: ZUniformBlockRenderer
valuniforms
val uniforms: MutableMap
varvalue
open override var value: ZAlgebraObject