Compute sampler object. More...
#include <compute_sampler.h>
Public Member Functions | |
Construction | |
ComputeSampler () | |
Constructs a null instance. More... | |
ComputeSampler (ComputeContext &context, bool normalized_coords=true, SamplerAddressingMode addressing_mode=sampler_address_repeat, SamplerFilterMode filter_mode=sampler_filter_linear) | |
Constructs a sampler object. More... | |
~ComputeSampler () | |
Attributes | |
bool | is_null () const |
Returns true if this object is invalid. More... | |
void | throw_if_null () const |
Throw an exception if this object is invalid. More... | |
Implementation | |
class | ComputeKernel |
Compute sampler object.