◄ Wiki / Graphics
texel buffer
A plain memory buffer that a shader can read as if it were a one-dimensional texture.
Sometimes you want texture-style access — typed elements, format conversion — but on a linear array rather than a 2D image. A texel buffer wraps a buffer so shaders index it like a 1D texture of texels. It bridges raw buffer data and the texture sampling path.
See also
- texel / texelFetchA texel is one pixel of a texture; texelFetch grabs exactly that pixel with no smoothing.
- storage imageAn image that shaders can both read from and write to directly, like a 2D array in memory.
- texture samplingReading a smoothly-interpolated colour from a texture image inside a shader.
Referenced by
storage image · storage width · texel / texelFetch · texture sampling