Aego Русский

Vec4

struct Vec4

Four numeric lanes, with no color-space conversion.

On this page

W field

field W float

Stores the fourth floating-point lane; it is not treated as alpha unless the consumer explicitly gives it that meaning.

X field

field X float

Stores the first floating-point lane of a numerical vec4 material value; it is not automatically a red colour channel.

Y field

field Y float

Stores the second floating-point lane of a numerical vec4 material value; its meaning is defined by the shader parameter.

Z field

field Z float

Stores the third floating-point lane of a numerical vec4 material value; its meaning is defined by the shader parameter.