Core/Stream: Add MemoryMapped stream options (allowing for direct memory access)
This commit is contained in:
@@ -62,6 +62,11 @@ namespace Nz
|
||||
// Nothing to flush
|
||||
}
|
||||
|
||||
void* MemoryStream::GetMemoryMappedPointer() const
|
||||
{
|
||||
return m_buffer->GetBuffer();
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Reads blocks
|
||||
* \return Number of blocks read
|
||||
|
||||
Reference in New Issue
Block a user