Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aras-p/ToyPathTracer
/ functions
Functions
334 in github.com/aras-p/ToyPathTracer
⨍
Functions
334
◇
Types & classes
86
↓ 36 callers
Function
RandomFloat01
Cpp/Source/Maths.cpp:15
↓ 34 callers
Method
store
Cpp/Source/Maths.h:38
↓ 19 callers
Function
normalize
Cpp/Source/Maths.h:301
↓ 18 callers
Function
dot
Cpp/Source/Maths.h:115
↓ 13 callers
Method
GetIsComplete
Cpp/Source/enkiTS/TaskScheduler.h:112
↓ 13 callers
Function
max
Cpp/Source/Maths.h:83
↓ 12 callers
Method
GetConfig
Cpp/Source/enkiTS/TaskScheduler.cpp:856
↓ 12 callers
Function
min
Cpp/Source/Maths.h:82
↓ 12 callers
Method
toFloat3
Cpp/Source/Maths.h:294
↓ 10 callers
Function
SafeCallback
Cpp/Source/enkiTS/TaskScheduler.cpp:183
↓ 10 callers
Function
sqrtf
Cpp/Source/MathSimd.h:92
↓ 9 callers
Method
getX
Cpp/Source/Maths.h:31
↓ 8 callers
Method
SetDependency
Cpp/Source/enkiTS/TaskScheduler.h:526
↓ 8 callers
Function
cross
Cpp/Source/Maths.h:98
↓ 7 callers
Function
AssertUnit
Cpp/Source/Maths.h:305
↓ 7 callers
Method
getY
Cpp/Source/Maths.h:32
↓ 6 callers
Function
HitWorld
Cpp/Source/Test.cpp:76
↓ 6 callers
Method
Sqrt
(float v)
Cs/Maths.cs:10
↓ 6 callers
Method
WaitforTask
Cpp/Source/enkiTS/TaskScheduler.cpp:971
↓ 6 callers
Function
select
Cpp/Source/MathSimd.h:72
↓ 6 callers
Method
zxy
Cpp/Source/Maths.h:36
↓ 5 callers
Function
SemaphoreSignal
Cpp/Source/enkiTS/TaskScheduler.cpp:1343
↓ 5 callers
Function
Trace
Cpp/Source/Test.cpp:195
↓ 5 callers
Method
getZ
Cpp/Source/Maths.h:33
↓ 5 callers
Function
mask
Returns a 3-bit code where bit0..bit2 is X..Z
Cpp/Source/Maths.h:108
↓ 4 callers
Method
Dispose
()
Unity/Assets/Test.cs:77
↓ 4 callers
Method
Max
(float a, float b)
Cs/Maths.cs:16
↓ 4 callers
Method
Normalize
()
Cs/Maths.cs:29
↓ 4 callers
Function
mask
Returns a 4-bit code where bit0..bit3 is X..W
Cpp/Source/MathSimd.h:62
↓ 4 callers
Function
reflect
Cpp/Source/Maths.h:310
↓ 3 callers
Method
AddTaskSetToPipe
Cpp/Source/enkiTS/TaskScheduler.cpp:891
↓ 3 callers
Method
Cos
(float v)
Cs/Maths.cs:14
↓ 3 callers
Method
ExecuteRange
Cpp/Source/enkiTS/TaskScheduler.h:214
↓ 3 callers
Method
Initialize
Cpp/Source/enkiTS/TaskScheduler.cpp:1284
↓ 3 callers
Method
IsListEmpty
Cpp/Source/enkiTS/LockLessMultiReadPipe.h:238
↓ 3 callers
Function
RandomInUnitSphere
Cpp/Source/Maths.cpp:30
↓ 3 callers
Function
Scatter
Cpp/Source/Test.cpp:83
↓ 3 callers
Function
SemaphoreWait
Cpp/Source/enkiTS/TaskScheduler.cpp:1336
↓ 3 callers
Method
Sin
(float v)
Cs/Maths.cs:13
↓ 3 callers
Function
SpinWait
Note: see https://software.intel.com/en-us/articles/a-common-construct-to-avoid-the-contention-of-threads-architecture-agnostic-spin-wait-loops
Cpp/Source/enkiTS/TaskScheduler.cpp:164
↓ 3 callers
Function
TraceRowJob
Cpp/Source/Test.cpp:266
↓ 3 callers
Function
UpdateTest
Cpp/Source/Test.cpp:302
↓ 3 callers
Function
XorShift32
Cpp/Source/Maths.cpp:5
↓ 3 callers
Function
sqLength
Cpp/Source/Maths.h:300
↓ 2 callers
Method
Abs
(float v)
Cs/Maths.cs:11
↓ 2 callers
Method
AddPinnedTask
Cpp/Source/enkiTS/TaskScheduler.cpp:915
↓ 2 callers
Method
Cross
(float3 a, float3 b)
Cs/Maths.cs:39
↓ 2 callers
Function
DrawTest
Cpp/Source/Test.cpp:344
↓ 2 callers
Method
Free
Cpp/Source/enkiTS/TaskScheduler.cpp:1255
↓ 2 callers
Method
GetIsShutdownRequested
while( !GetIsShutdownRequested() ) {} can be used in tasks which loop, to check if enkiTS has been requested to shutdown. If GetIsShutdownRequested()
Cpp/Source/enkiTS/TaskScheduler.h:326
↓ 2 callers
Method
Pow
(float a, float b)
Cs/Maths.cs:12
↓ 2 callers
Method
ReaderTryReadBack
Cpp/Source/enkiTS/LockLessMultiReadPipe.h:99
↓ 2 callers
Method
RegisterExternalTaskThread
Cpp/Source/enkiTS/TaskScheduler.cpp:225
↓ 2 callers
Function
ShutdownD3DDevice
Cpp/Windows/TestWin.cpp:531
↓ 2 callers
Function
SplitTask
Cpp/Source/enkiTS/TaskScheduler.cpp:152
↓ 2 callers
Method
Start
()
Unity/Assets/TestScript.cs:20
↓ 2 callers
Function
any
Once we have a comparison, we can branch based on its results:
Cpp/Source/Maths.h:110
↓ 2 callers
Function
min
Cpp/Source/MathSimd.h:51
↓ 2 callers
Method
pointAt
Cpp/Source/Maths.h:339
↓ 2 callers
Function
splatX
Cpp/Source/MathSimd.h:187
↓ 2 callers
Function
splatY
Cpp/Source/MathSimd.h:188
↓ 2 callers
Function
splatZ
Cpp/Source/MathSimd.h:189
↓ 2 callers
Function
sum
Cpp/Source/Maths.h:114
↓ 1 callers
Method
AddPinnedTaskInt
Cpp/Source/enkiTS/TaskScheduler.cpp:899
↓ 1 callers
Method
AddTaskSetToPipeInt
Cpp/Source/enkiTS/TaskScheduler.cpp:861
↓ 1 callers
Method
DeRegisterExternalTaskThread
Cpp/Source/enkiTS/TaskScheduler.cpp:262
↓ 1 callers
Method
DrawTest
(float time, int frameCount, int screenWidth, int screenHeight, float[] backbuffer, out int outRayCount)
Cs/Test.cs:274
↓ 1 callers
Method
DrawTest
(float time, int frameCount, int screenWidth, int screenHeight, NativeArray<UnityEngine.Color> backbuffer, boo
Unity/Assets/Test.cs:281
↓ 1 callers
Method
Execute
Cpp/Source/enkiTS/TaskScheduler.cpp:1031
↓ 1 callers
Function
FrameTimingGPU
Cpp/Windows/TestWin.cpp:342
↓ 1 callers
Method
GetDependencyTask
Cpp/Source/enkiTS/TaskScheduler.h:243
↓ 1 callers
Method
GetIsRunningInt
Cpp/Source/enkiTS/TaskScheduler.h:454
↓ 1 callers
Method
GetIsWaitforAllCalled
while( !GetIsWaitforAllCalled() ) {} can be used in tasks which loop, to check if WaitforAll() has been called. If GetIsWaitforAllCalled() returns fal
Cpp/Source/enkiTS/TaskScheduler.h:332
↓ 1 callers
Method
GetNumRegisteredExternalTaskThreads
Cpp/Source/enkiTS/TaskScheduler.cpp:276
↓ 1 callers
Method
GetNumTaskThreads
Cpp/Source/enkiTS/TaskScheduler.cpp:1191
↓ 1 callers
Function
GetObjectCount
Cpp/Source/Test.cpp:369
↓ 1 callers
Method
GetRay
Cpp/Source/Maths.h:437
↓ 1 callers
Method
GetRay
(float s, float t, ref uint state)
Cs/Maths.cs:251
↓ 1 callers
Method
GetRay
(float s, float t, ref uint state)
Unity/Assets/Maths.cs:254
↓ 1 callers
Function
GetSceneDesc
Cpp/Source/Test.cpp:377
↓ 1 callers
Method
GetThreadNum
Cpp/Source/enkiTS/TaskScheduler.cpp:1197
↓ 1 callers
Function
Hash32
xxHash variant based on documentation on https://github.com/Cyan4973/xxHash/blob/eec5700f4d62113b47ee548edbc4746f61ffb098/doc/xxhash_spec.md
Cpp/Source/enkiTS/TaskScheduler.cpp:533
↓ 1 callers
Function
HitSpheres
Cpp/Source/Maths.cpp:50
↓ 1 callers
Method
HitSpheres
(ref Ray r, float tMin, float tMax, ref Hit outHit)
Cs/Maths.cs:193
↓ 1 callers
Method
HitSpheres
(ref Ray r, float tMin, float tMax, ref Hit outHit)
Unity/Assets/Maths.cs:165
↓ 1 callers
Function
InitD3DDevice
Cpp/Windows/TestWin.cpp:440
↓ 1 callers
Function
InitInstance
Cpp/Windows/TestWin.cpp:231
↓ 1 callers
Function
InitializeTest
Cpp/Source/Test.cpp:240
↓ 1 callers
Method
IsPipeEmpty
IsPipeEmpty() is a utility function, not intended for general use Should only be used very prudently.
Cpp/Source/enkiTS/LockLessMultiReadPipe.h:59
↓ 1 callers
Function
MyRegisterClass
Cpp/Windows/TestWin.cpp:215
↓ 1 callers
Method
OnDependenciesComplete
Cpp/Source/enkiTS/TaskScheduler.h:496
↓ 1 callers
Method
PointAt
(float t)
Cs/Maths.cs:137
↓ 1 callers
Method
PointAt
(float t)
Unity/Assets/Maths.cs:90
↓ 1 callers
Function
RandomInUnitDisk
Cpp/Source/Maths.cpp:20
↓ 1 callers
Method
RandomInUnitDisk
(ref uint state)
Cs/Maths.cs:93
↓ 1 callers
Method
RandomInUnitDisk
(ref uint state)
Unity/Assets/Maths.cs:47
↓ 1 callers
Function
RandomUnitVector
Cpp/Source/Maths.cpp:39
↓ 1 callers
Method
RandomUnitVector
(ref uint state)
Cs/Maths.cs:113
↓ 1 callers
Method
RandomUnitVector
(ref uint state)
Unity/Assets/Maths.cs:67
↓ 1 callers
Method
ReaderReadBack
Remove - only thread safe for owner
Cpp/Source/enkiTS/LockLessMultiReadPipe.h:253
next →
1–100 of 334, ranked by callers