コード例 #1
0
 /// <summary>
 /// Sets image bindings on the compute pipeline.
 /// </summary>
 /// <param name="bindings">The image bindings</param>
 public void SetComputeImages(TextureBindingInfo[] bindings)
 {
     _cpBindingsManager.SetImages(0, bindings);
 }
コード例 #2
0
 /// <summary>
 /// Sets image bindings on the graphics pipeline.
 /// </summary>
 /// <param name="stage">The index of the shader stage to bind the images</param>
 /// <param name="bindings">The image bindings</param>
 public void SetGraphicsImages(int stage, TextureBindingInfo[] bindings)
 {
     _gpBindingsManager.SetImages(stage, bindings);
 }