Constructor Sampler
Sampler()
Parameter-less constructor
Declaration
public Sampler()
Sampler(FilterMode, TextureWrapMode, TextureWrapMode)
Constructs a Sampler with filter and wrap modes.
Declaration
public Sampler(FilterMode filterMode, TextureWrapMode wrapModeU, TextureWrapMode wrapModeV)
Parameters
Type | Name | Description |
---|---|---|
FilterMode | filterMode | Unity texture filter mode |
TextureWrapMode | wrapModeU | Unity texture wrap mode (horizontal) |
TextureWrapMode | wrapModeV | Unity texture wrap mode (vertical) |