S or /

SourceEnum TextureId

from egui import TextureId
class TextureId:

What texture to use in a Mesh mesh.

If you don't want to use a texture, use TextureId.Managed(0) and the WHITE_UV for uv-coord.

Methods§

@staticmethod def Managed(id: int) -> TextureId§
@staticmethod def User(id: int) -> TextureId§
def is_managed(self, /) -> bool§
@staticmethod def managed(id: int) -> TextureId§
@staticmethod def user(id: int) -> TextureId§
def value(self, /) -> int§