还原水插件
This commit is contained in:
@@ -23,11 +23,6 @@ namespace WaveHarmonic.Crest
|
||||
void SetBlock();
|
||||
}
|
||||
|
||||
interface IPropertyWrapperVariants : IPropertyWrapper
|
||||
{
|
||||
void SetKeyword(in LocalKeyword keyword, bool value);
|
||||
}
|
||||
|
||||
static class PropertyWrapperConstants
|
||||
{
|
||||
internal const string k_NoShaderMessage = "Cannot create required material because shader <i>{0}</i> could not be found or loaded."
|
||||
@@ -77,7 +72,7 @@ namespace WaveHarmonic.Crest
|
||||
}
|
||||
|
||||
[System.Serializable]
|
||||
readonly struct PropertyWrapperMaterial : IPropertyWrapperVariants
|
||||
readonly struct PropertyWrapperMaterial : IPropertyWrapper
|
||||
{
|
||||
public Material Material { get; }
|
||||
|
||||
@@ -129,7 +124,7 @@ namespace WaveHarmonic.Crest
|
||||
}
|
||||
|
||||
[System.Serializable]
|
||||
readonly struct PropertyWrapperCompute : IPropertyWrapperVariants
|
||||
readonly struct PropertyWrapperCompute : IPropertyWrapper
|
||||
{
|
||||
readonly CommandBuffer _Buffer;
|
||||
readonly ComputeShader _Shader;
|
||||
@@ -162,7 +157,7 @@ namespace WaveHarmonic.Crest
|
||||
}
|
||||
|
||||
[System.Serializable]
|
||||
readonly struct PropertyWrapperComputeStandalone : IPropertyWrapperVariants
|
||||
readonly struct PropertyWrapperComputeStandalone : IPropertyWrapper
|
||||
{
|
||||
readonly ComputeShader _Shader;
|
||||
readonly int _Kernel;
|
||||
|
||||
Reference in New Issue
Block a user