| 123456789101112131415161718192021222324252627282930 |
- return {
- summary = 'Get the mipmap range of the Sampler.',
- description = [[
- Returns the mipmap range of the Sampler. This is used to clamp the range of mipmap levels that
- can be accessed from a texture.
- ]],
- arguments = {},
- returns = {
- min = {
- type = 'number',
- description = 'The minimum mipmap level that will be sampled (0 is the largest image).'
- },
- max = {
- type = 'number',
- description = 'The maximum mipmap level that will be sampled.'
- }
- },
- variants = {
- {
- arguments = {},
- returns = { 'min', 'max' }
- }
- },
- related = {
- 'Sampler:getFilter',
- 'Sampler:getWrap',
- 'Sampler:getCompareMode',
- 'Sampler:getAnisotropy'
- }
- }
|