public static extern bool IsDepthRTFormat(RenderTextureFormat format); [MethodImpl(MethodImplOptions.InternalCall)]
private bool RenderTextureHasDepth() { if (TextureUtil.IsDepthRTFormat((RenderTextureFormat)this.m_ColorFormat.enumValueIndex)) { return(true); } return(this.m_DepthFormat.enumValueIndex != 0); }