Map<String, int> toMap() { return { 'textureId': textureId, 'rbo': rboId, 'metalAsGLTexture': metalAsGLTextureId }; }