Esempio n. 1
0
 public override void SetData(uint arrayIndex, int x, int y, int sampleIndex, ref Number4 value)
 {
     _subresource.SetData(x, ref value);
 }
            public override void SetData(uint arrayIndex, int x, int y, int sampleIndex, float value)
            {
                var color = new Number4(value, 0, 0, 0);

                _subresource.SetData(x, ref color);
            }