Photon Common Library 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
memory.cpp File Reference
#include "Common/memory.h"
#include "Common/math_basics.h"
#include "Common/os.h"
#include <cstdlib>

Namespaces

namespace  ph
 The root for all renderer implementations.
 
namespace  ph::detail
 Implementation detail mainly for internal usages.
 

Functions

void * ph::detail::allocate_aligned_memory (std::size_t numBytes, std::size_t alignmentInBytes)
 
void ph::detail::free_aligned_memory (void *ptr)