struct
GBufferComponent which stores the GBuffer textures of a render target.
Public variables
- glm::uvec2 size
- Size of the GBuffer textures, in pixels.
- bool cleared
- Whether the GBuffer textures have already been cleared this frame.
-
core::
gl:: Texture2D position - Stores the position of the objects in the scene.
-
core::
gl:: Texture2D normal - Stores the normal of the objects in the scene.
-
core::
gl:: Texture2D albedo - Stores the albedo of the objects in the scene.