SourceClass SizedTexture
from egui import SizedTextureclass 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§
Fetch the idSizedTexture.id and sizeSizedTexture.size from a TextureHandle.