refactor(srp): remove managed backend key binding detour
This commit is contained in:
@@ -261,6 +261,12 @@ bool UnregisterPipelineRendererAssetFactory(const std::string& key) {
|
||||
return registry.erase(key) != 0u;
|
||||
}
|
||||
|
||||
std::shared_ptr<const RenderPipelineAsset> CreateDefaultPipelineRendererAsset() {
|
||||
static const std::shared_ptr<const RenderPipelineAsset> s_defaultAsset =
|
||||
CreateBuiltinForwardPipelineRendererAsset();
|
||||
return s_defaultAsset;
|
||||
}
|
||||
|
||||
std::shared_ptr<const RenderPipelineAsset> CreatePipelineRendererAssetByKey(
|
||||
const std::string& key) {
|
||||
if (key.empty()) {
|
||||
|
||||
Reference in New Issue
Block a user