浏览代码

Updated LightweightPipelineCore.cs to new C# convention

/main
Felipe Lira 7 年前
当前提交
8efb93de
共有 1 个文件被更改,包括 13 次插入13 次删除
  1. 26
      ScriptableRenderPipeline/LightweightPipeline/LWRP/LightweightPipelineCore.cs

26
ScriptableRenderPipeline/LightweightPipeline/LWRP/LightweightPipelineCore.cs


[Flags]
public enum PipelineCapabilities
{
AdditionalLights = (1 << 0),
VertexLights = (1 << 1),
DirectionalShadows = (1 << 2),
LocalShadows = (1 << 3),
SoftShadows = (1 << 4),
AdditionalLights = (1 << 0),
VertexLights = (1 << 1),
DirectionalShadows = (1 << 2),
LocalShadows = (1 << 3),
SoftShadows = (1 << 4),
}
public class LightweightKeywords

public partial class LightweightPipeline
{
static PipelineCapabilities pipelineCapabilities;
static PipelineCapabilities s_PipelineCapabilities;
return pipelineCapabilities;
return s_PipelineCapabilities;
pipelineCapabilities = 0U;
s_PipelineCapabilities = 0U;
pipelineCapabilities |= PipelineCapabilities.AdditionalLights;
s_PipelineCapabilities |= PipelineCapabilities.AdditionalLights;
pipelineCapabilities |= PipelineCapabilities.VertexLights;
s_PipelineCapabilities |= PipelineCapabilities.VertexLights;
pipelineCapabilities |= PipelineCapabilities.DirectionalShadows;
s_PipelineCapabilities |= PipelineCapabilities.DirectionalShadows;
pipelineCapabilities |= PipelineCapabilities.LocalShadows;
s_PipelineCapabilities |= PipelineCapabilities.LocalShadows;
pipelineCapabilities |= PipelineCapabilities.SoftShadows;
s_PipelineCapabilities |= PipelineCapabilities.SoftShadows;
}
}
}
正在加载...
取消
保存