Blender V5.3
draw::mesh Namespace Reference

Classes

struct  GatherResources
struct  ScatterFacesResources

Functions

template<typename T>
void gather_main (GatherResources< T > &srt, const uint3 global_id)
template void gather_main< StoredUint > (GatherResources< StoredUint > &, const uint3)
template void gather_main< StoredUint2 > (GatherResources< StoredUint2 > &, const uint3)
template void gather_main< StoredUint3 > (GatherResources< StoredUint3 > &, const uint3)
template void gather_main< StoredUint4 > (GatherResources< StoredUint4 > &, const uint3)
template<typename T>
void scatter_faces_main (ScatterFacesResources< T > &srt, const uint3 global_id)
template void scatter_faces_main< StoredUint > (ScatterFacesResources< StoredUint > &, const uint3)
template void scatter_faces_main< StoredUint2 > (ScatterFacesResources< StoredUint2 > &, const uint3)
template void scatter_faces_main< StoredUint3 > (ScatterFacesResources< StoredUint3 > &, const uint3)
template void scatter_faces_main< StoredUint4 > (ScatterFacesResources< StoredUint4 > &, const uint3)

Variables

PipelineCompute gather_4 (gather_main< StoredUint >)
PipelineCompute gather_8 (gather_main< StoredUint2 >)
PipelineCompute gather_12 (gather_main< StoredUint3 >)
PipelineCompute gather_16 (gather_main< StoredUint4 >)
PipelineCompute scatter_faces_4 (scatter_faces_main< StoredUint >)
PipelineCompute scatter_faces_8 (scatter_faces_main< StoredUint2 >)
PipelineCompute scatter_faces_12 (scatter_faces_main< StoredUint3 >)
PipelineCompute scatter_faces_16 (scatter_faces_main< StoredUint4 >)

Function Documentation

◆ gather_main()

template<typename T>
void draw::mesh::gather_main ( GatherResources< T > & srt,
const uint3 global_id )

dst[i] = src[indices[i]]. One thread processes one face corner.

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

References gather_main(), global_invocation_id, and resource_table.

Referenced by gather_main(), gather_main< StoredUint >(), gather_main< StoredUint2 >(), gather_main< StoredUint3 >(), and gather_main< StoredUint4 >().

◆ gather_main< StoredUint >()

template void draw::mesh::gather_main< StoredUint > ( GatherResources< StoredUint > & ,
const uint3  )

References gather_main().

◆ gather_main< StoredUint2 >()

References gather_main().

◆ gather_main< StoredUint3 >()

References gather_main().

◆ gather_main< StoredUint4 >()

References gather_main().

◆ scatter_faces_main()

template<typename T>
void draw::mesh::scatter_faces_main ( ScatterFacesResources< T > & srt,
const uint3 global_id )

◆ scatter_faces_main< StoredUint >()

◆ scatter_faces_main< StoredUint2 >()

◆ scatter_faces_main< StoredUint3 >()

◆ scatter_faces_main< StoredUint4 >()

Variable Documentation

◆ gather_12

◆ gather_16

◆ gather_4

PipelineCompute draw::mesh::gather_4(gather_main< StoredUint >) ( gather_main< StoredUint > )

◆ gather_8

◆ scatter_faces_12

◆ scatter_faces_16

◆ scatter_faces_4

◆ scatter_faces_8