|
Photon Engine C API 2.0.0-beta
A physically based renderer.
|
Functions | |
| PictureMeta | make_picture_meta (const PhFrameSaveInfo &saveInfo) |
| bool | is_reversing_bytes_needed (PhEndian desiredEndianness) |
| PhFrameRegionStatus | to_frame_region_status (ERegionStatus regionStatus) |
| void | to_frame_region_info (const RenderRegionStatus ®ionStatus, PhFrameRegionInfo *out_regionInfo) |
| template<typename T > | |
| TSpan< T > | make_array_from_buffer (std::size_t numArrayElements, ByteBuffer &buffer, bool allowBufferGrowth=false) |
Make an array of default constructed objects of type T. | |
|
inline |
|
inline |
Make an array of default constructed objects of type T.
| T | Type for the objects created. Must be default constructible and trivially destructible. |
| arraySize | Number of array elements. |
| buffer | The buffer object to back the array. The write head will move past the region for the array. |
| allowBufferGrowth | Making an array from the buffer may invalidate any previously returned pointers if the buffer is allowed to grow. If false, no previously returned pointers are invalidated. |
| PictureMeta ph::make_picture_meta | ( | const PhFrameSaveInfo & | saveInfo | ) |
|
inline |
|
inline |