GPUMaterial: Add a domain property.
This let us know efficiently if a material has a dedicated nodetree for each of it's output node input. Only works for Eevee at this moment.
This commit is contained in:
@@ -267,6 +267,8 @@ void GPU_material_vertex_attributes(GPUMaterial *material,
|
||||
bool GPU_material_do_color_management(GPUMaterial *mat);
|
||||
bool GPU_material_use_new_shading_nodes(GPUMaterial *mat);
|
||||
bool GPU_material_use_world_space_shading(GPUMaterial *mat);
|
||||
bool GPU_material_use_domain_surface(GPUMaterial *mat);
|
||||
bool GPU_material_use_domain_volume(GPUMaterial *mat);
|
||||
|
||||
/* Exported shading */
|
||||
|
||||
|
Reference in New Issue
Block a user