public bool Add(RenderTextureBase renderTexture)
        {
            if (targets.Count == 1)
            {
                if ( targets[0] is FrameBuffer )
                    return false;
            }

            targets.Add( renderTexture );
            return true;
        }
예제 #2
0
        public bool Add(RenderTextureBase renderTexture)
        {
            if (targets.Count == 1)
            {
                if (targets[0] is FrameBuffer)
                {
                    return(false);
                }
            }

            targets.Add(renderTexture);
            return(true);
        }