def get_d3d_resource_type(dimension_id):
  """ Returns the name of the d3d resource type."""
  if dimension_id == 0: return "Unknown"
  elif dimension_id == 1: return "Buffer"
  else: return "Texture"