Enum SpriteCardTextureChannel ​
Namespace: ValveResourceFormat.Renderer.Particles
Assembly: Renderer.dll
How a sprite renderer's sampled texture channels are mapped into the output colour and alpha.
public enum SpriteCardTextureChannelFields ​
SPRITECARD_TEXTURE_CHANNEL_MIX_RGB = 0
Colour from RGB; alpha ignored (opaque).
SPRITECARD_TEXTURE_CHANNEL_MIX_RGBA = 1
Colour from RGB, alpha from A (standard).
SPRITECARD_TEXTURE_CHANNEL_MIX_A = 2
Alpha-only texture: colour comes from the particle, alpha from A.
SPRITECARD_TEXTURE_CHANNEL_MIX_RGB_A = 3
Colour from RGB, alpha from A of a second texture (dual-texture).
SPRITECARD_TEXTURE_CHANNEL_MIX_RGB_ALPHAMASK = 4
Colour from RGB masked by a second texture's alpha (dual-texture).
SPRITECARD_TEXTURE_CHANNEL_MIX_RGB_RGBMASK = 5
Colour from RGB masked by a second texture's RGB (dual-texture).
SPRITECARD_TEXTURE_CHANNEL_MIX_RGBA_RGBALPHA = 6
RGBA blended with a second texture's RGB+alpha (dual-texture).
SPRITECARD_TEXTURE_CHANNEL_MIX_A_RGBALPHA = 7
Alpha blended with a second texture's RGB+alpha (dual-texture).
SPRITECARD_TEXTURE_CHANNEL_MIX_RGB_A_RGBALPHA = 8
RGB+alpha blended with a second texture's RGB+alpha (dual-texture).
SPRITECARD_TEXTURE_CHANNEL_MIX_R = 9
Colour from the red channel only.
SPRITECARD_TEXTURE_CHANNEL_MIX_G = 10
Colour from the green channel only.
SPRITECARD_TEXTURE_CHANNEL_MIX_B = 11
Colour from the blue channel only.
SPRITECARD_TEXTURE_CHANNEL_MIX_RALPHA = 12
Alpha from the red channel; colour comes from the particle.
SPRITECARD_TEXTURE_CHANNEL_MIX_GALPHA = 13
Alpha from the green channel; colour comes from the particle.
SPRITECARD_TEXTURE_CHANNEL_MIX_BALPHA = 14
Alpha from the blue channel; colour comes from the particle.
See Also ​
https://s2v.app/SchemaExplorer/cs2/particles/SpriteCardTextureChannel_t

