pub fn render_to_buffer_with_target(
object_dir: &Path,
camera_transform: &Transform,
object_rotation: &ObjectRotation,
config: &RenderConfig,
target_point: Vec3,
targeting_policy: TargetingPolicy,
) -> Result<RenderOutput, RenderError>Expand description
Render a YCB object and attach the target metadata used for the camera pose.
This is useful when callers generate camera transforms with
generate_targeted_viewpoints and need the live render output to carry the
exact per-render pivot point for downstream pose compensation.