Skip to main content

struct_ver

Function struct_ver 

Source
const fn struct_ver(size: usize, rev: u32) -> u32
Expand description

The version word an NvFBC parameter struct carries: its own size, its revision, and the API version, packed as the SDK’s NVFBC_STRUCT_VERSION macro packs them (the API version lands at bit 24, where only its low byte survives the 32-bit result).