Home
last modified time | relevance | path

Searched refs:texture_name (Results 1 – 25 of 164) sorted by relevance

1234567

/dports/games/openclonk/openclonk-release-8.1-src/src/mape/
H A Dmapgen.c44 const gchar* texture_name; in mape_mapgen_read_color() local
60 texture_name = mape_texture_map_get_texture_name_from_mapping( in mape_mapgen_read_color()
66 if(texture_name != NULL) in mape_mapgen_read_color()
71 first_tex_separator = strchr(texture_name, '-'); in mape_mapgen_read_color()
75 texture_name, in mape_mapgen_read_color()
76 first_tex_separator - texture_name in mape_mapgen_read_color()
79 texture_name = own_texture_name; in mape_mapgen_read_color()
83 if(!mape_texture_map_lookup_texture(texture_map, texture_name)) in mape_mapgen_read_color()
106 texture_name = NULL; in mape_mapgen_read_color()
115 if(texture_name != NULL) in mape_mapgen_read_color()
[all …]
/dports/emulators/mess/mame-mame0226/src/osd/modules/render/bgfx/
H A Dchainentryreader.cpp73 std::string texture_name = ""; in read_from_value() local
78 texture_name = input["texture"].GetString(); in read_from_value()
84 texture_name = chains.options().value(option.c_str()); in read_from_value()
87 if (texture_name != "" && texture_name != "screen" && texture_name != "palette") in read_from_value()
94 …ins.textures().create_png_texture(chains.options().art_path(), texture_name, texture_name, flags, … in read_from_value()
105 …ins.textures().create_png_texture(chains.options().art_path(), texture_name, texture_name, flags, … in read_from_value()
114 const size_t last_slash = texture_name.rfind('/'); in read_from_value()
117 file_directory = texture_name.substr(0, last_slash); in read_from_value()
173 texture_name = input["target"].GetString(); in read_from_value()
181 …auto* input_pair = new bgfx_input_pair(i, sampler, texture_name, texture_names, selection, chains,… in read_from_value()
/dports/emulators/mame/mame-mame0226/src/osd/modules/render/bgfx/
H A Dchainentryreader.cpp73 std::string texture_name = ""; in read_from_value() local
78 texture_name = input["texture"].GetString(); in read_from_value()
84 texture_name = chains.options().value(option.c_str()); in read_from_value()
87 if (texture_name != "" && texture_name != "screen" && texture_name != "palette") in read_from_value()
94 …ins.textures().create_png_texture(chains.options().art_path(), texture_name, texture_name, flags, … in read_from_value()
105 …ins.textures().create_png_texture(chains.options().art_path(), texture_name, texture_name, flags, … in read_from_value()
114 const size_t last_slash = texture_name.rfind('/'); in read_from_value()
117 file_directory = texture_name.substr(0, last_slash); in read_from_value()
173 texture_name = input["target"].GetString(); in read_from_value()
181 …auto* input_pair = new bgfx_input_pair(i, sampler, texture_name, texture_names, selection, chains,… in read_from_value()
/dports/games/taisei/taisei-1.3.2/src/resource/
H A Dsprite.c49 char *texture_name; member
59 state->texture_name = resource_util_basename(TEX_PATH_PREFIX, path); in load_sprite_begin()
66 { "texture", .out_str = &state->texture_name }, in load_sprite_begin()
82 free(state->texture_name); in load_sprite_begin()
93 if(!state->texture_name) { in load_sprite_begin()
94 state->texture_name = resource_util_basename(TEX_PATH_PREFIX, path); in load_sprite_begin()
95 log_info("%s: inferred texture name from sprite name", state->texture_name); in load_sprite_begin()
110 Resource *res = get_resource(RES_TEXTURE, state->texture_name, flags); in load_sprite_end()
112 free(state->texture_name); in load_sprite_end()
/dports/astro/openuniverse/openuniverse-1.0beta3/src/
H A Dloadbmf.cpp78 MaterialList[i].texture_name = in LoadBMF()
80 fread(MaterialList[i].texture_name, in LoadBMF()
86 MaterialList[i].texture_name[j] = in LoadBMF()
87 (char) tolower(MaterialList[i].texture_name[j]); in LoadBMF()
95 MaterialList[i].texture_name); in LoadBMF()
212 StripMaterialList[i].texture_name = in LoadBMF()
214 fread(StripMaterialList[i].texture_name, in LoadBMF()
221 StripMaterialList[i].texture_name[j] = (char) in LoadBMF()
222 tolower(StripMaterialList[i].texture_name[j]); in LoadBMF()
225 read_JPEG_file(StripMaterialList[i].texture_name, in LoadBMF()
[all …]
/dports/games/emptyepsilon/EmptyEpsilon-EE-2021.06.23/src/gui/
H A Dgui2_image.cpp3 GuiImage::GuiImage(GuiContainer* owner, string id, string texture_name) in GuiImage() argument
4 : GuiElement(owner, id), color(sf::Color::White), texture_name(texture_name), angle(0) in GuiImage()
11 textureManager.setTexture(image, texture_name); in onDraw()
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed.studio/mainwindow/project/
H A Dtexturecollectionitem.cpp102 const string texture_name = in create_texture() local
111 texture_name.c_str(), in create_texture()
116 auto_release_ptr<TextureInstance> create_texture_instance(const string& texture_name) in create_texture_instance() argument
118 const string texture_instance_name = texture_name + "_inst"; in create_texture_instance()
124 texture_name.c_str(), in create_texture_instance()
/dports/misc/vxl/vxl-3.3.2/core/vgui/
H A Dvgui_cache_wizard.cxx166 GLuint texture_name; in get_section() local
170 texture_name = cache_queue_.front(); in get_section()
171 std::cerr << "Texture name: " << texture_name << std::endl; in get_section()
177 if ((*k) == texture_name) in get_section()
188 texture_name = texture_names_[k]; in get_section()
192 glBindTexture(GL_TEXTURE_2D, texture_name); in get_section()
198 quadrants->push_back(texture_name); in get_section()
199 cache_queue_.push_back(texture_name); in get_section()
201 (*icq)[index] = texture_name; in get_section()
/dports/games/freeorion/freeorion-0.4.10.2/UI/
H A DClientUI.cpp258 std::string texture_name; in TechIcon() local
269 std::string texture_name; in SpecialIcon() local
272 if (texture_name.empty()) in SpecialIcon()
279 std::string texture_name; in SpeciesIcon() local
282 if (texture_name.empty()) in SpeciesIcon()
289 std::string texture_name; in FieldTexture() local
292 if (texture_name.empty()) in FieldTexture()
299 std::string texture_name; in PartIcon() local
302 if (texture_name.empty()) in PartIcon()
309 std::string texture_name; in HullTexture() local
[all …]
/dports/science/liggghts/LIGGGHTS-PUBLIC-3.8.0-26-g6e873439/lib/gpu/geryon/
H A Dnvd_texture.h38 inline UCL_Texture(UCL_Program &prog, const char *texture_name) in UCL_Texture() argument
39 { get_texture(prog,texture_name); } in UCL_Texture()
41 inline void get_texture(UCL_Program &prog, const char *texture_name) in get_texture() argument
42 { CU_SAFE_CALL(cuModuleGetTexRef(&_tex, prog._module, texture_name)); } in get_texture()
/dports/science/lammps/lammps-stable_29Sep2021/lib/gpu/geryon/
H A Dhip_texture.h36 inline UCL_Texture(UCL_Program &prog, const char *texture_name) in UCL_Texture() argument
37 { get_texture(prog,texture_name); } in UCL_Texture()
39 inline void get_texture(UCL_Program &prog, const char *texture_name) in get_texture() argument
42 CU_SAFE_CALL(hipModuleGetTexRef(&_tex, prog._module, texture_name)); in get_texture()
45 …ALL(hipModuleGetGlobal(&_device_ptr_to_global_var, &_global_var_size, prog._module, texture_name)); in get_texture()
H A Dnvd_texture.h38 inline UCL_Texture(UCL_Program &prog, const char *texture_name) in UCL_Texture() argument
39 { get_texture(prog,texture_name); } in UCL_Texture()
41 inline void get_texture(UCL_Program &prog, const char *texture_name) { in get_texture() argument
43 CU_SAFE_CALL(cuModuleGetTexRef(&_tex, prog._module, texture_name)); in get_texture()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/lib/libRocket/Source/Core/
H A DDecoratorTiledImageInstancer.cpp50 String texture_name; in InstanceDecorator() local
53 GetTileProperties(tile, texture_name, rcss_path, properties, "image"); in InstanceDecorator()
56 if (decorator->Initialise(tile, texture_name, rcss_path)) in InstanceDecorator()
H A DDecorator.cpp81 int Decorator::LoadTexture(const String& texture_name, const String& rcss_path) in LoadTexture() argument
85 if (texture_name == textures[i].GetSource()) in LoadTexture()
90 if (!texture.Load(texture_name, rcss_path)) in LoadTexture()
/dports/graphics/py-pyglet/pyglet-1.5.21/pyglet/model/codecs/
H A Dobj.py68 texture_name = None
84 … matlib[name] = Material(name, diffuse, ambient, specular, emission, shininess, texture_name)
104 texture_name = values[1]
114 matlib[name] = Material(name, diffuse, ambient, specular, emission, shininess, texture_name)
247 if material.texture_name:
248 texture = pyglet.resource.texture(material.texture_name)
/dports/games/pink-pony/pink-pony-1.4.1/src/
H A DTexture2D.cc13 glBindTexture(GL_TEXTURE_2D, texture_name); in bind()
92 glDeleteTextures(1, &texture_name); in ~Texture2D()
106 glGenTextures(1, &texture_name); in setup()
107 glBindTexture(GL_TEXTURE_2D, texture_name); in setup()
134 glBindTexture(GL_TEXTURE_2D, texture_name); in send_to_GPU()
165 if (active_texture == (GLint)texture_name) { in build_mipmaps()
168 glBindTexture(GL_TEXTURE_2D, texture_name); in build_mipmaps()
/dports/games/emptyepsilon/EmptyEpsilon-EE-2021.06.23/src/spaceObjects/
H A Dplanet.h27 void setPlanetAtmosphereTexture(string texture_name);
28 void setPlanetSurfaceTexture(string texture_name);
29 void setPlanetCloudTexture(string texture_name);
/dports/graphics/py-pyglet150/pyglet-1.5.0/pyglet/model/codecs/
H A Dobj.py68 texture_name = None
96 texture_name = values[1]
106 return Material(name, diffuse, ambient, specular, emission, shininess, texture_name)
236 if material.texture_name:
237 texture = pyglet.resource.texture(material.texture_name)
/dports/multimedia/assimp/assimp-5.1.3/code/AssetLib/MD3/
H A DMD3Loader.cpp662 const char *end2 = ::strrchr(texture_name, '\\'); in ConvertPath()
663 if (!end2) end2 = ::strrchr(texture_name, '/'); in ConvertPath()
672 …if (!ASSIMP_strincmp(texture_name, "models", 6) && (texture_name[6] == '/' || texture_name[6] == '… in ConvertPath()
681 len2 = std::min(len1, (size_t)(end2 - texture_name)); in ConvertPath()
689 out = texture_name; in ConvertPath()
852 const char *texture_name = nullptr; in InternReadFile() local
859 texture_name = &*(_texture_name = (*it).second).begin(); in InternReadFile()
865 if (!texture_name && pcSurfaces->NUM_SHADER) { in InternReadFile()
866 texture_name = pcShaders->NAME; in InternReadFile()
870 if (texture_name) { in InternReadFile()
[all …]
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed/renderer/modeling/scene/
H A Dtextureinstance.cpp82 const char* texture_name, in TextureInstance() argument
90 impl->m_texture_name = texture_name; in TextureInstance()
295 const char* texture_name, in create() argument
303 texture_name, in create()
/dports/graphics/ospray/ospray-2.8.0/ospray/render/
H A DMaterial.cpp41 ispc::TextureParam Material::getTextureParam(const char *texture_name)
44 Texture2D *ptr = (Texture2D *)getParamObject(texture_name); in numJobs()
49 utility::Optional<affine2f> xform2f = getTextureTransform2f(texture_name); in numJobs()
58 getOptParam<affine3f>((std::string(texture_name) + ".transform").c_str()); in numJobs()
/dports/games/spring/spring_98.0/rts/lib/assimp/code/
H A DMD3Loader.cpp653 const char* end2 = ::strrchr(texture_name,'\\'); in ConvertPath()
654 if (!end2)end2 = ::strrchr(texture_name,'/'); in ConvertPath()
663 …if (!ASSIMP_strincmp(texture_name,"models",6) && (texture_name[6] == '/' || texture_name[6] == '\\… in ConvertPath()
673 if (!ASSIMP_strincmp(texture_name,header_name,len2)) { in ConvertPath()
680 out = texture_name; in ConvertPath()
838 const char* texture_name = NULL; in InternReadFile() local
845 texture_name = &*( _texture_name = (*it).second).begin(); in InternReadFile()
851 if (!texture_name && pcSurfaces->NUM_SHADER) { in InternReadFile()
852 texture_name = pcShaders->NAME; in InternReadFile()
856 if (texture_name) { in InternReadFile()
[all …]
/dports/devel/upp/upp/bazaar/plugin/assimp/code/MD3/
H A DMD3Loader.cpp691 const char* end2 = ::strrchr(texture_name,'\\'); in ConvertPath()
692 if (!end2)end2 = ::strrchr(texture_name,'/'); in ConvertPath()
701 …if (!ASSIMP_strincmp(texture_name,"models",6) && (texture_name[6] == '/' || texture_name[6] == '\\… in ConvertPath()
710 else len2 = std::min (len1, (size_t)(end2 - texture_name )); in ConvertPath()
718 out = texture_name; in ConvertPath()
883 const char* texture_name = NULL; in InternReadFile() local
890 texture_name = &*( _texture_name = (*it).second).begin(); in InternReadFile()
896 if (!texture_name && pcSurfaces->NUM_SHADER) { in InternReadFile()
897 texture_name = pcShaders->NAME; in InternReadFile()
901 if (texture_name) { in InternReadFile()
[all …]
/dports/graphics/urho3d/Urho3D-1.7.1/Source/ThirdParty/Assimp/code/
H A DMD3Loader.cpp684 const char* end2 = ::strrchr(texture_name,'\\'); in ConvertPath()
685 if (!end2)end2 = ::strrchr(texture_name,'/'); in ConvertPath()
694 …if (!ASSIMP_strincmp(texture_name,"models",6) && (texture_name[6] == '/' || texture_name[6] == '\\… in ConvertPath()
703 else len2 = std::min (len1, (size_t)(end2 - texture_name )); in ConvertPath()
704 if (!ASSIMP_strincmp(texture_name,header_name,len2)) { in ConvertPath()
711 out = texture_name; in ConvertPath()
876 const char* texture_name = NULL; in InternReadFile() local
889 if (!texture_name && pcSurfaces->NUM_SHADER) { in InternReadFile()
890 texture_name = pcShaders->NAME; in InternReadFile()
894 if (texture_name) { in InternReadFile()
[all …]
/dports/games/doomsday/doomsday-2.3.1/doomsday/external/assimp/code/
H A DMD3Loader.cpp692 const char* end2 = ::strrchr(texture_name,'\\'); in ConvertPath()
693 if (!end2)end2 = ::strrchr(texture_name,'/'); in ConvertPath()
702 …if (!ASSIMP_strincmp(texture_name,"models",6) && (texture_name[6] == '/' || texture_name[6] == '\\… in ConvertPath()
711 else len2 = std::min (len1, (size_t)(end2 - texture_name )); in ConvertPath()
712 if (!ASSIMP_strincmp(texture_name,header_name,len2)) { in ConvertPath()
719 out = texture_name; in ConvertPath()
884 const char* texture_name = NULL; in InternReadFile() local
897 if (!texture_name && pcSurfaces->NUM_SHADER) { in InternReadFile()
898 texture_name = pcShaders->NAME; in InternReadFile()
902 if (texture_name) { in InternReadFile()
[all …]

1234567