Skip to main content

ZShader

actualpackageZShader
9 items
constructorZShader
constructor()constructor(type: ZShaderType)
override val isInitialized: Boolean
Represents a boolean value indicating whether a component has been initialized.
override val isRenderizable: Boolean
Represents a boolean value indicating whether a component is renderizable.
val isSerializable: Boolean
Indicates whether this component can be serialized.
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.
val renderer: ZShaderRenderer
Provides access to the component's renderer.
valtype
val type: ZShaderType
open override fun createRenderer(ctx: ZRenderingContext): ZShaderRenderer
Creates a new renderer instance for this component.
open override fun initialize(ctx: ZRenderingContext)fun initialize(source: ZShaderSource)
Initializes the ZComponent using the provided ZRenderingContext.