Struct Sampler
A handle to a sampler.
struct Sampler
;
A Sampler object defines how a pipeline will sample from a TextureView
. Samplers define image
filters (including anisotropy) and address (wrapping) modes, among other things.
See the documentation for SamplerDescriptor
for more information.
Fields
Name | Type | Description |
---|---|---|
descriptor
|
const(__C | Describes this Sampler .
|
Methods
Name | Description |
---|---|
binding
(location)
|
Creates a sampler binding. |