载入中...
搜索中...
未找到
eve::procgen::ProcgenGenerationJob类 参考

Copyable generation input issued by one RuntimeGeneration scheduler. 更多...

#include <RuntimeGeneration.h>

Public 成员函数

int getLevel () const
 Return the hierarchical grid level captured at issue time.
 
int getX () const
 Return the cell X coordinate captured at issue time.
 
int getZ () const
 Return the cell Z coordinate captured at issue time.
 
uint32_t getSeed () const
 Return the deterministic seed derived from world seed, level and coordinates.
 
uint64_t getTicket () const
 Return the ticket; valid only together with this job's private scheduler identity.
 
float getMinX () const
 Return the captured lower world-space X bound.
 
float getMinZ () const
 Return the captured lower world-space Z bound.
 
float getMaxX () const
 Return the captured upper world-space X bound.
 
float getMaxZ () const
 Return the captured upper world-space Z bound.
 

友元

class RuntimeGeneration
 

详细描述

Copyable generation input issued by one RuntimeGeneration scheduler.

Workers own copies of this value and never access scheduler state. The ticket is validated only when a completion returns to the scheduler-owning thread.

在文件 RuntimeGeneration.h 第 55 行定义.

成员函数说明

◆ getLevel()

int eve::procgen::ProcgenGenerationJob::getLevel ( ) const

Return the hierarchical grid level captured at issue time.

在文件 RuntimeGeneration.cpp 第 44 行定义.

被这些函数引用 eve::procgen::exposeRuntimeGeneration().

◆ getMaxX()

float eve::procgen::ProcgenGenerationJob::getMaxX ( ) const

Return the captured upper world-space X bound.

在文件 RuntimeGeneration.cpp 第 51 行定义.

被这些函数引用 eve::procgen::exposeRuntimeGeneration().

◆ getMaxZ()

float eve::procgen::ProcgenGenerationJob::getMaxZ ( ) const

Return the captured upper world-space Z bound.

在文件 RuntimeGeneration.cpp 第 52 行定义.

被这些函数引用 eve::procgen::exposeRuntimeGeneration().

◆ getMinX()

float eve::procgen::ProcgenGenerationJob::getMinX ( ) const

Return the captured lower world-space X bound.

在文件 RuntimeGeneration.cpp 第 49 行定义.

被这些函数引用 eve::procgen::exposeRuntimeGeneration().

◆ getMinZ()

float eve::procgen::ProcgenGenerationJob::getMinZ ( ) const

Return the captured lower world-space Z bound.

在文件 RuntimeGeneration.cpp 第 50 行定义.

被这些函数引用 eve::procgen::exposeRuntimeGeneration().

◆ getSeed()

uint32_t eve::procgen::ProcgenGenerationJob::getSeed ( ) const

Return the deterministic seed derived from world seed, level and coordinates.

在文件 RuntimeGeneration.cpp 第 47 行定义.

被这些函数引用 eve::procgen::exposeRuntimeGeneration().

◆ getTicket()

uint64_t eve::procgen::ProcgenGenerationJob::getTicket ( ) const

Return the ticket; valid only together with this job's private scheduler identity.

在文件 RuntimeGeneration.cpp 第 48 行定义.

被这些函数引用 eve::procgen::exposeRuntimeGeneration().

◆ getX()

int eve::procgen::ProcgenGenerationJob::getX ( ) const

Return the cell X coordinate captured at issue time.

在文件 RuntimeGeneration.cpp 第 45 行定义.

被这些函数引用 eve::procgen::exposeRuntimeGeneration().

◆ getZ()

int eve::procgen::ProcgenGenerationJob::getZ ( ) const

Return the cell Z coordinate captured at issue time.

在文件 RuntimeGeneration.cpp 第 46 行定义.

被这些函数引用 eve::procgen::exposeRuntimeGeneration().

友元及相关函数文档

◆ RuntimeGeneration

friend class RuntimeGeneration
friend

在文件 RuntimeGeneration.h 第 77 行定义.


该类的文档由以下文件生成: