% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/atlas-types.R
\name{prepare_mesh_atlas_data}
\alias{prepare_mesh_atlas_data}
\title{Prepare mesh-based atlas data}
\usage{
prepare_mesh_atlas_data(atlas, .data)
}
\arguments{
\item{atlas}{A mesh-based ggseg_atlas object}

\item{.data}{Optional user data to merge}
}
\value{
Prepared data frame with hemi, region, label, colour, and mesh
}
\description{
Extracts and prepares data from a mesh-based ggseg_atlas object
(subcortical/tract) for rendering. Joins meshes with core region info
and palette colours.
}
\keyword{internal}
