|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
#if HDRP_PRESENT || URP_PRESENT
|
|
|
|
|
|
|
|
ShaderKeyword keyword = new ShaderKeyword(shader, "HDRP_ENABLED"); |
|
|
|
var keyword = new ShaderKeyword(shader, "HDRP_ENABLED"); |
|
|
|
ShaderKeyword keyword = new ShaderKeyword(shader, "HDRP_DISABLED"); |
|
|
|
var keyword = new ShaderKeyword(shader, "HDRP_DISABLED"); |
|
|
|
for (int i = data.Count - 1; i >= 0; --i) |
|
|
|
|
|
|
|
for (var i = data.Count - 1; i >= 0; --i) |
|
|
|
data.RemoveAt(i); |
|
|
|
data[i].shaderKeywordSet.Disable(keyword); |
|
|
|
|
|
|
|
} |
|
|
|
#endif
|
|
|
|
} |