Enum gfx::device::shade::SamplerType
[−]
[src]
pub enum SamplerType { SamplerBuffer, Sampler1D(IsArray, IsShadow), Sampler2D(IsArray, IsShadow, IsMultiSample, IsRect), Sampler3D, SamplerCube(IsShadow), }
What texture type this sampler samples from.
A single sampler cannot be used with multiple texture types.
Variants
SamplerBuffer | Sample from a buffer. |
Sampler1D | Sample from a 1D texture |
Sampler2D | Sample from a 2D texture |
Sampler3D | Sample from a 3D texture |
SamplerCube | Sample from a cubemap. |