Lines Matching refs:Vertex
196 struct Vertex
198 Vertex(Vec4 position_, Vec2 uv_) : position(position_), uv(uv_) {}
206 VkVertexInputBindingDescription Vertex::getBindingDescription (void)
211 static_cast<deUint32>(sizeof(Vertex)), // deUint32 stride;
218 vector<VkVertexInputAttributeDescription> Vertex::getAttributeDescriptions (void)
226 static_cast<deUint32>(offsetof(Vertex, position)), // deUint32 offset;
232 static_cast<deUint32>(offsetof(Vertex, uv)), // deUint32 offset;
240 vector<Vertex> generateVertices (void)
242 vector<Vertex> vertices;
243 vertices.push_back(Vertex(Vec4(-1.0f, -1.0f, 0.0f, 1.0f), Vec2(0.0f, 0.0f)));
244 vertices.push_back(Vertex(Vec4( 1.0f, -1.0f, 0.0f, 1.0f), Vec2(1.0f, 0.0f)));
245 vertices.push_back(Vertex(Vec4(-1.0f, 1.0f, 0.0f, 1.0f), Vec2(0.0f, 1.0f)));
246 vertices.push_back(Vertex(Vec4( 1.0f, -1.0f, 0.0f, 1.0f), Vec2(1.0f, 0.0f)));
247 vertices.push_back(Vertex(Vec4( 1.0f, 1.0f, 0.0f, 1.0f), Vec2(1.0f, 1.0f)));
248 vertices.push_back(Vertex(Vec4(-1.0f, 1.0f, 0.0f, 1.0f), Vec2(0.0f, 1.0f)));
459 const vector<Vertex> vertices = generateVertices();
467 const auto vtxBindingDescription = Vertex::getBindingDescription();
468 const auto vtxAttrDescriptions = Vertex::getAttributeDescriptions();