|
LightsprintSDK 2021.08.08
|
#include <PluginCube.h>
Public Member Functions | |
| PluginParamsCube (const PluginParams *_next, Texture *_cubeTexture, Texture *_depthTexture, float _fovDeg) | |
| virtual PluginRuntime * | createRuntime (const PluginCreateRuntimeParams ¶ms) const |
| virtual class PluginRuntime * | createRuntime (const PluginCreateRuntimeParams ¶ms) const =0 |
Public Attributes | |
| Texture * | cubeTexture |
| Texture * | depthTexture |
| float | fovDeg |
Public Attributes inherited from rr_gl::PluginParams | |
| const PluginParams * | next |
Renders scene (next plugin) into given cubemap. For comparison, other plugins render into current render target, which is always 2d.
|
inline |
Convenience ctor, for setting plugin parameters.
|
virtual |
Access to actual plugin code, called by Renderer.
Implements rr_gl::PluginParams.
| Texture* rr_gl::PluginParamsCube::cubeTexture |
Next plugins will render to this cubemap.
| Texture* rr_gl::PluginParamsCube::depthTexture |
Next plugins will use this 2d depthmap when rendering to cubemap side.
| float rr_gl::PluginParamsCube::fovDeg |
Field of view captured, 360 for full view.