Add comments to mjpEncoder member functions.

PiperOrigin-RevId: 889233466
Change-Id: Ia08ae7ef9bd554cea2f82270e8f150db3e01bf69
This commit is contained in:
Sam Haves
2026-03-25 07:32:22 -07:00
committed by Copybara-Service
parent 1bfd68cbba
commit 10c5f5d066
+2 -2
View File
@@ -97,8 +97,8 @@ typedef int (*mjfEncode)(const mjSpec* s, const mjModel* m, const mjVFS* vfs,
struct mjpEncoder {
const char* content_type;
const char* extension;
mjfEncode encode;
mjfCloseResource close_resource;
mjfEncode encode; // Function to encode an mjSpec and mjModel to a mjResource.
mjfCloseResource close_resource; // Function to close/free the resource.
};
typedef struct mjpEncoder mjpEncoder;