refactor(srp): replace native scene feature strings with ids
This commit is contained in:
@@ -70,14 +70,14 @@ namespace XCEngine.Rendering
|
||||
}
|
||||
|
||||
public bool RecordNativeSceneFeaturePass(
|
||||
string featurePassName)
|
||||
NativeSceneFeaturePassId featurePassId)
|
||||
{
|
||||
return !string.IsNullOrEmpty(
|
||||
featurePassName) &&
|
||||
return featurePassId !=
|
||||
NativeSceneFeaturePassId.Invalid &&
|
||||
InternalCalls
|
||||
.Rendering_ScriptableRenderContext_RecordNativeSceneFeaturePass(
|
||||
m_nativeHandle,
|
||||
featurePassName);
|
||||
(int)featurePassId);
|
||||
}
|
||||
|
||||
public bool DrawRenderers(
|
||||
|
||||
Reference in New Issue
Block a user