namespace
SushiEngine::Render
- Declared in
engine/domain/material/include/SushiEngine/material/material.hpp
Contains
Enumerations
SurfaceType | How a material's alpha is interpreted. |
MaterialCullMode | Which faces a material rasterises. |
TextureWrap | How a sampler behaves outside [0, 1]. |
TextureColorSpace | How a texture's values are interpreted when it is uploaded. |
MaterialFieldKind | What a field is, which decides how it is written and how it is edited. |
MaterialFieldGroup | Which section of the Inspector a field is drawn in. |
Typedefs
TextureId | A texture registered with the renderer's texture library. |
MeshId | A mesh registered with the renderer's mesh library. |
Variables
INVALID_TEXTURE | The id an unset texture slot carries. |
INVALID_MESH | The id an instance carries when it draws a built-in primitive. |
SURFACE_TYPE_NAMES | Names for SurfaceType, in enumerator order. |
CULL_MODE_NAMES | Names for MaterialCullMode, in enumerator order. |
WRAP_MODE_NAMES | Names for TextureWrap, in enumerator order. |
MATERIAL_FIELDS | Every field of a material, in the order the Inspector draws them. |
MATERIAL_FIELD_COUNT | How many entries MATERIAL_FIELDS has. |
Functions
is_alpha_blended | Returns whether a surface type draws through the alpha-blended transparent pass. |
material_field_drawn | Returns whether the Inspector draws a row for |
material_emission_enabled | The emissive rows appear only when emission is on. |
material_uses_alpha_cutoff | The cutoff row appears only for a cutout surface. |

