S or /

SourceClass TextureOptions

from egui import TextureOptions
class TextureOptions:

How the texture texels are filtered.

Properties§

@property def magnification(self, /) -> TextureFilter§
@magnification.setter def magnification(self, /, value: TextureFilter) -> None§
@property def minification(self, /) -> TextureFilter§
@minification.setter def minification(self, /, value: TextureFilter) -> None§
@property def mipmap_mode(self, /) -> TextureFilter |None§
@mipmap_mode.setter def mipmap_mode(self, /, value: TextureFilter |None) -> None§
@property def wrap_mode(self, /) -> TextureWrapMode§
@wrap_mode.setter def wrap_mode(self, /, value: TextureWrapMode) -> None§

Methods§

@staticmethod def linear() -> TextureOptions§
@staticmethod def linear_mirrored_repeat() -> TextureOptions§
@staticmethod def linear_repeat() -> TextureOptions§
@staticmethod def nearest() -> TextureOptions§
@staticmethod def nearest_mirrored_repeat() -> TextureOptions§
@staticmethod def nearest_repeat() -> TextureOptions§
Sourcedef with_mipmap_mode(self, /, value: TextureFilter |None) -> TextureOptions§