pub fn parse_displacement_2d<R: BufRead>(
parser: &mut XmlParser<R>,
id: ResourceId,
path: String,
channel: Channel,
tile_style: TileStyle,
filter: FilterMode,
height: f32,
offset: f32,
) -> Result<Displacement2D>Expand description
Parses a <displacement2d> element (with pre-parsed attributes) into a Displacement2D.