MCPcopy Create free account
hub / github.com/NazaraEngine/NazaraEngine / Map

Method Map

src/Nazara/Utility/Buffer.cpp:91–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89 }
90
91 void* Buffer::Map(BufferAccess access, UInt32 offset, UInt32 size)
92 {
93 NazaraAssert(m_impl, "Invalid buffer");
94 NazaraAssert(offset + size <= m_size, "Exceeding buffer size");
95
96 return m_impl->Map(access, offset, (size == 0) ? m_size - offset : size);
97 }
98
99 void* Buffer::Map(BufferAccess access, UInt32 offset, UInt32 size) const
100 {

Callers 4

SetStorageMethod · 0.45
MapRawMethod · 0.45
IndexMapperMethod · 0.45
VertexMapperMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected