//
// Created by sebastian on 29.07.26.
//

#ifndef COLORRACE_GLRENDERSTATE_H
#define COLORRACE_GLRENDERSTATE_H

namespace engine {
    struct GLRenderState {
        bool backfaceCulling = true;
        bool frontFaceCulling = false;
        bool alphaBlending = false;
        bool antialiasing = false;
        bool depthTesting = true;   // in 3D meist sinnvoller Default
        bool depthWriting = true;

        void apply() const;
    };

}

#endif //COLORRACE_GLRENDERSTATE_H
