32 using SpecializationConstants = std::map<uint32_t, vsg::ref_ptr<vsg::Data>>;
41 std::string entryPointName;
42 SpecializationConstants specializationConstants;
45 static ref_ptr<ShaderStage> read(VkShaderStageFlagBits stage,
const std::string& entryPointName, std::istream& fin, ref_ptr<const Options> options = {});
50 void write(
Output& output)
const override;
int compare(const Object &rhs_object) const override
compare two objects, return -1 if this object is less than rhs, return 0 if it's equal,...