Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
All Classes Pages
Grindstone::GraphicsAPI::ClearColor Union Reference

#include <RenderPass.hpp>

Public Attributes

float float32 [4]
 
int32_t int32 [4]
 
uint32_t uint32 [4]
 

Detailed Description

Values to clear an attachment with. Use the unions with the correct data type that represents the attachment, and use each of the 4 members of the array to represent red, green, blue, and alpha respectively.


The documentation for this union was generated from the following file: