Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
Loading...
Searching...
No Matches
Engine::Assets::FlowSettingHandle Struct Reference

Stable handle to a named, runtime-controllable setting of a flow. More...

#include <AudioFlow.h>

Collaboration diagram for Engine::Assets::FlowSettingHandle:

Public Member Functions

bool isValid () const noexcept
 operator bool () const noexcept

Public Attributes

AudioFlowHandle flow
uint32_t settingIndex = 0
 Index into the flow's settings array.
uint32_t generation = 0
 Reserved for store generation validation.

Detailed Description

Stable handle to a named, runtime-controllable setting of a flow.

Callers obtain it once from AudioFlowStore::findSetting() and cache it; it remains valid as long as the owning store keeps the flow loaded.

Definition at line 38 of file AudioFlow.h.

Member Function Documentation

◆ isValid()

bool Engine::Assets::FlowSettingHandle::isValid ( ) const
inlinenodiscardnoexcept

Definition at line 43 of file AudioFlow.h.

References flow.

Referenced by operator bool().

Here is the caller graph for this function:

◆ operator bool()

Engine::Assets::FlowSettingHandle::operator bool ( ) const
inlineexplicitnoexcept

Definition at line 44 of file AudioFlow.h.

References isValid().

Here is the call graph for this function:

Member Data Documentation

◆ flow

AudioFlowHandle Engine::Assets::FlowSettingHandle::flow

Definition at line 39 of file AudioFlow.h.

Referenced by isValid().

◆ generation

uint32_t Engine::Assets::FlowSettingHandle::generation = 0

Reserved for store generation validation.

Definition at line 41 of file AudioFlow.h.

◆ settingIndex

uint32_t Engine::Assets::FlowSettingHandle::settingIndex = 0

Index into the flow's settings array.

Definition at line 40 of file AudioFlow.h.


The documentation for this struct was generated from the following file:
  • /workspace/magerbeton/gl3-vulkan/code/Engine/include/Engine/Audio/AudioFlow.h