Searched refs:asEnum (Results 1 – 3 of 3) sorted by relevance
2480 GLenum asEnum = ConvertToGLenum(params[0]); in SetTextureEnv() local2488 env.mode = FromGLenum<TextureEnvMode>(asEnum); in SetTextureEnv()2491 env.combineRgb = FromGLenum<TextureCombine>(asEnum); in SetTextureEnv()2494 env.combineAlpha = FromGLenum<TextureCombine>(asEnum); in SetTextureEnv()2497 env.src0Rgb = FromGLenum<TextureSrc>(asEnum); in SetTextureEnv()2500 env.src1Rgb = FromGLenum<TextureSrc>(asEnum); in SetTextureEnv()2503 env.src2Rgb = FromGLenum<TextureSrc>(asEnum); in SetTextureEnv()2506 env.src0Alpha = FromGLenum<TextureSrc>(asEnum); in SetTextureEnv()2509 env.src1Alpha = FromGLenum<TextureSrc>(asEnum); in SetTextureEnv()2512 env.src2Alpha = FromGLenum<TextureSrc>(asEnum); in SetTextureEnv()[all …]
2758 GLenum asEnum = ConvertToGLenum(params[0]); in SetTextureEnv() local2766 env.mode = FromGLenum<TextureEnvMode>(asEnum); in SetTextureEnv()2769 env.combineRgb = FromGLenum<TextureCombine>(asEnum); in SetTextureEnv()2772 env.combineAlpha = FromGLenum<TextureCombine>(asEnum); in SetTextureEnv()2775 env.src0Rgb = FromGLenum<TextureSrc>(asEnum); in SetTextureEnv()2778 env.src1Rgb = FromGLenum<TextureSrc>(asEnum); in SetTextureEnv()2781 env.src2Rgb = FromGLenum<TextureSrc>(asEnum); in SetTextureEnv()2784 env.src0Alpha = FromGLenum<TextureSrc>(asEnum); in SetTextureEnv()2787 env.src1Alpha = FromGLenum<TextureSrc>(asEnum); in SetTextureEnv()2790 env.src2Alpha = FromGLenum<TextureSrc>(asEnum); in SetTextureEnv()[all …]
545 asEnum := func(n sem.Named) *sem.Enum {558 if arg := asEnum(arg); arg != nil {559 param := asEnum(param)