/// <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)); }
/// <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)); }