Photon Engine C API 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
api_helpers.ipp File Reference
#include "Api/api_helpers.h"
#include <Common/assertion.h>
#include <Common/memory.h>
#include <Utility/ByteBuffer.h>
#include <Core/Renderer/RenderRegionStatus.h>
#include <type_traits>
#include <memory>

Go to the source code of this file.

Namespaces

namespace  ph
 

Functions

bool ph::is_reversing_bytes_needed (PhEndian desiredEndianness)
 
PhFrameRegionStatus ph::to_frame_region_status (ERegionStatus regionStatus)
 
void ph::to_frame_region_info (const RenderRegionStatus &regionStatus, PhFrameRegionInfo *out_regionInfo)
 
template<typename T >
TSpan< T > ph::make_array_from_buffer (std::size_t numArrayElements, ByteBuffer &buffer, bool allowBufferGrowth=false)
 Make an array of default constructed objects of type T.