minLOD
The minimum level of detail for texture views you create with the descriptor.
Declaration
var minLOD: Float { get set }Discussion
The property configures the lower limit of the level-of-detail (LOD) range that texture operations access for texture views you create with the descriptor. When the GPU calculates a mipmap level, it applies the value of this property as the final step, after clamping the sampler LOD and applying the texture view level range offsets. The default value is 0.0.
Each of the following texture operations has a requirement for the minLOD value.
Operation | Requirement |
|---|---|
Read |
|
Gather |
|
Sample |
|
Each operation returns an out-of-bounds value if a parameter doesn’t meet a requirement.