vsg: vsg::PrimitiveFunctor< T > Struct Template Reference

vsg 1.1.8 VulkanSceneGraph library

Loading...
Searching...
No Matches
Public Member Functions | List of all members
vsg::PrimitiveFunctor< T > Struct Template Reference

`#include <PrimitiveFunctor.h>`

Inheritance diagram for vsg::PrimitiveFunctor< T >:
[legend]
Collaboration diagram for vsg::PrimitiveFunctor< T >:
[legend]

## 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:

- include/vsg/utils/PrimitiveFunctor.h