예제 #1
0
 /// <summary>
 /// Rents the image bindings array for a given stage on the graphics pipeline.
 /// </summary>
 /// <param name="stage">The index of the shader stage to bind the images</param>
 /// <param name="count">The number of bindings needed</param>
 /// <returns>The image bindings array</returns>
 public TextureBindingInfo[] RentGraphicsImageBindings(int stage, int count)
 {
     return(_gpBindingsManager.RentImageBindings(stage, count));
 }
예제 #2
0
 /// <summary>
 /// Rents the image bindings array of the compute pipeline.
 /// </summary>
 /// <param name="count">The number of bindings needed</param>
 /// <returns>The image bindings array</returns>
 public TextureBindingInfo[] RentComputeImageBindings(int count)
 {
     return(_cpBindingsManager.RentImageBindings(0, count));
 }