Lines Matching defs:stream
1824 std::stringstream stream;
1834 stream << "#version 400\n"
1847 stream << "// " << type_name << "\n";
1857 stream << "layout(location = " << location << ") ";
1860 stream << "in " << type_name << " attribute_" << attribute + attribute_offset << ";\n";
1869 stream << "layout(location = " << location << ") ";
1872 stream << "in " << type_name << " attribute_" << n_type << "[" << n_attributes << "];\n";
1875 stream << "\n";
1879 stream << "out int " << varying_name << ";\n\n";
1882 stream << "void main()\n"
1890 stream << "// " << type_name << "\n";
1904 stream << " if (attribute_";
1908 stream << " else if (attribute_";
1914 stream << attribute_ordinal;
1918 stream << n_type << "[" << attribute << "]";
1922 stream << " != " << type_name << "(";
1938 stream << attribute_ordinal << " + " << advancement_str << " * 2";
1942 stream << attribute_ordinal << " + " << advancement_str << " * 3 + 1"
1965 stream << attribute_ordinal << " + " << advancement_str << " * " << n_elements << " + " << element;
1969 stream << ", ";
1986 stream << n_type << " + " << attribute_ordinal << " + " << advancement_str << " * 16 + " << element;
1990 stream << ", ";
1998 stream << "))\n"
2007 stream << " else\n"
2015 out_vertex_shader_code = stream.str();