/// <summary> /// Rents the texture bindings array for a given stage on the graphics pipeline. /// </summary> /// <param name="stage">The index of the shader stage to bind the textures</param> /// <param name="count">The number of bindings needed</param> /// <returns>The texture bindings array</returns> public TextureBindingInfo[] RentGraphicsTextureBindings(int stage, int count) { return(_gpBindingsManager.RentTextureBindings(stage, count)); }
/// <summary> /// Rents the texture bindings array of the compute pipeline. /// </summary> /// <param name="count">The number of bindings needed</param> /// <returns>The texture bindings array</returns> public TextureBindingInfo[] RentComputeTextureBindings(int count) { return(_cpBindingsManager.RentTextureBindings(0, count)); }