This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <vsg/all.h> | |
std::string vert_PushConstants = R"(#version 450 | |
#extension GL_ARB_separate_shader_objects : enable | |
layout(push_constant) uniform PushConstants { | |
mat4 projection; | |
mat4 modelview; | |
} pc; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <vsg/all.h> | |
using namespace vsg; | |
class CustomVisitor; | |
class CustomGroupNode : public Inherit<Group, CustomGroupNode> | |
{ | |
public: | |
void accept(Visitor& visitor) override; |