MCPcopy Create free account
hub / github.com/crownengine/crown / end

Method end

3rdparty/bgfx/src/vertexlayout.cpp:74–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72 }
73
74 void VertexLayout::end()
75 {
76 bx::HashMurmur2A murmur;
77 murmur.begin();
78 murmur.add(m_attributes, sizeof(m_attributes) );
79 murmur.add(m_offset, sizeof(m_offset) );
80 murmur.add(m_stride);
81 m_hash = murmur.end();
82 }
83
84 VertexLayout& VertexLayout::add(Attrib::Enum _attrib, uint8_t _num, AttribType::Enum _type, bool _normalized, bool _asInt)
85 {

Callers 1

readFunction · 0.45

Calls 2

beginMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected