SurfaceBuilder::CreateFromTrianglesF32

Defines a surface from a float32 triangle soup with exact arithmetic

Defines a surface using a triangle soup.

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 a float32 triangle soup with exact arithmetic
    fun createSurfaceBuilderFromTrianglesF32(
        triangles: [triangle3],
        arithmetic: ExactArithmetic,
        lifetime: Lifetime = CopyImmediately,
    ) -> SurfaceBuilder