vsg 1.1.10
VulkanSceneGraph library
 
Loading...
Searching...
No Matches
vsg::PrimitiveFunctor< T > Struct Template Reference

#include <PrimitiveFunctor.h>

Inheritance diagram for vsg::PrimitiveFunctor< T >:
Collaboration diagram for vsg::PrimitiveFunctor< T >:

Public Member Functions

template<typename... Args>
 PrimitiveFunctor (Args &&... args)
 
void draw (VkPrimitiveTopology topology, uint32_t firstVertex, uint32_t vertexCount, uint32_t firstInstance, uint32_t instanceCount)
 
template<class IndexArray>
void drawIndexed (VkPrimitiveTopology topology, IndexArray indices, uint32_t firstIndex, uint32_t indexCount, uint32_t firstInstance, uint32_t instanceCount)
 

Detailed Description

template<class T>
struct vsg::PrimitiveFunctor< T >

template helper class that decomposed draw(..) and drawIndexed(..) calls into individual points, lines or triangles.


The documentation for this struct was generated from the following file: