Represents an OpenGL Sampler.
The OpenGL sampler name.
Creates the OpenGL sampler.
Sets a sampler parameter.
Queries a texture parameter from OpenGL.
Binds the sampler.
Unbinds the sampler.
Deletes the sampler.
This emulates an OpenGL Sampler on platforms where no glGenSamplers is available (like OSX). This only works with Texture1D, Texture2D and Texture3D so far.
Sets a sampler parameter (and stores it internally).
Returns the stored parameter or [float.nan] if not internally stored.
Stub, throws always ShaderException.
Applies the parameters to the passed texture, must be one of Texture1D, Texture2D or Texture3D, or throws ShaderException
Stub.
Stub.
Stub.