File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ namespace vsg
65
65
class Instrumentation ;
66
66
class InstanceNode ;
67
67
class InstanceDraw ;
68
+ class InstanceDrawIndexed ;
68
69
69
70
VSG_type_name (vsg::RecordTraversal);
70
71
@@ -147,6 +148,7 @@ namespace vsg
147
148
// instance nodes
148
149
void apply (const InstanceNode& instanceNode);
149
150
void apply (const InstanceDraw& instanceDraw);
151
+ void apply (const InstanceDrawIndexed& instanceDrawIndexed);
150
152
151
153
// Vulkan nodes
152
154
void apply (const StateGroup& object);
Original file line number Diff line number Diff line change @@ -498,6 +498,14 @@ void RecordTraversal::apply(const InstanceDraw& instanceDraw)
498
498
instanceDraw.record (*(_state->_commandBuffer ));
499
499
}
500
500
501
+ void RecordTraversal::apply (const InstanceDraw& instanceDrawIndexed)
502
+ {
503
+ CPU_INSTRUMENTATION_L2 (instrumentation);
504
+
505
+ _state->record ();
506
+ instanceDrawIndexed.record (*(_state->_commandBuffer ));
507
+ }
508
+
501
509
// Vulkan nodes
502
510
void RecordTraversal::apply (const StateGroup& stateGroup)
503
511
{
You can’t perform that action at this time.
0 commit comments