Exemplo n.º 1
0
 /// <summary>
 /// Removes a previously created texture pointer, releasing its reference and allowing it to be deallocated
 /// </summary>
 /// <param name="texture"></param>
 /// <returns></returns>
 public IntPtr BindTexture(Texture2D texture) => _renderer.BindTexture(texture);
Exemplo n.º 2
0
 /// <summary>
 /// Removes a previously created texture pointer, releasing its reference and allowing it to be deallocated
 /// </summary>
 /// <param name="texture"></param>
 /// <returns></returns>
 public IntPtr BindTexture(Texture2D texture)
 {
     return(_renderer.BindTexture(texture));
 }