Added Uniform descriptor type#42
Conversation
…ateSet to be a vector of StateAttribute, with StaeAttribute generating the Descriptor
…data container that has a nested Implementation class to uses this data to create the appropriate the Vulkan object from this.
… and Descriptor classes to the new Inteface::Implementation paradigm. Removed the StateAttribute/StateSet classes as these are no longer required with DescriptorSet/Descriptor taking on this role directly.
… PipelineLayout, ShadeerModule and related classes to work with the new Interface::Implemntation approach
…on of Context. Fixed conversion warning setting descriptorSetCount.
…tor + ConstVisitor classes
…eclaration of Context. Fixed conversion warning setting descriptorSetCount." This reverts commit 4994377.
|
@tomhog could you regenerate this PR related to the InterfaceImplementation branch as currently this PR is pulling in all my changes in the InterfaceImplementation branch, |
|
I have manually merged this PR into my local InterfaceImplementation branch and get just the changes made. I can potentially check in from there. I am getting compile errors though: |
|
I have got it compiling with the follow change:
I'll do a manual merge into new branch for the osg2vsg changes and play around with the new functionality. |
|
I have merged this PR and my change to the branch: I'll close this PR and work with the branch above. |
Pull Request Template
Description
The Uniform implements a DescriptorBuffer using a DataList of values and the bindingIndex etc. I've also added a UniformValue for convince. This is basically the same as Value only it allows structs as it doesn't implement the serialization of the value it stores. I've also added BasicUniformValue which does implement serialization and macroed all the basic types.
How Has This Been Tested?