VEX Dictionary / renderstate
renderstate
Asks the renderer for the value of an IFD-style property by name, optionally scoped to a specific material.
group: shadingshadingproperties
Available in displace, fog, light, shadow, surface
Usage
int renderstate(string query, <type> &value)
int renderstate(string query, <type>[] &value)
int renderstate(material mat, string query, <type> &value)
Examples
No worked examples yet.
Signatures (from vcc -X)
int renderstate(material, string, matrix2 &)displace, fog, light, shadow, surfaceint renderstate(material, string, matrix3 &)displace, fog, light, shadow, surfaceint renderstate(material, string, matrix &)displace, fog, light, shadow, surfaceint renderstate(material, string, float &)displace, fog, light, shadow, surfaceint renderstate(material, string, int &)displace, fog, light, shadow, surfaceint renderstate(material, string, vector4 &)displace, fog, light, shadow, surfaceint renderstate(material, string, string &)displace, fog, light, shadow, surfaceint renderstate(material, string, vector2 &)displace, fog, light, shadow, surfaceint renderstate(material, string, vector &)displace, fog, light, shadow, surfaceint renderstate(string, matrix2 &)displace, fog, light, shadow, surfaceint renderstate(string, matrix3 &)displace, fog, light, shadow, surfaceint renderstate(string, matrix &)displace, fog, light, shadow, surfaceint renderstate(string, float &)displace, fog, light, shadow, surfaceint renderstate(string, int &)displace, fog, light, shadow, surfaceint renderstate(string, vector4 &)displace, fog, light, shadow, surfaceint renderstate(string, string &)displace, fog, light, shadow, surfaceint renderstate(string, vector2 &)displace, fog, light, shadow, surfaceint renderstate(string, vector &)displace, fog, light, shadow, surfaceint renderstate(string, matrix2[] &)displace, fog, light, shadow, surfaceint renderstate(string, matrix3[] &)displace, fog, light, shadow, surfaceint renderstate(string, matrix[] &)displace, fog, light, shadow, surfaceint renderstate(string, float[] &)displace, fog, light, shadow, surfaceint renderstate(string, int[] &)displace, fog, light, shadow, surfaceint renderstate(string, vector4[] &)displace, fog, light, shadow, surfaceint renderstate(string, string[] &)displace, fog, light, shadow, surfaceint renderstate(string, vector2[] &)displace, fog, light, shadow, surfaceint renderstate(string, vector[] &)displace, fog, light, shadow, surface