The Nebula Device 3: c:/nebula3/code/foundation/memory/win32/win32memory.h File Reference

The Nebula Device 3

c:/nebula3/code/foundation/memory/win32/win32memory.h File Reference


Detailed Description

Win32 specific low level memory functions.

(C) 2006 Radon Labs GmbH

#include "core/config.h" #include "core/debug.h"


Namespaces

namespace  Memory

Functions

void Memory::Copy (const void *from, void *to, size_t numBytes)
 copy a chunk of memory
__forceinline void Memory::CopyToGraphicsMemory (const void *from, void *to, size_t numBytes)
void Memory::Clear (void *ptr, size_t numBytes)
 overwrite a chunk of memory with zero
void Memory::Fill (void *ptr, size_t numBytes, unsigned char value)
 fill memory with a specific byte