constructor<T>(materialid: AssetId, meshid: AssetId, transform: T)
View sourceCreates a render-entry value for one material/mesh pair.
The argument order is material ID first, mesh ID second, and resolved transform third. Values are assigned directly to the corresponding fields; no asset lookup or transform clone occurs.
Examples
// Create the entry from material and mesh IDs plus a resolved transform.
const item = new RenderType(
material.handle.id(),
mesh.handle.id(),
globalTransform
)
opaquePass.push(item)
// Read the entry's IDs and transform when preparing the draw.
const meshValue = meshes.getByAssetId(item.meshid)
const materialValue = materials.getByAssetId(item.materialid)
draw(meshValue, materialValue, item.transform)