15 #include <vsg/nodes/Group.h>
16 #include <vsg/state/ArrayState.h>
17 #include <vsg/state/StateCommand.h>
37 StateCommands stateCommands;
43 bool contains(
const T value)
const
45 return std::find(stateCommands.begin(), stateCommands.end(), value) != stateCommands.end();
50 stateCommands.push_back(stateCommand);
54 void remove(
const T value)
56 if (
auto itr = std::find(stateCommands.begin(), stateCommands.end(), value); itr != stateCommands.end())
58 stateCommands.erase(itr);
64 void read(
Input& input)
override;
65 void write(
Output& output)
const override;
67 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:40
std container adapter for allocating with MEMORY_AFFINITY_NODES
Definition: Allocator.h:133