Module macroquad::material[][src]

Custom materials - shaders, uniforms.

Structs

Material

Material instance loaded on GPU.

MaterialParams

Params used for material loading. It is not possible to change material params at runtime, so this struct is used only once - at “load_material”.

Functions

gl_use_default_material

Use default macroquad material.

gl_use_material

All following macroquad rendering calls will use the given material.

load_material