S or /

SourceClass Mesh16

from egui import Mesh16
class Mesh16:

A version of Mesh that uses 16-bit indices.

This is produced by Mesh.split_to_u16 and is meant to be used for legacy render backends.

Properties§

@property def indices(self, /) -> list[int]§
@indices.setter def indices(self, /, indices: Sequence[int]) -> None§
@property def texture_id(self, /) -> TextureId§
@texture_id.setter def texture_id(self, /, texture_id: TextureId) -> None§

Methods§

Sourcedef is_valid(self, /) -> bool§

Are all indices within the bounds of the contained vertices?

def vertices(self, /) -> list[MeshVertex]§