public void Visit(MaterialGeneratorContext context)
        {
            RoughnessMap.Visit(context);

            invertBuffer ??= GraphicsBuffer.New(context.GraphicsDevice, Invert, ResourceFlags.ConstantBuffer, GraphicsHeapType.Upload).DisposeBy(context.GraphicsDevice);

            context.ConstantBufferViews.Add(invertBuffer);
        }
        public void Visit(MaterialGeneratorContext context)
        {
            RoughnessMap.Visit(context);

            invertBuffer ??= GraphicsBuffer.Constant.New(context.GraphicsDevice, Invert).DisposeBy(context.GraphicsDevice);

            context.ConstantBufferViews.Add(invertBuffer);
        }