OpenSubdiv/examples/mtlViewer
David G Yu 2e175ff52b Mtl implementation mtlViewer organization
Refactored computation and drawing code used
for tessellated patches to improve readability
and extensibility.

- Updated mtlViewer.metal computation kernel to express
  data indexing using familiar semantic concepts: i.e.
  primitiveID, vertexID, etc. instead of threadgroup
  semantics.
- Updated mtlViewer.mm to consolidate patch type
  dispatch. Now, the configuration and execution
  of the compute and drawing passes is controlled
  by a PipelineConfig descriptor.
2019-05-30 10:00:55 -07:00
..
iOS Mtl implementation example options 2019-05-30 00:47:50 -07:00
OSX Mtl implementation example options 2019-05-30 00:47:50 -07:00
CMakeLists.txt Fix build of Metal examples when also building GL 2019-03-09 22:58:34 -08:00
init_shapes.h Moved definition of struct ShapeDesc into same header file as Shape: 2019-04-23 12:05:14 -07:00
mtlViewer.h Mtl implementation example options 2019-05-30 00:47:50 -07:00
mtlViewer.metal Mtl implementation mtlViewer organization 2019-05-30 10:00:55 -07:00
mtlViewer.mm Mtl implementation mtlViewer organization 2019-05-30 10:00:55 -07:00