nngn
Loading...
Searching...
No Matches
anonymous_namespace{compute.cpp} Namespace Reference

Classes

struct  AABBCollider
 
struct  BBCollider
 
struct  Collision
 
class  ComputeBackend
 
struct  Events
 
struct  GravityCollider
 
struct  PlaneCollider
 
struct  SphereCollider
 

Functions

template<typename To , typename From , typename F >
bool copy_type (nngn::Compute *c, nngn::Compute::Buffer b, std::span< const From > s, F *f, nngn::Compute::Event *const *e)
 

Variables

constexpr auto CONTERS_SIZE
 
constexpr auto COUNTERS_BYTES = CONTERS_SIZE * sizeof(u32)
 

Function Documentation

◆ copy_type()

template<typename To , typename From , typename F >
bool anonymous_namespace{compute.cpp}::copy_type ( nngn::Compute c,
nngn::Compute::Buffer  b,
std::span< const From >  s,
F f,
nngn::Compute::Event *const *  e 
)
Here is the call graph for this function:

Variable Documentation

◆ CONTERS_SIZE

constexpr auto anonymous_namespace{compute.cpp}::CONTERS_SIZE
constexpr
Initial value:
=
static_cast<std::size_t>(nngn::Collider::Type::N_TYPES - 1)
* static_cast<std::size_t>(nngn::Collider::Type::N_TYPES - 2)

◆ COUNTERS_BYTES

constexpr auto anonymous_namespace{compute.cpp}::COUNTERS_BYTES = CONTERS_SIZE * sizeof(u32)