---
title: "Texcoord2D"
---
<!-- DO NOT EDIT! This file was auto-generated by crates/build/re_types_builder/src/codegen/docs/website.rs -->

A 2D texture UV coordinate.

Texture coordinates specify a position on a 2D texture.
A range from 0-1 covers the entire texture in the respective dimension.
Unless configured otherwise, the texture repeats outside of this range.
Rerun uses top-left as the origin for UV coordinates.

  0     U     1
0 + --------- →
  |           .
V |           .
  |           .
1 ↓ . . . . . .

This is the same convention as in Vulkan/Metal/DX12/WebGPU, but (!) unlike OpenGL,
which places the origin at the bottom-left.

## Rerun datatype
[`Vec2D`](../datatypes/vec2d.md)


## Arrow datatype
```
FixedSizeList(2 x non-null Float32)
```

## API reference links
 * 🌊 [C++ API docs for `Texcoord2D`](https://ref.rerun.io/docs/cpp/stable/structrerun_1_1components_1_1Texcoord2D.html)
 * 🐍 [Python API docs for `Texcoord2D`](https://ref.rerun.io/docs/python/stable/common/components#rerun.components.Texcoord2D)
 * 🦀 [Rust API docs for `Texcoord2D`](https://docs.rs/rerun/latest/rerun/components/struct.Texcoord2D.html)


## Used by

* [`Mesh3D`](../archetypes/mesh3d.md)
