nvpro-samples / vk_raytracing_tutorial_KHR

Ray tracing examples and tutorials using VK_KHR_ray_tracing
Apache License 2.0
1.34k stars 142 forks source link

What does Nb mean? #53

Closed FuXiii closed 1 year ago

FuXiii commented 1 year ago

When I read is tutorial some code, such like:

uint32_t maxPrimitiveCount = model.nbIndices / 3;
triangles.maxVertex = model.nbVertices;
uint32_t nbCompactions{0};   // Nb of BLAS requesting compaction

The nb in code nbIndices, nbVertices and nbCompactions.

What does nb mean?

mklefrancois commented 1 year ago

Nb is an abbreviation for number. In this case, it is the number of vertices, of indices, …

FuXiii commented 1 year ago

Thanks