UnityEngine.Graphics.SetRenderTargetImpl C# (CSharp) Method

SetRenderTargetImpl() static private method

static private SetRenderTargetImpl ( RenderTexture rt, int mipLevel, CubemapFace face, int depthSlice ) : void
rt RenderTexture
mipLevel int
face CubemapFace
depthSlice int
return void
        internal static void SetRenderTargetImpl(RenderTexture rt, int mipLevel, CubemapFace face, int depthSlice)
        {
            if (rt != null)
            {
                SetRenderTargetImpl(rt.colorBuffer, rt.depthBuffer, mipLevel, face, depthSlice);
            }
            else
            {
                Internal_SetNullRT();
            }
        }

Same methods

Graphics::SetRenderTargetImpl ( RenderBuffer colorBuffer, RenderBuffer depthBuffer, int mipLevel, CubemapFace face, int depthSlice ) : void
Graphics::SetRenderTargetImpl ( RenderTargetSetup setup ) : void

Usage Example

コード例 #1
0
ファイル: Graphics.cs プロジェクト: qipa/UnityDecompiled-2
 internal static void SetRenderTargetImpl(RenderTexture rt, int mipLevel, CubemapFace face)
 {
     if (rt)
     {
         Graphics.SetRenderTargetImpl(rt.colorBuffer, rt.depthBuffer, mipLevel, face);
     }
     else
     {
         Graphics.Internal_SetNullRT();
     }
 }
All Usage Examples Of UnityEngine.Graphics::SetRenderTargetImpl