struct
#include <engine/render/depth/depth.hpp>
RenderDepth Component which stores the depth texture of a render target.
Public variables
- glm::uvec2 size
- Size of the depth texture, in pixels.
- bool cleared
- Whether the depth texture has already been cleared this frame.
-
core::
gl:: Texture2D texture - Handle to the actual depth texture.