示例#1
0
 public void Dispose()
 {
     Material.Dispose();
     _tech.Dispose();
     Pass.Dispose();
     VertexShader.Dispose();
     PixelShader.Dispose();
     MatToProg.Remove(Material.Target);
 }