nngn
Loading...
Searching...
No Matches
compute.cpp File Reference
#include "collision.h"
#include <cmath>
#include <filesystem>
#include "compute/compute.h"
#include "os/platform.h"
#include "timing/timing.h"
#include "utils/log.h"
#include "utils/scoped.h"
Include dependency graph for compute.cpp:

Classes

struct  anonymous_namespace{compute.cpp}::Collision
 
struct  anonymous_namespace{compute.cpp}::AABBCollider
 
struct  anonymous_namespace{compute.cpp}::BBCollider
 
struct  anonymous_namespace{compute.cpp}::SphereCollider
 
struct  anonymous_namespace{compute.cpp}::PlaneCollider
 
struct  anonymous_namespace{compute.cpp}::GravityCollider
 
struct  anonymous_namespace{compute.cpp}::Events
 
class  anonymous_namespace{compute.cpp}::ComputeBackend
 

Namespaces

namespace  anonymous_namespace{compute.cpp}
 
namespace  nngn
 

Functions

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)
 

Variables

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