Photon Engine C API 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
api_helpers.h File Reference
#include "ph_c_core_types.h"
#include <Utility/TSpan.h>
#include <Core/Renderer/ERegionStatus.h>
#include <cstddef>
#include <bit>
#include "Api/api_helpers.ipp"

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)
 
PictureMeta ph::make_picture_meta (const PhFrameSaveInfo &saveInfo)
 
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.