This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
mgl:mglmetal [2022/09/06 14:17] joshryu0425 [Building] |
mgl:mglmetal [2022/09/16 11:53] joshryu0425 [Specific Commands] |
||
---|---|---|---|
Line 201: | Line 201: | ||
You can also look for the latest known [[https://github.com/justingardner/mgl/issues\ | issues at GitHub]]. | You can also look for the latest known [[https://github.com/justingardner/mgl/issues\ | issues at GitHub]]. | ||
- | ==== Major functionality ==== | + | ===== Major functionality ===== |
^ Function name ^ Status ^ Notes ^ | ^ Function name ^ Status ^ Notes ^ | ||
| mglOpen | working | Currently starts out as windowed only. Can we pass initial window state as command line arg? Or start out with window hidden?| | | mglOpen | working | Currently starts out as windowed only. Can we pass initial window state as command line arg? Or start out with window hidden?| | ||
Line 220: | Line 220: | ||
- | ==== Secondary priority functionality ==== | + | ===== Secondary priority functionality ===== |
^ Function name ^ Status ^ Notes ^ | ^ Function name ^ Status ^ Notes ^ | ||
| mglFrameGrab.m | | Not working per se, but mglMetalSetRenderTarget.m and mglMetalReadTexture.m are working | | | mglFrameGrab.m | | Not working per se, but mglMetalSetRenderTarget.m and mglMetalReadTexture.m are working | | ||
Line 234: | Line 234: | ||
- | ==== Minor functionality ==== | + | ===== Minor functionality ===== |
^ Function name ^ Status ^ Notes ^ | ^ Function name ^ Status ^ Notes ^ | ||
| mglFillOval.m | working | | | | mglFillOval.m | working | | | ||
Line 250: | Line 250: | ||
- | ==== Functionality not affected by Metal ==== | + | ===== Functionality not affected by Metal ===== |
^ Function name ^ Status ^ Notes ^ | ^ Function name ^ Status ^ Notes ^ | ||
|mglSetGammaTable | | needs testing| | |mglSetGammaTable | | needs testing| | ||
Line 281: | Line 281: | ||
- | ==== Functionality no longer needed ==== | + | ===== Functionality no longer needed ===== |
^ Function name ^ Notes ^ Done ^ | ^ Function name ^ Notes ^ Done ^ | ||
| mglBindTexture.m | Fast binding of textures. No need to continue to support | n/a| | | mglBindTexture.m | Fast binding of textures. No need to continue to support | n/a| | ||
Line 288: | Line 288: | ||
|mglFlushAndWait.m | No need to update / or provide as wrapper | Check | | |mglFlushAndWait.m | No need to update / or provide as wrapper | Check | | ||
- | ==== Brainard Lab functionality ==== | + | ===== Brainard Lab functionality ===== |
^ Function name ^ Notes ^ Done ^ | ^ Function name ^ Notes ^ Done ^ | ||
| mglBindFrameBufferObject.m | Chris Broussard function | | | | mglBindFrameBufferObject.m | Chris Broussard function | | | ||
Line 358: | Line 358: | ||
| mglPolygon | vertices with color components | | Draw the given vertices as a triangle strip. | | | mglPolygon | vertices with color components | | Draw the given vertices as a triangle strip. | | ||
| mglArcs | vertices with color, size, and shape components | | Draw the given vertices as points, with various curved shape options. | | | mglArcs | vertices with color, size, and shape components | | Draw the given vertices as points, with various curved shape options. | | ||
- | | mglUpdateTexture | texture number, width, height, and rgba float texture data | | Replace the given texture's contents, to be displayed during this frame.| | + | | mglUpdateTexture | texture number, width, height, and rgba float texture data | | Replace the given texture's contents, to be displayed during this frame. | |