/// <summary>
 /// Sets a render target
 /// </summary>
 /// <param name="targetType">Render target type</param>
 /// <param name="target">Render target. Can be null</param>
 public void SetRenderTarget( UniRenderTargets targetType, IRenderTarget target )
 {
     m_Targets[ ( int )targetType ] = target;
 }
 /// <summary>
 /// Gets a specified render target
 /// </summary>
 /// <param name="targetType">Target to retrieve</param>
 /// <returns>Returns the specified render target. If it's not supported, null is returned.</returns>
 public IRenderTarget GetRenderTarget( UniRenderTargets targetType )
 {
     return m_Targets[ ( int )targetType ];
 }