IsDepthRTFormat() private méthode

private IsDepthRTFormat ( RenderTextureFormat format ) : bool
format RenderTextureFormat
Résultat bool
Exemple #1
0
 private bool RenderTextureHasDepth()
 {
     if (TextureUtil.IsDepthRTFormat((RenderTextureFormat)this.m_ColorFormat.enumValueIndex))
     {
         return(true);
     }
     return(this.m_DepthFormat.enumValueIndex != 0);
 }
 private bool RenderTextureHasDepth() =>
 (TextureUtil.IsDepthRTFormat((RenderTextureFormat)this.m_ColorFormat.enumValueIndex) || (this.m_DepthFormat.enumValueIndex != 0));