GitHub
8 年前
当前提交
b3bacd83
共有 5 个文件被更改,包括 63 次插入 和 34 次删除
-
13Assets/ScriptableRenderPipeline/LowEndMobilePipeline/Editor/LowendPipelineAssetInspector.cs
-
5Assets/ScriptableRenderPipeline/LowEndMobilePipeline/LowEndMobilePipelineAsset.asset
-
47Assets/ScriptableRenderPipeline/LowEndMobilePipeline/LowEndMobilePipelineAsset.cs
-
12Assets/ScriptableRenderPipeline/core/RenderPipeline.cs.meta
-
20Assets/ScriptableRenderPipeline/core/RenderPipeline.cs
|
|||
fileFormatVersion: 2 |
|||
guid: 841216767fdff24409a31bd55d2f6f72 |
|||
timeCreated: 1483005410 |
|||
licenseType: Pro |
|||
MonoImporter: |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
using System; |
|||
|
|||
namespace UnityEngine.Experimental.Rendering |
|||
{ |
|||
public abstract class RenderPipeline : IRenderPipeline |
|||
{ |
|||
public virtual void Render(ScriptableRenderContext renderContext, Camera[] cameras) |
|||
{ |
|||
if (disposed) |
|||
throw new ObjectDisposedException(string.Format("{0} has been disposed. Do not call Render on disposed RenderLoops.", this)); |
|||
} |
|||
|
|||
public bool disposed { get; private set; } |
|||
|
|||
public virtual void Dispose() |
|||
{ |
|||
disposed = true; |
|||
} |
|||
} |
|||
} |
撰写
预览
正在加载...
取消
保存
Reference in new issue