VEX Dictionary / rawcolormap
rawcolormap
Reads a color, with optional alpha, from a texture file without bilinear filtering, using the arguments colormap accepts.
group: texturecolormapfiletexture
Available in every context
Usage
vector|vector4 rawcolormap(string filename, vector uvw, ...)
vector|vector4 rawcolormap(string filename, float u, float v, ...)
vector|vector4 rawcolormap(string filename, vector uv, vector du, vector dv, int samples, ...)
vector|vector4 rawcolormap(string filename, vector uv0, vector uv1, vector uv2, vector uv3, ...)
vector|vector4 rawcolormap(string filename, vector uv0, vector uv1, vector uv2, vector uv3, int samples, ...)
vector|vector4 rawcolormap(string filename, float u0, float v0, float u1, float v1, float u2, float v2, float u3, float v3, int samples, ...)
Examples
No worked examples yet.
Signatures (from vcc -X)
vector4 rawcolormap(string, float, float, ...)all contextsvector4 rawcolormap(string, float, float, float, float, float, float, float, float, int, ...)all contextsvector4 rawcolormap(string, vector, ...)all contextsvector4 rawcolormap(string, vector, vector, vector, int, ...)all contextsvector4 rawcolormap(string, vector, vector, vector, vector, ...)all contextsvector4 rawcolormap(string, vector, vector, vector, vector, int, ...)all contextsvector rawcolormap(string, float, float, ...)all contextsvector rawcolormap(string, float, float, float, float, float, float, float, float, int, ...)all contextsvector rawcolormap(string, vector, ...)all contextsvector rawcolormap(string, vector, vector, vector, int, ...)all contextsvector rawcolormap(string, vector, vector, vector, vector, ...)all contextsvector rawcolormap(string, vector, vector, vector, vector, int, ...)all contexts