Finality Engine
Loading...
Searching...
No Matches
FINALITY Namespace Reference

Namespaces

namespace  Helpers
namespace  Key
namespace  ModelImportSettings
namespace  ModelPipeline
namespace  MouseButton
namespace  Primitives
namespace  VKDebug

Classes

class  Application
 Coordinates the engine application lifetime. More...
class  Asset
class  AssetChangeMonitor
class  AssetInspector
class  AssetManager
class  AssetPicker
class  AssetPreview
struct  AssetRecord
 Registry entry associating a stable asset ID with a project-relative path, dependencies and import status. More...
class  AssetRegistry
 Tracks project assets, metadata and reference resolution. More...
class  BuildPanel
class  Camera
 Stores camera projection and view configuration. More...
struct  CameraComponent
class  CameraMovementScript
class  ConsoleSink
class  EditorApp
class  EditorCameraScene
class  EditorLayer
class  EditorPreferences
class  EditorSession
class  EditorTheme
class  EmptyScene
class  Entity
 Provides a scene-bound handle for component and hierarchy operations. More...
class  ExternalTools
class  FileDialogs
 Provides native file, save and folder selection. More...
class  Framebuffer
struct  FramebufferSpecification
struct  FrameInstanceBuffer
class  Frustum
class  Game
struct  GameViewSettings
class  GLFWWindowImpl
struct  GlobalUniformBufferObject
class  HistoryCheckpoint
class  ImGUIPanel
class  ImGUIRenderer
class  ImGuizmoBridge
class  ImportProgress
class  Input
struct  InstancePayload
 Per-instance transform and fixed-size custom data uploaded to the graphics backend. More...
class  KeyPrintScript
struct  LavaMaterialLayout
class  LavaScript
struct  LODGroupComponent
 Stores authored level-of-detail thresholds and renderer membership. More...
struct  LODLevel
 One screen-relative LOD threshold and its renderer entity UUIDs. More...
struct  LogEntry
class  Logger
class  Material
class  MaterialAsset
struct  MaterialCompLayout
struct  MaterialComponent
struct  MaterialDefinition
struct  MaterialParameterDefinition
class  MaterialSerializer
class  Mesh
struct  MeshComponent
struct  MeshGeometry
class  MeshImporter
struct  MeshPushConstants
class  ModelAsset
 Loads imported model data and instantiates preserved model hierarchies. More...
struct  ModelData
 Imported nodes, submeshes, materials, dependencies, diagnostics and model-space bounds. More...
struct  ModelImportOptions
class  ModelImportPanel
struct  ModelMaterial
 Imported material appearance, texture reference and extracted asset mapping. More...
struct  ModelMesh
 One imported submesh, with geometry and an index into ModelData::Materials. More...
struct  ModelNode
 One hierarchy node with a parent index, local transform and attached mesh indices. More...
class  Mouse
struct  NativeWindowHandle
struct  PhysicalDevice
class  Pipeline
struct  PipelineConfig
class  Process
 Runs external tools with captured diagnostics. More...
struct  ProcessResult
 Exit status and captured diagnostic output from an external tool invocation. More...
class  Project
 Owns project identity, paths and saved configuration. More...
class  ProjectScripts
struct  ProjectSettings
struct  RelationshipComponent
 Intrusive hierarchy links using EnTT handles; entt::null denotes a missing link. More...
class  RenderCommand
class  RenderDevice
 Defines the graphics backend boundary and render submission contract. More...
class  Renderer
 Collects scene render packets through the engine rendering facade. More...
struct  RenderLODGroup
struct  RenderPacket
 Scene draw submission retaining geometry, material and visibility inputs until backend recording. More...
struct  RenderStatistics
 Reports visibility, submission and timing measurements. More...
struct  RenderTarget
struct  RenderView
 Describes the camera matrices and occlusion policy for one render view. More...
class  Scene
 Owns entities and dispatches script simulation. More...
class  SceneManager
struct  SceneRay
class  SceneSerializer
class  ScriptableComponent
struct  ScriptAssetReference
 Typed Inspector asset reference stored as a registry reference or path. More...
struct  ScriptDefinition
 Registered script factory, source location and editable property descriptors with a module lease. More...
struct  ScriptField
struct  ScriptFieldAccess
class  ScriptModule
 Loads and replaces native script libraries with ABI validation. More...
struct  ScriptProperty
 Named property accessor pair with member identity used by the Inspector and persistence. More...
class  ScriptReflection
struct  ScriptRegistrationContext
 Module registration callback and caller-owned context passed across the native library boundary. More...
class  ScriptRegistry
 Registers script factories and editable property descriptors. More...
struct  ScriptStorage
 Attached native script instances and their authored property values for one entity. More...
class  Shader
class  ShaderCompiler
class  ShaderReflection
struct  ShaderUniform
struct  ShortcutDefinition
class  SwapChain
struct  TagComponent
class  TestScript
class  Texture
struct  TextureUploadBatchContext
struct  ThemeChoice
struct  TransformComponent
struct  UniformMember
class  UUID
struct  Vertex
struct  ViewVisibilityState
class  VKDeletionQueue
class  VKDescriptorAllocator
class  VKFramebuffer
class  VKGeometryBuffer
class  VKGeometryUploadScope
class  VKImGUIRenderer
class  VKMesh
class  VkPhysicalDevices
class  VKPipeline
class  VKQueue
class  VKRenderDevice
struct  VKRenderTarget
class  VKShader
class  VKSwapChain
class  VKTexture
class  VKTextureUploads
class  VKUniformBuffer
struct  VKViewportPass
class  Window
struct  WindowSpec
class  WorldTransforms

Typedefs

using KeyCode = unsigned int
using MouseCode = uint8_t
using PanelColor = int
using PanelFlags = int
using PanelCondition = int
using PanelPopupFlags = int
using ScriptValue = std::variant<bool, int, float, std::string, glm::vec3, ScriptAssetReference>

Enumerations

enum class  AssetType : uint16_t {
  None = 0 , Texture , Shader , Mesh ,
  Pipeline , Material
}
enum class  ProjectAssetType {
  Unknown , Texture , Model , Material ,
  Shader , Scene , Script , Prefab
}
 Asset categories used by registry discovery and editor inspection. More...
enum class  MaterialParameterType { Float , Vec4 , Mat4 }
enum class  TextureColorSpace { Automatic , SRGB , Linear }
enum class  CullMode { None , Back , Front }
enum  RendererAPI { VULKAN , NONE }
enum  PanelColor_ {
  PanelColor_Text = 0 , PanelColor_TextDisabled = 1 , PanelColor_WindowBg = 2 , PanelColor_ChildBg = 3 ,
  PanelColor_PopupBg = 4 , PanelColor_Border = 5 , PanelColor_BorderShadow = 6 , PanelColor_FrameBg = 7 ,
  PanelColor_FrameBgHovered = 8 , PanelColor_FrameBgActive = 9 , PanelColor_TitleBg = 10 , PanelColor_TitleBgActive = 11 ,
  PanelColor_TitleBgCollapsed = 12 , PanelColor_MenuBarBg = 13 , PanelColor_ScrollbarBg = 14 , PanelColor_ScrollbarGrab = 15 ,
  PanelColor_ScrollbarGrabHovered = 16 , PanelColor_ScrollbarGrabActive = 17 , PanelColor_CheckMark = 18 , PanelColor_SliderGrab = 19 ,
  PanelColor_SliderGrabActive = 20 , PanelColor_Button = 21 , PanelColor_ButtonHovered = 22 , PanelColor_ButtonActive = 23 ,
  PanelColor_Header = 24 , PanelColor_HeaderHovered = 25 , PanelColor_HeaderActive = 26 , PanelColor_Separator = 27 ,
  PanelColor_SeparatorHovered = 28 , PanelColor_SeparatorActive = 29 , PanelColor_ResizeGrip = 30 , PanelColor_ResizeGripHovered = 31 ,
  PanelColor_ResizeGripActive = 32 , PanelColor_InputTextCursor = 33 , PanelColor_TabHovered = 34 , PanelColor_Tab = 35 ,
  PanelColor_TabSelected = 36 , PanelColor_TabSelectedOverline = 37 , PanelColor_TabDimmed = 38 , PanelColor_TabDimmedSelected = 39 ,
  PanelColor_TabDimmedSelectedOverline = 40 , PanelColor_DockingPreview = 41 , PanelColor_DockingEmptyBg = 42 , PanelColor_PlotLines = 43 ,
  PanelColor_PlotLinesHovered = 44 , PanelColor_PlotHistogram = 45 , PanelColor_PlotHistogramHovered = 46 , PanelColor_TableHeaderBg = 47 ,
  PanelColor_TableBorderStrong = 48 , PanelColor_TableBorderLight = 49 , PanelColor_TableRowBg = 50 , PanelColor_TableRowBgAlt = 51 ,
  PanelColor_TextLink = 52 , PanelColor_TextSelectedBg = 53 , PanelColor_DragDropTarget = 54 , PanelColor_NavCursor = 55 ,
  PanelColor_NavWindowingHighlight = 56 , PanelColor_NavWindowingDimBg = 57 , PanelColor_ModalWindowDimBg = 58
}
enum  PanelFlags_ {
  PanelFlags_None = 0 , PanelFlags_NoTitleBar = 1 << 0 , PanelFlags_NoResize = 1 << 1 , PanelFlags_NoMove = 1 << 2 ,
  PanelFlags_NoScrollbar = 1 << 3 , PanelFlags_HorizontalScrollbar = 1 << 5 , PanelFlags_AlwaysAutoResize = 1 << 6 , PanelFlags_NoBackground = 1 << 7 ,
  PanelFlags_NoSavedSettings = 1 << 8 , PanelFlags_NoFocusOnAppearing = 1 << 11 , PanelFlags_NoNav = 1 << 14 , PanelFlags_NoDecoration = PanelFlags_NoTitleBar | PanelFlags_NoResize | PanelFlags_NoScrollbar
}
enum  PanelCondition_ { PanelCondition_Always = 1 << 0 , PanelCondition_Once = 1 << 1 , PanelCondition_FirstUseEver = 1 << 2 , PanelCondition_Appearing = 1 << 3 }
enum  PanelPopupFlags_ {
  PanelPopupFlags_None = 0 , PanelPopupFlags_MouseButtonLeft = 0 , PanelPopupFlags_MouseButtonRight = 1 , PanelPopupFlags_MouseButtonMiddle = 2 ,
  PanelPopupFlags_MouseButtonMask_ = 0x1F , PanelPopupFlags_MouseButtonDefault_ = 1 , PanelPopupFlags_NoOpenOverExistingPopup = 1 << 5 , PanelPopupFlags_NoOpenOverItems = 1 << 6 ,
  PanelPopupFlags_AnyPopupId = 1 << 7 , PanelPopupFlags_AnyPopupLevel = 1 << 8 , PanelPopupFlags_AnyPopup = PanelPopupFlags_AnyPopupId | PanelPopupFlags_AnyPopupLevel
}
enum class  EditorAction {
  NewScene , OpenScene , Save , SaveAs ,
  Undo , Redo , Copy , Cut ,
  Paste , Duplicate , Delete , Rename ,
  Frame , Move , Rotate , Scale ,
  CreateEmpty , Play , Pause , Stop ,
  Search , OpenAsset , ParentFolder , Count
}
enum class  EditorState { Edit , Play , Paused }

Functions

TextureColorSpace ReadTextureColorSpace (const std::filesystem::path &texture)
bool SaveTextureColorSpace (const std::filesystem::path &texture, TextureColorSpace colorSpace, std::string &error)
void ImGuiImplGLFW (RendererAPI api, bool installCallbacks)
void ApplySoftwareOcclusion (std::vector< RenderPacket > &packets, const RenderView &view, RenderStatistics &statistics)
std::vector< RenderPacket > BuildViewQueue (const std::vector< RenderPacket > &candidates, const RenderView &view, RenderStatistics &stats, ViewVisibilityState *state=nullptr)
float ConservativeScale (const glm::mat4 &transform)
void NormalizeLODGroup (LODGroupComponent &group)
bool RecalculateLODBounds (Scene &scene, entt::entity entity)
constexpr uint64_t ScriptModuleABI ()
template<typename T, typename V>
auto MakeScriptField (const char *name, V T::*member)
VkFormat TextureColorFormat (VkFormat format, TextureColorSpace colorSpace)
VkFormat TextureFormat (gli::format format)
void GenerateTextureMipmaps (VkCommandBuffer commands, VkImage image, uint32_t width, uint32_t height, uint32_t levels)
bool EditText (const char *label, std::string &value)
bool MatchesSearch (const std::string &text, const std::string &query)
void DrawAssetPreview (const AssetRecord &asset, float size=48.0f)
void DrawAssetPreviewAt (const AssetRecord &asset, ImVec2 position, float size)
void DrawConsole (bool *open=nullptr)
void DrawEntityInspector (Scene *scene, entt::entity selected, AssetPicker &picker, ExternalTools &tools, bool *open=nullptr)
void DrawMaterialProperties (MaterialComponent &component, AssetPicker &picker, std::function< MaterialComponent *()> target)
void ClearInspectorClipboard ()
static void DrawVec3Control (FINALITY::ImGUIPanel &panel, std::string_view label, glm::vec3 &values, float resetValue=0.0f)
static void DrawFloatControl (FINALITY::ImGUIPanel &panel, std::string_view label, float &value, float minVal, float maxVal)
static void DrawComponentHeader (FINALITY::ImGUIPanel &panel, std::string_view title, bool canRemove, bool &shouldRemove, bool &shouldReset)
static void DrawInspectorPanel (const Scene *scene, const entt::entity &selectedEntityHandle)
void DrawLODGroupProperties (Scene &scene, entt::entity entity)
void DrawPerformancePanel (float fps, int offset, const float *history, float average, const RenderTarget *scene, const RenderTarget *game, bool *open=nullptr)
static void DrawSceneHierarchyPanel (Scene *scene, entt::entity &selectedEntityHandle)
std::string FormatViewportStatistics (const RenderTarget &target)
void DrawViewportStatsOverlay (const RenderTarget &target, const ImVec2 &minimum, const ImVec2 &maximum)
bool SavePrefab (Scene &source, entt::entity root, const std::filesystem::path &path)
Entity InstantiatePrefab (Scene &destination, const std::filesystem::path &path)
SceneRay ViewportRay (const Camera &camera, ImVec2 minimum, ImVec2 maximum, ImVec2 mouse)
glm::vec3 SceneDropPosition (const Camera &camera, ImVec2 minimum, ImVec2 maximum, ImVec2 mouse)
bool HierarchyBounds (const Scene &scene, entt::entity root, glm::vec3 &minimum, glm::vec3 &maximum)
bool OpenInRunningSolution (const std::filesystem::path &solution, const std::filesystem::path &source)

Variables

static glm::vec3 s_CopiedVector = glm::vec3(0.0f)

Typedef Documentation

◆ KeyCode

using FINALITY::KeyCode = unsigned int
Todo
TODO: Document KeyCode alias semantics, ownership and usage.

Definition at line 11 of file KeyCodes.h.

◆ MouseCode

using FINALITY::MouseCode = uint8_t
Todo
TODO: Document MouseCode alias semantics, ownership and usage.

Definition at line 13 of file Mouse.h.

◆ PanelColor

using FINALITY::PanelColor = int
Todo
TODO: Document PanelColor alias semantics, ownership and usage.

Definition at line 79 of file ImGUIPanel.h.

◆ PanelFlags

using FINALITY::PanelFlags = int
Todo
TODO: Document PanelFlags alias semantics, ownership and usage.

Definition at line 98 of file ImGUIPanel.h.

◆ PanelCondition

Todo
TODO: Document PanelCondition alias semantics, ownership and usage.

Definition at line 110 of file ImGUIPanel.h.

◆ PanelPopupFlags

Todo
TODO: Document PanelPopupFlags alias semantics, ownership and usage.

Definition at line 128 of file ImGUIPanel.h.

◆ ScriptValue

using FINALITY::ScriptValue = std::variant<bool, int, float, std::string, glm::vec3, ScriptAssetReference>
Todo
TODO: Document ScriptValue alias semantics, ownership and usage.

Definition at line 55 of file ScriptableComponent.h.

Enumeration Type Documentation

◆ AssetType

enum class FINALITY::AssetType : uint16_t
strong
Todo
TODO: Document AssetType enum semantics, ownership and usage.
Enumerator
None 
Texture 
Shader 
Mesh 
Pipeline 
Material 

Definition at line 14 of file Asset.h.

◆ ProjectAssetType

enum class FINALITY::ProjectAssetType
strong

Asset categories used by registry discovery and editor inspection.

Enumerator
Unknown 
Texture 
Model 
Material 
Shader 
Scene 
Script 
Prefab 

Definition at line 23 of file AssetRegistry.h.

◆ MaterialParameterType

Todo
TODO: Document MaterialParameterType enum semantics, ownership and usage.
Enumerator
Float 
Vec4 
Mat4 

Definition at line 25 of file MaterialAsset.h.

◆ TextureColorSpace

enum class FINALITY::TextureColorSpace
strong
Todo
TODO: Document TextureColorSpace enum semantics, ownership and usage.
Enumerator
Automatic 
SRGB 
Linear 

Definition at line 19 of file TextureImportSettings.h.

◆ CullMode

enum class FINALITY::CullMode
strong
Todo
TODO: Document CullMode enum semantics, ownership and usage.
Enumerator
None 
Back 
Front 

Definition at line 16 of file Pipeline.h.

◆ RendererAPI

Todo
TODO: Document RendererAPI enum semantics, ownership and usage.
Enumerator
VULKAN 
NONE 

Definition at line 12 of file RenderTypes.h.

◆ PanelColor_

Todo
TODO: Document PanelColor_ enum semantics, ownership and usage.
Enumerator
PanelColor_Text 
PanelColor_TextDisabled 
PanelColor_WindowBg 
PanelColor_ChildBg 
PanelColor_PopupBg 
PanelColor_Border 
PanelColor_BorderShadow 
PanelColor_FrameBg 
PanelColor_FrameBgHovered 
PanelColor_FrameBgActive 
PanelColor_TitleBg 
PanelColor_TitleBgActive 
PanelColor_TitleBgCollapsed 
PanelColor_MenuBarBg 
PanelColor_ScrollbarBg 
PanelColor_ScrollbarGrab 
PanelColor_ScrollbarGrabHovered 
PanelColor_ScrollbarGrabActive 
PanelColor_CheckMark 
PanelColor_SliderGrab 
PanelColor_SliderGrabActive 
PanelColor_Button 
PanelColor_ButtonHovered 
PanelColor_ButtonActive 
PanelColor_Header 
PanelColor_HeaderHovered 
PanelColor_HeaderActive 
PanelColor_Separator 
PanelColor_SeparatorHovered 
PanelColor_SeparatorActive 
PanelColor_ResizeGrip 
PanelColor_ResizeGripHovered 
PanelColor_ResizeGripActive 
PanelColor_InputTextCursor 
PanelColor_TabHovered 
PanelColor_Tab 
PanelColor_TabSelected 
PanelColor_TabSelectedOverline 
PanelColor_TabDimmed 
PanelColor_TabDimmedSelected 
PanelColor_TabDimmedSelectedOverline 
PanelColor_DockingPreview 
PanelColor_DockingEmptyBg 
PanelColor_PlotLines 
PanelColor_PlotLinesHovered 
PanelColor_PlotHistogram 
PanelColor_PlotHistogramHovered 
PanelColor_TableHeaderBg 
PanelColor_TableBorderStrong 
PanelColor_TableBorderLight 
PanelColor_TableRowBg 
PanelColor_TableRowBgAlt 
PanelColor_TextLink 
PanelColor_TextSelectedBg 
PanelColor_DragDropTarget 
PanelColor_NavCursor 
PanelColor_NavWindowingHighlight 
PanelColor_NavWindowingDimBg 
PanelColor_ModalWindowDimBg 

Definition at line 15 of file ImGUIPanel.h.

◆ PanelFlags_

Todo
TODO: Document PanelFlags_ enum semantics, ownership and usage.
Enumerator
PanelFlags_None 
PanelFlags_NoTitleBar 
PanelFlags_NoResize 
PanelFlags_NoMove 
PanelFlags_NoScrollbar 
PanelFlags_HorizontalScrollbar 
PanelFlags_AlwaysAutoResize 
PanelFlags_NoBackground 
PanelFlags_NoSavedSettings 
PanelFlags_NoFocusOnAppearing 
PanelFlags_NoNav 
PanelFlags_NoDecoration 

Definition at line 82 of file ImGUIPanel.h.

◆ PanelCondition_

Todo
TODO: Document PanelCondition_ enum semantics, ownership and usage.
Enumerator
PanelCondition_Always 
PanelCondition_Once 
PanelCondition_FirstUseEver 
PanelCondition_Appearing 

Definition at line 102 of file ImGUIPanel.h.

◆ PanelPopupFlags_

Todo
TODO: Document PanelPopupFlags_ enum semantics, ownership and usage.
Enumerator
PanelPopupFlags_None 
PanelPopupFlags_MouseButtonLeft 
PanelPopupFlags_MouseButtonRight 
PanelPopupFlags_MouseButtonMiddle 
PanelPopupFlags_MouseButtonMask_ 
PanelPopupFlags_MouseButtonDefault_ 
PanelPopupFlags_NoOpenOverExistingPopup 
PanelPopupFlags_NoOpenOverItems 
PanelPopupFlags_AnyPopupId 
PanelPopupFlags_AnyPopupLevel 
PanelPopupFlags_AnyPopup 

Definition at line 113 of file ImGUIPanel.h.

◆ EditorAction

enum class FINALITY::EditorAction
strong
Todo
TODO: Document EditorAction enum semantics, ownership and usage.
Enumerator
NewScene 
OpenScene 
Save 
SaveAs 
Undo 
Redo 
Copy 
Cut 
Paste 
Duplicate 
Delete 
Rename 
Frame 
Move 
Rotate 
Scale 
CreateEmpty 
Play 
Pause 
Stop 
Search 
OpenAsset 
ParentFolder 
Count 

Definition at line 15 of file EditorPreferences.h.

◆ EditorState

enum class FINALITY::EditorState
strong
Todo
TODO: Document EditorState enum semantics, ownership and usage.
Enumerator
Edit 
Play 
Paused 

Definition at line 17 of file EditorSession.h.

Function Documentation

◆ ReadTextureColorSpace()

TextureColorSpace FINALITY::ReadTextureColorSpace ( const std::filesystem::path & texture)

◆ SaveTextureColorSpace()

bool FINALITY::SaveTextureColorSpace ( const std::filesystem::path & texture,
TextureColorSpace colorSpace,
std::string & error )

◆ ImGuiImplGLFW()

void FINALITY::ImGuiImplGLFW ( RendererAPI api,
bool installCallbacks )
inline

Definition at line 23 of file ImGUIImpl.h.

◆ ApplySoftwareOcclusion()

void FINALITY::ApplySoftwareOcclusion ( std::vector< RenderPacket > & packets,
const RenderView & view,
RenderStatistics & statistics )

◆ BuildViewQueue()

std::vector< RenderPacket > FINALITY::BuildViewQueue ( const std::vector< RenderPacket > & candidates,
const RenderView & view,
RenderStatistics & stats,
ViewVisibilityState * state = nullptr )

◆ ConservativeScale()

float FINALITY::ConservativeScale ( const glm::mat4 & transform)
inline

Definition at line 13 of file VisibilityMath.h.

◆ NormalizeLODGroup()

void FINALITY::NormalizeLODGroup ( LODGroupComponent & group)

◆ RecalculateLODBounds()

bool FINALITY::RecalculateLODBounds ( Scene & scene,
entt::entity entity )

◆ ScriptModuleABI()

uint64_t FINALITY::ScriptModuleABI ( )
inlineconstexpr

Definition at line 19 of file ScriptModule.h.

◆ MakeScriptField()

template<typename T, typename V>
auto FINALITY::MakeScriptField ( const char * name,
V T::* member )

Definition at line 30 of file ScriptReflection.h.

◆ TextureColorFormat()

VkFormat FINALITY::TextureColorFormat ( VkFormat format,
TextureColorSpace colorSpace )
inline

Definition at line 14 of file VKTextureFormats.h.

◆ TextureFormat()

VkFormat FINALITY::TextureFormat ( gli::format format)
inline

Definition at line 33 of file VKTextureFormats.h.

◆ GenerateTextureMipmaps()

void FINALITY::GenerateTextureMipmaps ( VkCommandBuffer commands,
VkImage image,
uint32_t width,
uint32_t height,
uint32_t levels )
inline

Definition at line 12 of file VKTextureMipmaps.h.

◆ EditText()

bool FINALITY::EditText ( const char * label,
std::string & value )

◆ MatchesSearch()

bool FINALITY::MatchesSearch ( const std::string & text,
const std::string & query )

◆ DrawAssetPreview()

void FINALITY::DrawAssetPreview ( const AssetRecord & asset,
float size = 48.0f )

◆ DrawAssetPreviewAt()

void FINALITY::DrawAssetPreviewAt ( const AssetRecord & asset,
ImVec2 position,
float size )

◆ DrawConsole()

void FINALITY::DrawConsole ( bool * open = nullptr)

◆ DrawEntityInspector()

void FINALITY::DrawEntityInspector ( Scene * scene,
entt::entity selected,
AssetPicker & picker,
ExternalTools & tools,
bool * open = nullptr )

◆ DrawMaterialProperties()

void FINALITY::DrawMaterialProperties ( MaterialComponent & component,
AssetPicker & picker,
std::function< MaterialComponent *()> target )

◆ ClearInspectorClipboard()

void FINALITY::ClearInspectorClipboard ( )

◆ DrawVec3Control()

void FINALITY::DrawVec3Control ( FINALITY::ImGUIPanel & panel,
std::string_view label,
glm::vec3 & values,
float resetValue = 0.0f )
static

Definition at line 19 of file InspectorPanel.h.

◆ DrawFloatControl()

void FINALITY::DrawFloatControl ( FINALITY::ImGUIPanel & panel,
std::string_view label,
float & value,
float minVal,
float maxVal )
static

Definition at line 70 of file InspectorPanel.h.

◆ DrawComponentHeader()

void FINALITY::DrawComponentHeader ( FINALITY::ImGUIPanel & panel,
std::string_view title,
bool canRemove,
bool & shouldRemove,
bool & shouldReset )
static

Definition at line 88 of file InspectorPanel.h.

◆ DrawInspectorPanel()

void FINALITY::DrawInspectorPanel ( const Scene * scene,
const entt::entity & selectedEntityHandle )
static
Todo
TODO: Document MeshOption struct semantics, ownership and usage.
Todo
TODO: Document ComponentEntry struct semantics, ownership and usage.

Definition at line 122 of file InspectorPanel.h.

◆ DrawLODGroupProperties()

void FINALITY::DrawLODGroupProperties ( Scene & scene,
entt::entity entity )

◆ DrawPerformancePanel()

void FINALITY::DrawPerformancePanel ( float fps,
int offset,
const float * history,
float average,
const RenderTarget * scene,
const RenderTarget * game,
bool * open = nullptr )
inline

Definition at line 13 of file PerformancePanel.h.

◆ DrawSceneHierarchyPanel()

void FINALITY::DrawSceneHierarchyPanel ( Scene * scene,
entt::entity & selectedEntityHandle )
static

Definition at line 13 of file SceneHierarchyPanel.h.

◆ FormatViewportStatistics()

std::string FINALITY::FormatViewportStatistics ( const RenderTarget & target)
inline

Definition at line 14 of file ViewportStatistics.h.

◆ DrawViewportStatsOverlay()

void FINALITY::DrawViewportStatsOverlay ( const RenderTarget & target,
const ImVec2 & minimum,
const ImVec2 & maximum )
inline

Definition at line 31 of file ViewportStatistics.h.

◆ SavePrefab()

bool FINALITY::SavePrefab ( Scene & source,
entt::entity root,
const std::filesystem::path & path )
inline

Definition at line 12 of file Prefab.h.

◆ InstantiatePrefab()

Entity FINALITY::InstantiatePrefab ( Scene & destination,
const std::filesystem::path & path )
inline

Definition at line 23 of file Prefab.h.

◆ ViewportRay()

SceneRay FINALITY::ViewportRay ( const Camera & camera,
ImVec2 minimum,
ImVec2 maximum,
ImVec2 mouse )
inline

Definition at line 17 of file ScenePlacement.h.

◆ SceneDropPosition()

glm::vec3 FINALITY::SceneDropPosition ( const Camera & camera,
ImVec2 minimum,
ImVec2 maximum,
ImVec2 mouse )
inline

Definition at line 28 of file ScenePlacement.h.

◆ HierarchyBounds()

bool FINALITY::HierarchyBounds ( const Scene & scene,
entt::entity root,
glm::vec3 & minimum,
glm::vec3 & maximum )
inline

Definition at line 39 of file ScenePlacement.h.

◆ OpenInRunningSolution()

bool FINALITY::OpenInRunningSolution ( const std::filesystem::path & solution,
const std::filesystem::path & source )

Variable Documentation

◆ s_CopiedVector

glm::vec3 FINALITY::s_CopiedVector = glm::vec3(0.0f)
static

Definition at line 17 of file InspectorPanel.h.