BurstTriangulator
v3.8.0
Search Results for

    Show / Hide Table of Contents

    Method GeneratePointTriangleCount

    GeneratePointTriangleCount(Span<int>, ReadOnlySpan<int>)

    Populates the pointTriangleCount buffer with the number of triangles each vertex index is part of, based on the provided triangles index buffer.

    Declaration
    public static void GeneratePointTriangleCount(Span<int> pointTriangleCount, ReadOnlySpan<int> triangles)
    Parameters
    Type Name Description
    Span<int> pointTriangleCount

    The buffer to populate with per-vertex triangle usage counts. Must be large enough to accommodate the highest index in triangles.

    ReadOnlySpan<int> triangles

    The index buffer representing triangles.

    In this article
    Back to top Generated by DocFX | Documentation © 2024 by Andrzej Więckowski is licensed under CC BY 4.0