Zernikaloscomponents.materialZTextureZTexture Members Constructors ZTexture Link copied to clipboard constructor()constructor(id: String, width: Int, height: Int, flipX: Boolean, flipY: Boolean, dataArray: ByteArray) Properties dataArray Link copied to clipboard var dataArray: ByteArrayRepresents an array of bytes used for storing the image data. flipX Link copied to clipboard var flipX: BooleanRepresents whether the texture should be flipped horizontally. flipY Link copied to clipboard var flipY: BooleanRepresents whether the texture should be flipped vertically. hasRenderer Link copied to clipboard val hasRenderer: Boolean height Link copied to clipboard var height: IntRepresents the height of the texture image id Link copied to clipboard var id: StringRepresents the unique identifier for an instance of a ZTexture object. isInitialized Link copied to clipboard override val isInitialized: BooleanRepresents a boolean value indicating whether a component has been initialized. isRenderizable Link copied to clipboard open override val isRenderizable: Boolean = trueRepresents a boolean value indicating whether a component is renderizable. refId Link copied to clipboard override val refId: IntRepresents the unique reference identifier for a component. renderer Link copied to clipboard val renderer: ZTextureRenderer width Link copied to clipboard var width: IntRepresents the width of the texture image Functions bind Link copied to clipboard open fun bind()Binds the renderer. This method is called to prepare the renderer for drawing. initialize Link copied to clipboard override fun initialize(ctx: ZRenderingContext)Initializes the ZComponent using the provided ZRenderingContext. unbind Link copied to clipboard open fun unbind()Unbinds the renderer. This method is called after drawing to clean up.