SurfaceBuilder::CreateFromIndexedTrianglesF32

Defines a surface from indexed float32 triangles with exact arithmetic

Defines a surface using an indexed triangle list.

See Lifetime for the requirements on the user-provided data.

Note: the provided ExactArithmetic uniquely defines how the floating point data will be transformed into an exact representation. See the manual for a high-level introduction.

Signature

class Context:
    // Defines a surface from indexed float32 triangles with exact arithmetic
    fun createSurfaceBuilderFromIndexedTrianglesF32(
        positions: [pos3],
        triangles: [idxtri],
        arithmetic: ExactArithmetic,
        lifetime: Lifetime = CopyImmediately,
    ) -> SurfaceBuilder