ZTexture
15 items
constructorZTexture
vardataArray
Represents an array of bytes used for storing the image data.
varflipX
Represents whether the texture should be flipped horizontally.
varflipY
Represents whether the texture should be flipped vertically.
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
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.
funbind
open override fun bind()
Binds the renderer. This method is called to prepare the renderer for drawing.
open override fun createRenderer(ctx: ZRenderingContext): ZTextureRenderer
funinitialize
open override fun initialize(ctx: ZRenderingContext)
Initializes the ZComponent using the provided ZRenderingContext.