◄ Wiki / Graphics
sampler
A GPU object that describes how a texture should be read — how it's filtered and how coordinates outside its edges behave.
When a shader reads a texture, a sampler controls the details: whether nearby texels are blended (filtering), how the image repeats or clamps past its borders (addressing), and mip-level selection. It is created separately from the texture data itself (via vkCreateSampler in Vulkan), so the same image can be sampled different ways.
See also
- shaderA small program that runs on the GPU to compute part of how a scene is drawn.
- sRGBThe standard color encoding for images and displays that stores brightness in a perceptual, gamma-curved way.
- screen-space derivativeHow fast a value changes from one pixel to the next on screen, computed by comparing neighboring pixels.