Files
UShaderLab/Source/UShaderLabEditor/Private/ShaderLabVSCodeButton.h
2026-07-02 15:14:13 +08:00

15 lines
447 B
C++

// Copyright UShaderLab. All Rights Reserved.
#pragma once
/**
* Registers a context-aware toolbar button in the Material Instance Editor that opens the source `.usl`
* of a UShaderLabMaterialInstanceConstant in VSCode. Implemented as an FAssetEditorExtender delegate on
* the MaterialEditor module's toolbar extensibility manager (no custom asset editor needed).
*/
namespace ShaderLabVSCodeButton
{
void Register();
void Unregister();
}