NoJobEngine 2.0.7
Loading...
Searching...
No Matches
NoJob Namespace Reference

Namespaces

namespace  BroadPhaseLayers
namespace  BTPathsDetail
namespace  DefaultSceneShaders
namespace  EntityLayers
namespace  Layers
namespace  Neural
namespace  NeuralAgent

Classes

class  AnimationAsset
struct  AnimationChannel
struct  AnimationClip
struct  AnimationQuatKey
struct  AnimationVecKey
struct  AnimatorComponent
class  AssetManager
class  AssetRegistry
class  AudioEngine
struct  AudioListenerComponent
struct  AudioSourceComponent
struct  BoxColliderComponent
class  BTActionNode
class  BTAsset
class  BTAssetAgent
struct  BTAssetNode
class  BTBlackboard
class  BTConditionNode
class  BTContext
struct  BTDebugSnapshot
class  BTDecorator
class  BTExampleMover
class  BTInstance
class  BTNativeRegistry
class  BTNode
 Base class for behavior tree nodes with stable node identifiers. More...
struct  BTNodeRuntimeState
struct  BTNodeTrace
class  BTParallel
class  BTScriptController
class  BTSelector
class  BTSequence
class  BTService
class  BTTestNode
class  BTTree
struct  BufferElement
class  BufferLayout
struct  BuildSettings
struct  CameraComponent
struct  CapsuleColliderComponent
struct  DirectionalLightComponent
class  EditorCamera
class  EditorLayer
class  Entity
class  Framebuffer
struct  FramebufferSpecification
class  GenericNeuralAgent
struct  IDComponent
class  IndexBuffer
class  ISpatialQuery
class  JoltSpatialQuery
struct  LayerComponent
class  Log
class  Material
class  MaterialSerializer
class  Mesh
struct  MeshComponent
struct  MeshRendererComponent
struct  MeshVertex
struct  NativeScriptComponent
class  NavAgent
struct  NavAgentComponent
struct  NavEdge
class  NavigationSystem
class  NavMesh
class  NavMeshDebugRenderer
class  NavMeshFunnel
struct  NavMeshGenerationSettings
class  NavMeshGenerator
class  NavMeshGeometryExtractor
class  NavMeshPathfinder
struct  NavMeshSourceGeometry
class  NavMeshVoxelizer
struct  NavPath
struct  NavPointPath
struct  NavPolygon
struct  NavVertex
class  NeuralEditorPanel
class  NeuralTrainingAgent
class  OpenGLContext
class  OpenGLFramebuffer
class  OpenGLIndexBuffer
class  OpenGLRendererAPI
class  OpenGLShader
class  OpenGLTexture2D
class  OpenGLVertexArray
class  OpenGLVertexBuffer
class  Oscillator
struct  ParticleSystemComponent
struct  PerceptionComponent
class  PerceptionSensor
struct  PerceptionSettings
struct  PhysicsMaterial
class  PhysicsSystem
struct  PointLightComponent
class  PongBallDemo
struct  PrefabInstanceComponent
class  PrefabSerializer
class  Project
class  ProjectAssetOperations
struct  ProjectConfig
class  ProjectPanel
class  ProjectScriptBuildSystem
 Manages asynchronous compilation and reload signaling for project scripts. More...
class  ProjectScriptManager
struct  RaycastHit
struct  RelationshipComponent
class  RenderCommand
class  Renderer
class  RendererAPI
struct  RendererStatistics
struct  RigidbodyComponent
class  Rotator
class  Scene
class  SceneFileDialog
class  SceneRenderer
class  SceneSerializer
class  ScriptableEntity
 Base class for native gameplay scripts instantiated while a scene runs. More...
struct  ScriptDefinition
struct  ScriptFieldDefinition
struct  ScriptFieldValue
class  ScriptRegistry
class  Shader
struct  SkeletonBone
struct  SphereColliderComponent
struct  SpotLightComponent
class  StandaloneBuilder
struct  Submesh
struct  TagComponent
class  Texture2D
struct  TransformComponent
class  TriggerContactListener
struct  TriggerEvent
class  VertexArray
class  VertexBuffer
class  VisualStudioIntegration
class  Window
struct  WindowProps

Typedefs

using BTNodeID = std::uint64_t
using NavVertexID = uint32_t
using NavPolygonID = uint32_t
using AssetHandle = std::uint64_t
using LayerMask = std::uint32_t
using Script = ScriptableEntity

Enumerations

enum class  BTStatus { Success , Failure , Running }
 Result of a behavior tree node tick. More...
enum class  AssetType : std::uint8_t {
  Unknown = 0 , Texture2D , Mesh , Material ,
  Scene , Prefab , Script , Audio
}
enum class  ShaderDataType {
  None = 0 , Float , Float2 , Float3 ,
  Float4
}
enum class  MaterialSurfaceMode { Opaque = 0 , AlphaClip = 1 , Transparent = 2 }
enum class  GraphicsAPI { None = 0 , OpenGL , Vulkan }
enum class  CameraProjectionType { Perspective = 0 , Orthographic }
enum class  ParticleShape : std::uint8_t { Point = 0 , Sphere = 1 , Cone = 2 }
enum class  ParticleBlendMode : std::uint8_t { Alpha = 0 , Additive = 1 }
enum class  RigidbodyType { Static = 0 , Dynamic , Kinematic }
enum class  ScriptFieldType {
  Float = 0 , Int , Bool , Vec3 ,
  String
}

Functions

std::filesystem::path BTAssetDirectory ()
bool IsValidBTAssetName (const std::string &name)
std::vector< std::string > ListBTAssetNames ()
std::filesystem::path BTAssetPath (const std::string &name)
std::shared_ptr< BTNativeRegistry > CreateBTGameplayRegistry ()
void RegisterBTAssetAgent ()
ScriptableEntity * BTGetScript (BTContext &context) noexcept
template<class T>
void BTRegisterScriptAction (BTNativeRegistry &registry, std::string actionName, std::string scriptName, BTStatus(T::*method)(BTContext &, float))
template<class T>
void BTRegisterScriptCondition (BTNativeRegistry &registry, std::string conditionName, std::string scriptName, bool(T::*method)(BTContext &))
void RegisterBTExampleMover ()
std::filesystem::path NeuralAssetDirectory ()
bool IsValidNeuralAssetName (const std::string &name)
std::filesystem::path NeuralAssetPath (const std::string &name)
std::vector< std::string > ListNeuralAssetNames ()
static glm::mat4 ToGlm (const aiMatrix4x4 &a)
const char * AssetTypeName (AssetType type)
std::uint32_t ShaderDataTypeSize (ShaderDataType type)
void RegisterBuiltinScripts ()
ScriptFieldValue MakeScriptFieldValue (float value)
ScriptFieldValue MakeScriptFieldValue (int value)
ScriptFieldValue MakeScriptFieldValue (bool value)
ScriptFieldValue MakeScriptFieldValue (const glm::vec3 &value)
ScriptFieldValue MakeScriptFieldValue (const std::string &value)
template<typename T>
T ReadScriptFieldValue (const ScriptFieldValue &value)
template<>
float ReadScriptFieldValue< float > (const ScriptFieldValue &value)
template<>
int ReadScriptFieldValue< int > (const ScriptFieldValue &value)
template<>
bool ReadScriptFieldValue< bool > (const ScriptFieldValue &value)
template<>
std::string ReadScriptFieldValue< std::string > (const ScriptFieldValue &value)
template<>
glm::vec3 ReadScriptFieldValue< glm::vec3 > (const ScriptFieldValue &value)
template<typename TScript, typename T>
ScriptFieldDefinition MakeMemberFieldDefinition (const char *name, T TScript::*member, T defaultValue)
template<typename TScript>
std::vector< BTCallbackMetadata > DescribeScriptBTCallbacks ()
static void DrawBTAssetEditorWindow (bool *opened)

Variables

constexpr NavVertexID InvalidNavVertexID
constexpr NavPolygonID InvalidNavPolygonID
constexpr AssetHandle InvalidAssetHandle = 0
static bool s_BuildDefaultDockLayout = false
static bool s_ShowBTAssetEditor = false
static NeuralEditorPanel s_NeuralEditorPanel

Typedef Documentation

◆ AssetHandle

using NoJob::AssetHandle = std::uint64_t

Definition at line 13 of file Asset.h.

◆ BTNodeID

using NoJob::BTNodeID = std::uint64_t

Definition at line 19 of file BTContext.h.

◆ LayerMask

using NoJob::LayerMask = std::uint32_t

Definition at line 37 of file Components.h.

◆ NavPolygonID

using NoJob::NavPolygonID = uint32_t

Definition at line 18 of file NavMesh.h.

◆ NavVertexID

using NoJob::NavVertexID = uint32_t

Definition at line 17 of file NavMesh.h.

◆ Script

Definition at line 127 of file ScriptableEntity.h.

Enumeration Type Documentation

◆ AssetType

enum class NoJob::AssetType : std::uint8_t
strong
Enumerator
Unknown 
Texture2D 
Mesh 
Material 
Scene 
Prefab 
Script 
Audio 

Definition at line 16 of file Asset.h.

◆ BTStatus

enum class NoJob::BTStatus
strong

Result of a behavior tree node tick.

Enumerator
Success 
Failure 
Running 

Definition at line 13 of file BTNode.h.

◆ CameraProjectionType

enum class NoJob::CameraProjectionType
strong
Enumerator
Perspective 
Orthographic 

Definition at line 105 of file Components.h.

◆ GraphicsAPI

enum class NoJob::GraphicsAPI
strong
Enumerator
None 
OpenGL 
Vulkan 

Definition at line 13 of file RendererAPI.h.

◆ MaterialSurfaceMode

enum class NoJob::MaterialSurfaceMode
strong
Enumerator
Opaque 
AlphaClip 
Transparent 

Definition at line 15 of file Material.h.

◆ ParticleBlendMode

enum class NoJob::ParticleBlendMode : std::uint8_t
strong
Enumerator
Alpha 
Additive 

Definition at line 164 of file Components.h.

◆ ParticleShape

enum class NoJob::ParticleShape : std::uint8_t
strong
Enumerator
Point 
Sphere 
Cone 

Definition at line 163 of file Components.h.

◆ RigidbodyType

enum class NoJob::RigidbodyType
strong
Enumerator
Static 
Dynamic 
Kinematic 

Definition at line 222 of file Components.h.

◆ ScriptFieldType

enum class NoJob::ScriptFieldType
strong
Enumerator
Float 
Int 
Bool 
Vec3 
String 

Definition at line 297 of file Components.h.

◆ ShaderDataType

enum class NoJob::ShaderDataType
strong
Enumerator
None 
Float 
Float2 
Float3 
Float4 

Definition at line 15 of file BufferLayout.h.

Function Documentation

◆ AssetTypeName()

const char * NoJob::AssetTypeName ( AssetType type)
inline

Definition at line 31 of file Asset.h.

References AssetTypeName(), Audio, Material, Mesh, Prefab, Scene, Script, and Texture2D.

Referenced by AssetTypeName().

◆ BTAssetDirectory()

std::filesystem::path NoJob::BTAssetDirectory ( )
inline

◆ BTAssetPath()

std::filesystem::path NoJob::BTAssetPath ( const std::string & name)
inline

◆ BTGetScript()

ScriptableEntity * NoJob::BTGetScript ( BTContext & context)
inlinenoexcept

◆ BTRegisterScriptAction()

template<class T>
void NoJob::BTRegisterScriptAction ( BTNativeRegistry & registry,
std::string actionName,
std::string scriptName,
BTStatus(T::* method )(BTContext &, float) )

◆ BTRegisterScriptCondition()

template<class T>
void NoJob::BTRegisterScriptCondition ( BTNativeRegistry & registry,
std::string conditionName,
std::string scriptName,
bool(T::* method )(BTContext &) )

◆ CreateBTGameplayRegistry()

◆ DescribeScriptBTCallbacks()

template<typename TScript>
std::vector< BTCallbackMetadata > NoJob::DescribeScriptBTCallbacks ( )

Definition at line 76 of file ScriptRegistry.h.

References DescribeScriptBTCallbacks().

Referenced by DescribeScriptBTCallbacks().

◆ DrawBTAssetEditorWindow()

◆ IsValidBTAssetName()

bool NoJob::IsValidBTAssetName ( const std::string & name)
inline

Definition at line 62 of file BTAssetPaths.h.

References IsValidBTAssetName().

Referenced by BTAssetPath(), IsValidBTAssetName(), and IsValidNeuralAssetName().

◆ IsValidNeuralAssetName()

bool NoJob::IsValidNeuralAssetName ( const std::string & name)
inline

Definition at line 30 of file NeuralAssetPaths.h.

References IsValidBTAssetName(), and IsValidNeuralAssetName().

Referenced by IsValidNeuralAssetName(), and NeuralAssetPath().

◆ ListBTAssetNames()

std::vector< std::string > NoJob::ListBTAssetNames ( )
inline

◆ ListNeuralAssetNames()

std::vector< std::string > NoJob::ListNeuralAssetNames ( )
inline

◆ MakeMemberFieldDefinition()

template<typename TScript, typename T>
ScriptFieldDefinition NoJob::MakeMemberFieldDefinition ( const char * name,
T TScript::* member,
T defaultValue )

◆ MakeScriptFieldValue() [1/5]

ScriptFieldValue NoJob::MakeScriptFieldValue ( bool value)
inline

Definition at line 30 of file ScriptRegistry.h.

References NoJob::ScriptFieldValue::MakeBool(), and MakeScriptFieldValue().

◆ MakeScriptFieldValue() [2/5]

ScriptFieldValue NoJob::MakeScriptFieldValue ( const glm::vec3 & value)
inline

Definition at line 32 of file ScriptRegistry.h.

References MakeScriptFieldValue(), and NoJob::ScriptFieldValue::MakeVec3().

◆ MakeScriptFieldValue() [3/5]

ScriptFieldValue NoJob::MakeScriptFieldValue ( const std::string & value)
inline

◆ MakeScriptFieldValue() [4/5]

◆ MakeScriptFieldValue() [5/5]

ScriptFieldValue NoJob::MakeScriptFieldValue ( int value)
inline

Definition at line 28 of file ScriptRegistry.h.

References NoJob::ScriptFieldValue::MakeInt(), and MakeScriptFieldValue().

◆ NeuralAssetDirectory()

std::filesystem::path NoJob::NeuralAssetDirectory ( )
inline

◆ NeuralAssetPath()

◆ ReadScriptFieldValue()

template<typename T>
T NoJob::ReadScriptFieldValue ( const ScriptFieldValue & value)
inline

◆ ReadScriptFieldValue< bool >()

template<>
bool NoJob::ReadScriptFieldValue< bool > ( const ScriptFieldValue & value)
inline

Definition at line 41 of file ScriptRegistry.h.

References NoJob::ScriptFieldValue::Bool, and ReadScriptFieldValue().

◆ ReadScriptFieldValue< float >()

template<>
float NoJob::ReadScriptFieldValue< float > ( const ScriptFieldValue & value)
inline

Definition at line 39 of file ScriptRegistry.h.

References NoJob::ScriptFieldValue::Float, and ReadScriptFieldValue().

◆ ReadScriptFieldValue< glm::vec3 >()

template<>
glm::vec3 NoJob::ReadScriptFieldValue< glm::vec3 > ( const ScriptFieldValue & value)
inline

Definition at line 43 of file ScriptRegistry.h.

References NoJob::ScriptFieldValue::Vec3.

◆ ReadScriptFieldValue< int >()

template<>
int NoJob::ReadScriptFieldValue< int > ( const ScriptFieldValue & value)
inline

Definition at line 40 of file ScriptRegistry.h.

References NoJob::ScriptFieldValue::Int, and ReadScriptFieldValue().

◆ ReadScriptFieldValue< std::string >()

template<>
std::string NoJob::ReadScriptFieldValue< std::string > ( const ScriptFieldValue & value)
inline

Definition at line 42 of file ScriptRegistry.h.

References NoJob::ScriptFieldValue::String.

◆ RegisterBTAssetAgent()

◆ RegisterBTExampleMover()

void NoJob::RegisterBTExampleMover ( )
inline

◆ RegisterBuiltinScripts()

◆ ShaderDataTypeSize()

std::uint32_t NoJob::ShaderDataTypeSize ( ShaderDataType type)
inline

Definition at line 24 of file BufferLayout.h.

References Float, Float2, Float3, Float4, and ShaderDataTypeSize().

Referenced by NoJob::BufferElement::BufferElement(), and ShaderDataTypeSize().

◆ ToGlm()

glm::mat4 NoJob::ToGlm ( const aiMatrix4x4 & a)
static

Definition at line 14 of file Animation.cpp.

References ToGlm().

Referenced by NoJob::AnimationAsset::Load(), and ToGlm().

Variable Documentation

◆ InvalidAssetHandle

AssetHandle NoJob::InvalidAssetHandle = 0
constexpr

Definition at line 14 of file Asset.h.

Referenced by NoJob::AssetRegistry::FindHandle(), and NoJob::AssetRegistry::Register().

◆ InvalidNavPolygonID

NavPolygonID NoJob::InvalidNavPolygonID
constexpr

◆ InvalidNavVertexID

NavVertexID NoJob::InvalidNavVertexID
constexpr
Initial value:
=
std::numeric_limits<NavVertexID>::max()

Definition at line 20 of file NavMesh.h.

Referenced by NoJob::NavMesh::AddVertex(), and NoJob::NavMeshGenerator::Generate().

◆ s_BuildDefaultDockLayout

bool NoJob::s_BuildDefaultDockLayout = false
static

Definition at line 73 of file EditorLayer.cpp.

Referenced by NoJob::EditorLayer::BeginFrame(), and NoJob::EditorLayer::Init().

◆ s_NeuralEditorPanel

NeuralEditorPanel NoJob::s_NeuralEditorPanel
static

Definition at line 1292 of file EditorLayer.cpp.

Referenced by NoJob::EditorLayer::Draw().

◆ s_ShowBTAssetEditor

bool NoJob::s_ShowBTAssetEditor = false
static

Definition at line 74 of file EditorLayer.cpp.

Referenced by NoJob::EditorLayer::Draw().