Struct MaterialRecipe
Defined in File shader-assets.h
Struct Documentation
-
struct MaterialRecipe
Owned material/pipeline recipe; backend bindings are validated by the selected builder.
See also
Public Members
-
std::string id
Exact qualified namespace:name material identity.
-
std::string program
Qualified identity of the matching ProgramRecipe.
-
CE::Rendering::Geometry::Layout2D vertex_layout = CE::Rendering::Geometry::Layout2D::Position3UV2
Required uploaded vertex layout.
-
CE::Rendering::Geometry::Topology topology = CE::Rendering::Geometry::Topology::Triangles
Required uploaded primitive topology.
-
CE::Rendering::Pipelines::State2D state
Fixed pipeline state, checked against pass constraints at submission.
-
std::vector<ParameterRecipe> parameters
Public keys, exact types and engine-semantic sources.
-
std::map<std::string, Literal, std::less<>> defaults
Finite material custom values, above pass values and below draw values.
-
std::map<std::string, CE::Rendering::Sampling::Options, std::less<>> sampling
Per-sampler-key policy, never an image asset selector.
-
std::map<std::string, std::string, std::less<>> bindings
Serialized mappings interpreted only by the selected backend builder.
-
std::string id