Frame Buffer¶
-
template<IsSpectral TSpectral>
class FrameBuffer¶ -
Public Functions
-
FrameBuffer() = delete¶
-
inline Resolution resolution() const¶
-
inline int width() const¶
-
inline int height() const¶
-
inline void enable_depth(bool enable = true)¶
-
inline bool has_depth() const¶
-
inline void enable_albedo(bool enable = true)¶
-
inline bool has_albedo() const¶
-
inline void enable_geometry_ids(bool enable = true)¶
-
inline bool has_geometry_ids() const¶
-
inline void enable_camera_normals(bool enable = true)¶
-
inline bool has_camera_normals() const¶
-
inline void enable_world_normals(bool enable = true)¶
-
inline bool has_world_normals() const¶
-
inline void enable_received_direct_power(bool enable = true)¶
Enable the direct-illumination component of received power.
Also enables received_power(), which the direct and indirect components are a decomposition of: the renderer’s unresolved-source, veiling-glare and sensor stages all key off the total, and the invariant received_power == received_direct_power + received_indirect_power only holds if the total is actually produced.
-
inline bool has_received_direct_power() const¶
-
inline void enable_received_indirect_power(bool enable = true)¶
Enable the indirect-illumination component of received power.
See enable_received_direct_power() for why this also enables the total.
-
inline bool has_received_indirect_power() const¶
-
inline void enable_received_power(bool enable = true)¶
-
inline bool has_received_power() const¶
-
inline void enable_sensor_response(bool enable = true)¶
-
inline bool has_sensor_response() const¶
-
inline void clear()¶
-
FrameBuffer() = delete¶