The following is thrown off by the echo. Is there a way to make this work?
let format =
if channels == 1:
TextureInternalFormat.RED
elif channels == 3:
TextureInternalFormat.RGB
elif channels == 4:
TextureInternalFormat.RGBA
else:
echo "Texture Format Unknown, assuming RGB"
TextureInternalFormat.RGB
- using if expressions jackmott
- Re: using if expressions wizzardx
- Re: using if expressions jackmott
- Re: using if expressions wizzardx
- Re: using if expressions Stefan_Salewski
- Re: using if expressions jackmott
- Re: using if expressions Arrrrrrrrr
