OpenGothic
Open source reimplementation of Gothic I and II
Loading...
Searching...
No Matches
instancestorage.cpp File Reference
#include "instancestorage.h"
#include "shaders.h"
#include "utils/workers.h"
#include <Tempest/Log>
#include <cstdint>
#include <atomic>

Go to the source code of this file.

Functions

static uint32_t nextPot (uint32_t v)
 
static uint32_t alignAs (uint32_t sz, uint32_t alignment)
 
static void bitSet (std::vector< uint32_t > &b, size_t id)
 
static bool bitAt (std::vector< uint32_t > &b, size_t id)
 

Function Documentation

◆ alignAs()

static uint32_t alignAs ( uint32_t  sz,
uint32_t  alignment 
)
static

Definition at line 22 of file instancestorage.cpp.

◆ bitAt()

static bool bitAt ( std::vector< uint32_t > &  b,
size_t  id 
)
static

Definition at line 33 of file instancestorage.cpp.

◆ bitSet()

static void bitSet ( std::vector< uint32_t > &  b,
size_t  id 
)
static

Definition at line 26 of file instancestorage.cpp.

◆ nextPot()

static uint32_t nextPot ( uint32_t  v)
static

Definition at line 11 of file instancestorage.cpp.