Shkyera Engine
Easy to use, game engine for Python
Loading...
Searching...
No Matches
shkyera::JobSystem::Job Struct Reference

Public Member Functions

 Job ()=default
 
 Job (Job &&) noexcept=default
 
Joboperator= (Job &&) noexcept=default
 
 Job (const Job &)=delete
 
Joboperator= (const Job &)=delete
 

Public Attributes

bool mainThread {false}
 
JobStatus status {JobStatus::PENDING}
 
std::vector< JobHandledependsOn {}
 
JobExecutor function {}
 
TypeSet readResources {}
 
TypeSet writeResources {}
 

Constructor & Destructor Documentation

◆ Job() [1/3]

shkyera::JobSystem::Job::Job ( )
default

◆ Job() [2/3]

shkyera::JobSystem::Job::Job ( Job &&  )
defaultnoexcept

◆ Job() [3/3]

shkyera::JobSystem::Job::Job ( const Job )
delete

Member Function Documentation

◆ operator=() [1/2]

Job & shkyera::JobSystem::Job::operator= ( const Job )
delete

◆ operator=() [2/2]

Job & shkyera::JobSystem::Job::operator= ( Job &&  )
defaultnoexcept

Member Data Documentation

◆ dependsOn

std::vector<JobHandle> shkyera::JobSystem::Job::dependsOn {}

◆ function

JobExecutor shkyera::JobSystem::Job::function {}

◆ mainThread

bool shkyera::JobSystem::Job::mainThread {false}

◆ readResources

TypeSet shkyera::JobSystem::Job::readResources {}

◆ status

JobStatus shkyera::JobSystem::Job::status {JobStatus::PENDING}

◆ writeResources

TypeSet shkyera::JobSystem::Job::writeResources {}

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