components.mesh
Types
Link copied to clipboard
Utility class for representing the mix of a ZBufferKey + ZRawBuffer in a simpler way Notice that ZBufferKey will only address one ZRawBuffer, however one ZRawBuffer can be addressed by more than one ZBufferKey
Link copied to clipboard
data class ZBufferData(var id: Int = -1, var dataType: ZDataType = ZTypes.NONE, var name: String = "", var size: Int = -1, var count: Int = -1, var normalized: Boolean = false, var offset: Int = -1, var stride: Int = -1, var isIndexBuffer: Boolean = false, var bufferId: Int = -1, var dataArray: ByteArray = byteArrayOf()) : ZComponentData
Link copied to clipboard
expect class ZBufferRenderer(ctx: ZRenderingContext, data: ZBufferData) : ZComponentRender<ZBufferData>
actual class ZBufferRenderer(ctx: ZRenderingContext, data: ZBufferData) : ZComponentRender<ZBufferData>
actual class ZBufferRenderer(ctx: ZRenderingContext, data: ZBufferData) : ZComponentRender<ZBufferData>
Link copied to clipboard
@Serializable(with = ZMeshSerializer::class)
Mesh will provide: A relationship between the BufferKey and its RawBuffers in a more cohesive way providing just Buffers
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard