Blender V5.3
draw::mesh::GatherResources< T > Struct Template Reference

#include <draw_mesh_to_corner.bsl.hh>

Public Attributes

const T(& src )[]
const int(& indices )[]
T(& dst )[]
const int start
const int count

Detailed Description

template<typename T>
struct draw::mesh::GatherResources< T >

Both shaders process a batch of count elements starting at start, to stay within the potentially limited GPU work group count.

Definition at line 28 of file draw_mesh_to_corner.bsl.hh.

Member Data Documentation

◆ count

template<typename T>
const int draw::mesh::GatherResources< T >::count

Definition at line 35 of file draw_mesh_to_corner.bsl.hh.

◆ dst

template<typename T>
T(& draw::mesh::GatherResources< T >::dst)[]

Definition at line 32 of file draw_mesh_to_corner.bsl.hh.

◆ indices

template<typename T>
const int(& draw::mesh::GatherResources< T >::indices)[]

The source element for each face corner, e.g. #Mesh::corner_verts().

Definition at line 31 of file draw_mesh_to_corner.bsl.hh.

◆ src

template<typename T>
const T(& draw::mesh::GatherResources< T >::src)[]

Definition at line 29 of file draw_mesh_to_corner.bsl.hh.

◆ start

template<typename T>
const int draw::mesh::GatherResources< T >::start

Definition at line 34 of file draw_mesh_to_corner.bsl.hh.


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