Add an option in mjrContext for mjr_readPixels output format.
PiperOrigin-RevId: 500342924 Change-Id: I43e8c6208db341e2bdbef10382b7293c35bdca65
This commit is contained in:
committed by
Copybara-Service
parent
e40775fab3
commit
1215067f5c
@@ -149,6 +149,9 @@ struct mjrContext_ { // custom OpenGL context
|
||||
|
||||
// framebuffer
|
||||
int currentBuffer; // currently active framebuffer: mjFB_WINDOW or mjFB_OFFSCREEN
|
||||
|
||||
// pixel output format
|
||||
int readPixelFormat; // default color pixel format for mjr_readPixels
|
||||
};
|
||||
typedef struct mjrContext_ mjrContext;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user