mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-11 06:15:05 +00:00
gfx/shader: Get-er for currently loaded shader file
This commit is contained in:
parent
6f7c03fb28
commit
e1b7e6eaf2
2 changed files with 7 additions and 0 deletions
|
@ -620,3 +620,8 @@ obs_source_t* streamfx::gfx::shader::shader::get()
|
||||||
{
|
{
|
||||||
return _self;
|
return _self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::filesystem::path streamfx::gfx::shader::shader::get_shader_file()
|
||||||
|
{
|
||||||
|
return _shader_file;
|
||||||
|
}
|
||||||
|
|
|
@ -117,6 +117,8 @@ namespace streamfx::gfx {
|
||||||
|
|
||||||
obs_source_t* get();
|
obs_source_t* get();
|
||||||
|
|
||||||
|
std::filesystem::path get_shader_file();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void set_size(uint32_t w, uint32_t h);
|
void set_size(uint32_t w, uint32_t h);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue