Skip to main content

Module sampler

Module sampler 

Source
Expand description

A sampler is a GPU entity that defines how texels will be fetched from a texture. See GpuSamplerDescriptor docs for more info.

Structs§

GpuSamplerDescriptor
A set of potential options that can be used to configure a GPU sampler.

Enums§

Coordinate
Texture coordinate.
MagnificationFilter
The texture magnification function is used when the pixel being textured maps to an area less than or equal to one texture element.
MinificationFilter
The texture minifying function is used whenever the pixel being textured maps to an area greater than one texture element.
WrapMode
Defines a law of texture coordinate modification.

Traits§

GpuSamplerAsAny
A base trait that provides useful methods for trait downcasting.
GpuSamplerTrait
Sampler is a GPU entity that defines how texels will be fetched from a texture. See GpuSamplerDescriptor docs for more info.