Skip to main content

components.material

12 items
classZBitmap
actual class ZBitmap(byteArray: ByteArray)
expect class ZBitmap(byteArray: ByteArray)
actual class ZBitmap(val byteArray: ByteArray)
actual class ZBitmap(byteArray: ByteArray)
@Serializable(with = ZMaterialSerializer::class)
class ZMaterial : ZRenderizableComponent<ZMaterialRenderer> , ZBindeable
Represents a material component that can be applied to 3D objects for rendering.
data classZMaterialData
@Serializable
data class ZMaterialData(var pbr: ZPbrMaterialData? = null, var phong: ZPhongMaterialData? = null, var texture: ZTexture? = null) : ZComponentData
class ZMaterialRenderer(ctx: ZRenderingContext, data: ZMaterialData) : ZComponentRenderer
class ZMaterialSerializer : ZComponentSerializer<ZMaterial, ZMaterialData>
@Serializable
data class ZPbrMaterialData(var color: ZColor, var emissive: ZColor, _emissiveIntensity: Float, _metalness: Float, _roughness: Float)
Represents data describing a physically-based rendering (PBR) material.
@Serializable
data class ZPhongMaterialData(var diffuse: ZColor, var ambient: ZColor, var specular: ZColor, var _shininess: Float)
Represents data describing a Phong lighting model material.
class ZTexture : ZRenderizableComponent<ZTextureRenderer> , ZBindeable
Represents a texture component in the Zernikalos framework.
actual class ZTextureRenderer(ctx: ZRenderingContext, data: ZTextureData) : ZComponentRenderer
actual class ZTextureRenderer(ctx: ZRenderingContext, data: ZTextureData) : ZComponentRenderer
actual class ZTextureRenderer(ctx: ZRenderingContext, data: ZTextureData) : ZComponentRenderer
fun buildImage(nativeData: ERROR CLASS: Symbol not found for ArrayBufferView): ERROR CLASS: Symbol not found for HTMLImageElement
suspend fun buildImageBitmap(dataArray: ERROR CLASS: Symbol not found for ArrayBufferView): ERROR CLASS: Symbol not found for ImageBitmap
fun buildImageBitmapAsync(dataArray: ERROR CLASS: Symbol not found for ArrayBufferView): ERROR CLASS: Symbol not found for Promise<ERROR CLASS: Symbol not found for ImageBitmap>