MaxMeshVertices Property

Definition

Namespace Broadside
Assembly Broadside.dll

Gets or sets the most vertices one mesh shading (Types 4 to 7) decodes, a patch counting as 16; the rest of a larger mesh is dropped with a MeshSizeExceeded diagnostic. Default 2^22.

public int MaxMeshVertices { get; set; }

Returns

Remarks

ISO 32000-2 §8.7.4.5.5 to §8.7.4.5.8: a mesh is as long as its stream, so a small compressed stream can decode to more triangles or patches than a page can usefully show; the limit bounds the memory and the time one shading takes. The data is also limited by MaxDecodedStreamLength.