VulkanRaytracingCycles 0.0.0
Cycles Render Engine With VulkanRaytracingShaderModules. ( Experiment , in progress)
front::Synco Struct Reference

#include <AllocatorVk.h>

Public Types

typedef char type
 

Public Member Functions

template<class T >
Syncosalting (T *&&ptr)
 
template<class T >
void duplicate (_Inout_opt_ T *&ptr)
 
void stir_routine ()
 

Public Attributes

uintptr_t shn
 
type name = 'B'
 
type id = '0'
 

Detailed Description

Definition at line 1497 of file AllocatorVk.h.

Member Typedef Documentation

◆ type

typedef char front::Synco::type

Definition at line 1499 of file AllocatorVk.h.

Member Function Documentation

◆ duplicate()

template<class T >
void front::Synco::duplicate ( _Inout_opt_ T *&  ptr)
inline

Definition at line 1521 of file AllocatorVk.h.

1521 {
1522 if (ptr != nullptr) {
1523 log_bad("take out box should be empty.\n");
1524 };
1525
1526 ptr = (T*)(shn);
1527
1528
1529 };
#define log_bad(...)
Definition: log.hpp:37
uintptr_t shn
Definition: AllocatorVk.h:1500

◆ salting()

template<class T >
Synco * front::Synco::salting ( T *&&  ptr)
inline

Definition at line 1506 of file AllocatorVk.h.

1506 {
1507 if (ptr == nullptr) {
1508 log_bad("what is shun? there is no shun.");
1509 };
1510
1511 shn = (uintptr_t)ptr;
1512
1513
1514 name = types::Type(ptr);
1515 id = atomicType(name);
1516
1517 return this;
1518 };
char atomicType(T type)
Definition: AllocatorVk.h:1460
TypeType Type(T *_)

◆ stir_routine()

void front::Synco::stir_routine ( )

Definition at line 1789 of file AllocatorVk.cpp.

1789 {
1790
1791 };

Member Data Documentation

◆ id

type front::Synco::id = '0'

Definition at line 1502 of file AllocatorVk.h.

◆ name

type front::Synco::name = 'B'

Definition at line 1501 of file AllocatorVk.h.

◆ shn

uintptr_t front::Synco::shn

Definition at line 1500 of file AllocatorVk.h.


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