Beispiel #1
0
 /// <summary>
 /// Sets texture bindings on the graphics pipeline.
 /// </summary>
 /// <param name="stage">The index of the shader stage to bind the textures</param>
 /// <param name="bindings">The texture bindings</param>
 public void SetGraphicsTextures(int stage, TextureBindingInfo[] bindings)
 {
     _gpBindingsManager.SetTextures(stage, bindings);
 }
Beispiel #2
0
 /// <summary>
 /// Sets texture bindings on the compute pipeline.
 /// </summary>
 /// <param name="bindings">The texture bindings</param>
 public void SetComputeTextures(TextureBindingInfo[] bindings)
 {
     _cpBindingsManager.SetTextures(0, bindings);
 }