Device.createSampler - multiple declarations
Function Device.createSampler
Creates a new Sampler.
Parameters
| Name | Description |
|---|---|
| descriptor | Specifies the behavior of the sampler. |
Function Device.createSampler
Creates a new Sampler.
Sampler createSampler
(
AddressMode addressMode,
FilterMode magFilter,
FilterMode minFilter,
MipmapFilterMode mipmapFilter = MipmapFilterMode .nearest
);
Parameters
| Name | Description |
|---|---|
| addressMode | How to deal with out of bounds accesses. |
| magFilter | How to filter the texture when it needs to be magnified/made larger. |
| minFilter | How to filter the texture when it needs to be minified/made smaller. |
| mipmapFilter | How to filter between mip map levels. |