S or /

SourceClass SizedTexture

from egui import SizedTexture
class SizedTexture:

A texture with a known size.

Properties§

@property def id(self, /) -> TextureId§
@property def size(self, /) -> Vec2§
@property def texture_id(self, /) -> TextureId§

Methods§

Source@staticmethod def from_handle(handle: TextureHandle) -> SizedTexture§