| 12345678910111213141516171819202122232425262728293031323334 |
- return {
- summary = 'Get the wrap mode of the Sampler.',
- description = [[
- Returns the wrap mode of the sampler, used to wrap or clamp texture coordinates when the extend
- outside of the 0-1 range.
- ]],
- arguments = {},
- returns = {
- x = {
- type = 'WrapMode',
- description = 'The wrap mode used in the horizontal direction.'
- },
- y = {
- type = 'WrapMode',
- description = 'The wrap mode used in the vertical direction.'
- },
- z = {
- type = 'WrapMode',
- description = 'The wrap mode used in the "z" direction, for 3D textures only.'
- }
- },
- variants = {
- {
- arguments = {},
- returns = { 'x', 'y', 'z' }
- }
- },
- related = {
- 'Sampler:getFilter',
- 'Sampler:getCompareMode',
- 'Sampler:getAnisotropy',
- 'Sampler:getMipmapRange'
- }
- }
|