MCPcopy Create free account
hub / github.com/crosire/reshade / define_texture

Method define_texture

source/effect_codegen_glsl.cpp:813–820  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

811 return res;
812 }
813 id define_texture(const location &, texture &info) override
814 {
815 const id res = info.id = make_id();
816
817 _module.textures.push_back(info);
818
819 return res;
820 }
821 id define_sampler(const location &loc, const texture &, sampler &info) override
822 {
823 const id res = info.id = create_block();

Callers 1

parse_variableMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected