Skip to content
This repository has been archived by the owner on Nov 30, 2020. It is now read-only.

Commit

Permalink
Moved back GetDescriptor to the internal namespace for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Chman committed Oct 11, 2019
1 parent f580746 commit bec8546
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions PostProcessing/Runtime/PostProcessRenderContext.cs
Expand Up @@ -322,14 +322,7 @@ public void PushDebugOverlay(CommandBuffer cmd, RenderTargetIdentifier source, P
// size usages explicit
#if UNITY_2017_2_OR_NEWER
RenderTextureDescriptor m_sourceDescriptor;
/// <summary>
/// Returns a modified copy the RenderTextureDescriptor used by the context object.
/// </summary>
/// <param name="depthBufferBits">The number of bits to use for the depth buffer</param>
/// <param name="colorFormat">The render texture format</param>
/// <param name="readWrite">The color space conversion mode</param>
/// <returns>A RenderTextureDescriptor object</returns>
public RenderTextureDescriptor GetDescriptor(int depthBufferBits = 0, RenderTextureFormat colorFormat = RenderTextureFormat.Default, RenderTextureReadWrite readWrite = RenderTextureReadWrite.Default)
internal RenderTextureDescriptor GetDescriptor(int depthBufferBits = 0, RenderTextureFormat colorFormat = RenderTextureFormat.Default, RenderTextureReadWrite readWrite = RenderTextureReadWrite.Default)
{
var modifiedDesc = new RenderTextureDescriptor(m_sourceDescriptor.width, m_sourceDescriptor.height,
m_sourceDescriptor.colorFormat, depthBufferBits);
Expand Down

0 comments on commit bec8546

Please sign in to comment.