Portal:OpenGL Objects/Sampler Objects

From OpenGL Wiki
Revision as of 03:51, 26 February 2013 by Alfonse (talk | contribs) (Portal for Sampler objects.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A Sampler Object is an object that describes how texture objects are accessed from a Shader. These parameters include how accesses to the texture are to be filtered, whether comparison mode is active, texture coordinate wrapping, and so forth. Texture objects also have these parameters, but a sampler object bound to the same texture image unit will override them.

Unlike most OpenGL objects, you can modify the state of a sampler object without binding it.