载入中...
搜索中...
未找到
PbrVariantSource.h
浏览该文件的文档.
37[[nodiscard]] EVENGINE_API_BACKENDS PbrSpecializedSources specializePbrVariantSources(const PbrVariantPlan& plan,
PbrSpecializedSources specializePbrVariantSources(const PbrVariantPlan &plan, bool gbuffer)
Specialize the generated WGSL for the resource reachability encoded by a checked plan.
Definition PbrVariantSource.cpp:110
PbrVariantSources pbrVariantBaseSources()
Return immutable full PBR WGSL generated from the canonical GLSL implementation.
Definition PbrVariantSource.cpp:105
Owning WGSL stages after unreachable texture operations and declarations are removed.
Definition PbrVariantSource.h:19
std::string fragment
Definition PbrVariantSource.h:21
std::string vertex
Definition PbrVariantSource.h:20
Stable resource-layout key and checked stage counts for a PBR snapshot.
Definition PbrVariantPlan.h:37
Reproducibly generated full PBR WGSL sources before resource specialization.
Definition PbrVariantSource.h:13
std::string_view fragment
Definition PbrVariantSource.h:15
std::string_view vertex
Definition PbrVariantSource.h:14