blob: 6e5959bf51ccdda162a00de6ecb11f73ce2de848 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// Code generated by "stringer -type AlphaUse"; DO NOT EDIT.
package mt
import "strconv"
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[Blend-0]
_ = x[Mask-1]
_ = x[Opaque-2]
_ = x[Legacy-3]
}
const _AlphaUse_name = "BlendMaskOpaqueLegacy"
var _AlphaUse_index = [...]uint8{0, 5, 9, 15, 21}
func (i AlphaUse) String() string {
if i >= AlphaUse(len(_AlphaUse_index)-1) {
return "AlphaUse(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _AlphaUse_name[_AlphaUse_index[i]:_AlphaUse_index[i+1]]
}
|