FRDGParameterStruct::GetBufferParameterCount

Returns the number of buffer parameters present on the layout.