Skip to content
Snippets Groups Projects

Resolve "Partikelsystem"

Merged Ghost User requested to merge 69-partikelsystem into develop
Compare and
34 files
+ 1556
34
Compare changes
  • Side-by-side
  • Inline
Files
34
@@ -37,11 +37,12 @@ namespace vkcv {
@@ -37,11 +37,12 @@ namespace vkcv {
};
};
struct DrawcallInfo {
struct DrawcallInfo {
inline DrawcallInfo(const Mesh& mesh, const std::vector<DescriptorSetUsage>& descriptorSets)
inline DrawcallInfo(const Mesh& mesh, const std::vector<DescriptorSetUsage>& descriptorSets, const uint32_t instanceCount = 1)
: mesh(mesh), descriptorSets(descriptorSets) {}
: mesh(mesh), descriptorSets(descriptorSets), instanceCount(instanceCount){}
Mesh mesh;
Mesh mesh;
std::vector<DescriptorSetUsage> descriptorSets;
std::vector<DescriptorSetUsage> descriptorSets;
 
uint32_t instanceCount;
};
};
void recordDrawcall(
void recordDrawcall(
Loading