[−][src]Function slang_sys::spReflectionVariableLayout_getStage
pub unsafe extern "C" fn spReflectionVariableLayout_getStage(
var: *mut SlangReflectionVariableLayout
) -> SlangStage
Get the stage that a variable belongs to (if any).
A variable "belongs" to a specific stage when it is a varying input/output
parameter either defined as part of the parameter list for an entry
point or at the global scope of a stage-specific GLSL code file (e.g.,
an in
parameter in a GLSL .vs
file belongs to the vertex stage).