UnityEngine.Graphics.SetRenderTargetImpl C# (CSharp) Method

SetRenderTargetImpl() static private method

static private SetRenderTargetImpl ( RenderBuffer colorBuffer, RenderBuffer depthBuffer, int mipLevel, CubemapFace face, int depthSlice ) : void
colorBuffer RenderBuffer
depthBuffer RenderBuffer
mipLevel int
face CubemapFace
depthSlice int
return void
        internal static void SetRenderTargetImpl(RenderBuffer colorBuffer, RenderBuffer depthBuffer, int mipLevel, CubemapFace face, int depthSlice)
        {
            RenderBuffer color = colorBuffer;
            RenderBuffer depth = depthBuffer;
            Internal_SetRTSimple(out color, out depth, mipLevel, face, depthSlice);
        }

Same methods

Graphics::SetRenderTargetImpl ( RenderTargetSetup setup ) : void
Graphics::SetRenderTargetImpl ( RenderTexture rt, int mipLevel, CubemapFace face, int depthSlice ) : 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