Skip to content

Commit bec8546

Browse files
committed
Moved back GetDescriptor to the internal namespace for now
1 parent f580746 commit bec8546

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

PostProcessing/Runtime/PostProcessRenderContext.cs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -322,14 +322,7 @@ public void PushDebugOverlay(CommandBuffer cmd, RenderTargetIdentifier source, P
322322
// size usages explicit
323323
#if UNITY_2017_2_OR_NEWER
324324
RenderTextureDescriptor m_sourceDescriptor;
325-
/// <summary>
326-
/// Returns a modified copy the RenderTextureDescriptor used by the context object.
327-
/// </summary>
328-
/// <param name="depthBufferBits">The number of bits to use for the depth buffer</param>
329-
/// <param name="colorFormat">The render texture format</param>
330-
/// <param name="readWrite">The color space conversion mode</param>
331-
/// <returns>A RenderTextureDescriptor object</returns>
332-
public RenderTextureDescriptor GetDescriptor(int depthBufferBits = 0, RenderTextureFormat colorFormat = RenderTextureFormat.Default, RenderTextureReadWrite readWrite = RenderTextureReadWrite.Default)
325+
internal RenderTextureDescriptor GetDescriptor(int depthBufferBits = 0, RenderTextureFormat colorFormat = RenderTextureFormat.Default, RenderTextureReadWrite readWrite = RenderTextureReadWrite.Default)
333326
{
334327
var modifiedDesc = new RenderTextureDescriptor(m_sourceDescriptor.width, m_sourceDescriptor.height,
335328
m_sourceDescriptor.colorFormat, depthBufferBits);

0 commit comments

Comments
 (0)