Searched refs:TextureSrc (Results 1 – 5 of 5) sorted by relevance
96 TextureSrc src0Rgb = TextureSrc::Texture;97 TextureSrc src0Alpha = TextureSrc::Texture;99 TextureSrc src1Rgb = TextureSrc::Previous;100 TextureSrc src1Alpha = TextureSrc::Previous;102 TextureSrc src2Rgb = TextureSrc::Constant;103 TextureSrc src2Alpha = TextureSrc::Constant;
495 TextureSrc combine = FromGLenum<TextureSrc>(ConvertToGLenum(params[0])); in ValidateTexEnvCommon()498 case TextureSrc::Constant: in ValidateTexEnvCommon()499 case TextureSrc::Previous: in ValidateTexEnvCommon()500 case TextureSrc::PrimaryColor: in ValidateTexEnvCommon()501 case TextureSrc::Texture: in ValidateTexEnvCommon()602 ConvertPackedEnum(TextureSrc::Constant, validateParams); in ValidateGetTexEnvCommon()
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()
1935 TextureSrc FromGLenum<TextureSrc>(GLenum from) in FromGLenum()1940 return TextureSrc::Constant; in FromGLenum()1942 return TextureSrc::Previous; in FromGLenum()1944 return TextureSrc::PrimaryColor; in FromGLenum()1946 return TextureSrc::Texture; in FromGLenum()1948 return TextureSrc::InvalidEnum; in FromGLenum()1952 GLenum ToGLenum(TextureSrc from) in ToGLenum()1956 case TextureSrc::Constant: in ToGLenum()1958 case TextureSrc::Previous: in ToGLenum()1960 case TextureSrc::PrimaryColor: in ToGLenum()[all …]
489 enum class TextureSrc : uint8_t enum501 TextureSrc FromGLenum<TextureSrc>(GLenum from);502 GLenum ToGLenum(TextureSrc from);503 std::ostream &operator<<(std::ostream &os, TextureSrc value);