VulkanRaytracingCycles 0.0.0
Cycles Render Engine With VulkanRaytracingShaderModules. ( Experiment , in progress)
vthreepy_const.h File Reference
#include <stdint.h>
#include <string>

Go to the source code of this file.

Macros

#define VTHREEPY_CONST
 
#define Per(photon)   int(90 * 100 * (photon))
 

Typedefs

typedef std::string_view LayoutType
 

Functions

constexpr uint64_t operator""_fr (long double per)
 1/90 second 100% More...
 

Variables

const uint32_t OP_LOAD = 0
 
const uint32_t OP_CLEAR = 1
 
constexpr uint64_t Hz1G = 1
 
constexpr uint64_t Hz100M = 10
 nano second More...
 
constexpr uint64_t Hz10M = 100
 
constexpr uint64_t Hz1M = 1000
 
constexpr uint64_t Hz100K = 10000
 micro second More...
 
constexpr uint64_t Hz90K = 11111
 
constexpr uint64_t Hz10K = 100000
 1/90000 second 0.1% More...
 
constexpr uint64_t Hz9K = 111111
 
constexpr uint64_t Hz1K = 1000000
 1/9000 second 1% More...
 
constexpr uint64_t Hz900 = 1111111
 milli second More...
 
constexpr uint64_t Hz90 = 11111111
 1/900 second 10% More...
 
constexpr LayoutType SU = "su"sv
 
constexpr LayoutType SSS = "sss"sv
 
constexpr LayoutType SSSS = "ssss"sv
 
constexpr LayoutType SSUU = "ssuu"sv
 
constexpr LayoutType SSUS = "ssus"sv
 
constexpr LayoutType TEX = "t"sv
 
constexpr LayoutType UNI = "u"sv
 
constexpr LayoutType UT = "ut"sv
 
constexpr LayoutType UUT = "uut"sv
 
constexpr LayoutType UTT = "utt"sv
 
constexpr LayoutType UUTT = "uutt"sv
 
constexpr LayoutType UTTT = "uttt"sv
 

Macro Definition Documentation

◆ Per

#define Per (   photon)    int(90 * 100 * (photon))

Definition at line 12 of file vthreepy_const.h.

◆ VTHREEPY_CONST

#define VTHREEPY_CONST

Definition at line 3 of file vthreepy_const.h.

Typedef Documentation

◆ LayoutType

typedef std::string_view LayoutType

Definition at line 32 of file vthreepy_const.h.

Function Documentation

◆ operator""_fr()

constexpr uint64_t operator""_fr ( long double  per)
constexpr

1/90 second 100%

Definition at line 24 of file vthreepy_const.h.

25{
26 return uint64_t(1000000000.L / 9000 * per);
27}

Variable Documentation

◆ Hz100K

constexpr uint64_t Hz100K = 10000
constexpr

micro second

Definition at line 17 of file vthreepy_const.h.

◆ Hz100M

constexpr uint64_t Hz100M = 10
constexpr

nano second

Definition at line 14 of file vthreepy_const.h.

◆ Hz10K

constexpr uint64_t Hz10K = 100000
constexpr

1/90000 second 0.1%

Definition at line 19 of file vthreepy_const.h.

◆ Hz10M

constexpr uint64_t Hz10M = 100
constexpr

Definition at line 15 of file vthreepy_const.h.

◆ Hz1G

constexpr uint64_t Hz1G = 1
constexpr

Definition at line 13 of file vthreepy_const.h.

◆ Hz1K

constexpr uint64_t Hz1K = 1000000
constexpr

1/9000 second 1%

Definition at line 21 of file vthreepy_const.h.

◆ Hz1M

constexpr uint64_t Hz1M = 1000
constexpr

Definition at line 16 of file vthreepy_const.h.

◆ Hz90

constexpr uint64_t Hz90 = 11111111
constexpr

1/900 second 10%

Definition at line 23 of file vthreepy_const.h.

◆ Hz900

constexpr uint64_t Hz900 = 1111111
constexpr

milli second

Definition at line 22 of file vthreepy_const.h.

◆ Hz90K

constexpr uint64_t Hz90K = 11111
constexpr

Definition at line 18 of file vthreepy_const.h.

◆ Hz9K

constexpr uint64_t Hz9K = 111111
constexpr

Definition at line 20 of file vthreepy_const.h.

◆ OP_CLEAR

const uint32_t OP_CLEAR = 1

Definition at line 9 of file vthreepy_const.h.

◆ OP_LOAD

const uint32_t OP_LOAD = 0

Definition at line 8 of file vthreepy_const.h.

◆ SSS

constexpr LayoutType SSS = "sss"sv
constexpr

Definition at line 35 of file vthreepy_const.h.

◆ SSSS

constexpr LayoutType SSSS = "ssss"sv
constexpr

Definition at line 36 of file vthreepy_const.h.

◆ SSUS

constexpr LayoutType SSUS = "ssus"sv
constexpr

Definition at line 38 of file vthreepy_const.h.

◆ SSUU

constexpr LayoutType SSUU = "ssuu"sv
constexpr

Definition at line 37 of file vthreepy_const.h.

◆ SU

constexpr LayoutType SU = "su"sv
constexpr

Definition at line 34 of file vthreepy_const.h.

◆ TEX

constexpr LayoutType TEX = "t"sv
constexpr

Definition at line 40 of file vthreepy_const.h.

◆ UNI

constexpr LayoutType UNI = "u"sv
constexpr

Definition at line 41 of file vthreepy_const.h.

◆ UT

constexpr LayoutType UT = "ut"sv
constexpr

Definition at line 42 of file vthreepy_const.h.

◆ UTT

constexpr LayoutType UTT = "utt"sv
constexpr

Definition at line 44 of file vthreepy_const.h.

◆ UTTT

constexpr LayoutType UTTT = "uttt"sv
constexpr

Definition at line 46 of file vthreepy_const.h.

◆ UUT

constexpr LayoutType UUT = "uut"sv
constexpr

Definition at line 43 of file vthreepy_const.h.

◆ UUTT

constexpr LayoutType UUTT = "uutt"sv
constexpr

Definition at line 45 of file vthreepy_const.h.