15 #include <vsg/nodes/Group.h>
16 #include <vsg/state/ArrayState.h>
17 #include <vsg/state/StateCommand.h>
36 StateCommands stateCommands;
42 bool contains(
const T value)
const
44 return std::find(stateCommands.begin(), stateCommands.end(), value) != stateCommands.end();
49 stateCommands.push_back(stateCommand);
53 void remove(
const T value)
55 if (
auto itr = std::find(stateCommands.begin(), stateCommands.end(), value); itr != stateCommands.end())
57 stateCommands.erase(itr);
63 void read(
Input& input)
override;
64 void write(
Output& output)
const override;
66 virtual void compile(
Context& context);
Definition: StateGroup.h:32
int compare(const Object &rhs) const override
compare two objects, return -1 if this object is less than rhs, return 0 if it's equal,...
ref_ptr< ArrayState > prototypeArrayState
if the shaders associated with GraphicsPipeline don't treat the array 0 as xyz vertex then provide an...
Definition: StateGroup.h:39