public static ShaderResourceView Create(
            GraphicsDevice graphicsDevice,
            Texture texture)
        {
            var result = new ShaderResourceView(graphicsDevice, 1);

            result.PlatformSetTexture(0, texture);

            return(result);
        }
        public static ShaderResourceView Create(
            GraphicsDevice graphicsDevice,
            Texture[] textures)
        {
            var result = new ShaderResourceView(graphicsDevice, textures.Length);

            for (var i = 0; i < textures.Length; i++)
            {
                result.PlatformSetTexture(i, textures[i]);
            }

            return(result);
        }