Struct Variable

Struct Documentation

struct Variable

Owned native-reflection record copied from one linked program query.

Public Members

std::string name

Driver-reported variable name, including any native array spelling.

NativeEnum type = 0

Native GLSL type token.

NativeInteger size = 0

Driver-reported array/element count.

NativeInteger location = -1

Native location; -1 means unavailable/nonaddressable.