MaterialTexture
- moderngl_window.scene.MaterialTexture[source]
Wrapper for textures used in materials. Contains a texture and a sampler object.
Methods
Attributes
- MaterialTexture.texture
Texture instance
- Type:
moderngl.Texture
- MaterialTexture.sampler
Sampler instance
- Type:
moderngl.Sampler