Home
last modified time | relevance | path

Searched refs:textures (Results 1 – 25 of 28) sorted by relevance

12

/ohos5.0/docs/en/application-dev/reference/apis-arkgraphics2d/
H A D_o_h___drawing___gpu_context_options.md20 …aching) | Whether to allow path mask textures to be cached. The value **true** means to allow the …
34 Whether to allow path mask textures to be cached. The value **true** means to allow the path mask t…
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/components/
H A Dmaterial_component_manager.cpp226 void MapTextureSlots(array_view<MaterialComponent::TextureInfo> textures, size_t baseOffset, in MapTextureSlots() argument
240 if (newIndex < BASE_NS::countof(tmp) && oldIndex < textures.size()) { in MapTextureSlots()
241 tmp[newIndex] = BASE_NS::move(textures[oldIndex]); in MapTextureSlots()
247 std::move(std::begin(tmp), std::end(tmp), std::begin(textures)); in MapTextureSlots()
363 … DECL_NAMED_PROPERTY2(normal, textures[MaterialComponent::TextureIndex::NORMAL], "Normal Map", 0)
364 … DECL_NAMED_PROPERTY2(material, textures[MaterialComponent::TextureIndex::MATERIAL], "Material", 0)
365 … DECL_NAMED_PROPERTY2(emissive, textures[MaterialComponent::TextureIndex::EMISSIVE], "Emissive", 0)
370 … DECL_NAMED_PROPERTY2(clearcoatNormal, textures[MaterialComponent::TextureIndex::CLEARCOAT_NORMAL],
372 DECL_NAMED_PROPERTY2(sheen, textures[MaterialComponent::TextureIndex::SHEEN], "Sheen", 0)
1081 MapTextureSlots(data_.textures, offsetof(MaterialComponent, textures), in operator =()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Dmaterial_impl.cpp343 auto it = std::find(textures.begin(), textures.end(), existingInfo); in GetTextureInfoByIndex()
344 if (it == textures.end()) { in GetTextureInfoByIndex()
346 textures.push_back(existingInfo); in GetTextureInfoByIndex()
351 for (auto& info : textures) { in GetTextureInfoByIndex()
391 textures.push_back(info); in BindTextureSlot()
1032 BASE_NS::vector<SCENE_NS::ITextureInfo::Ptr> textures; in SynchronizeInputsFromMetadata() local
1041 int textureSlotIndex = textures.size(); in SynchronizeInputsFromMetadata()
1066 textures.push_back(info); in SynchronizeInputsFromMetadata()
1068 textures.push_back(nullptr); in SynchronizeInputsFromMetadata()
1083 std::sort(textures.begin(), textures.end(), [](const auto& a, const auto& b) { in SynchronizeInputsFromMetadata()
[all …]
H A Dscene_holder.cpp1207 entity = handle->textures[index].image; in GetImageEntity()
1860 handle->textures[index].image = imageEntity; in SetTexture()
2270 … handle->textures[index].sampler = ecs_->GetEntityManager().GetReferenceCounted(entity); in SetSampler()
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/assets/3d/shaders/shader/
H A Dcore3d_dm_fw.shader49 "textures" : [
113 "textures" : [
179 "textures": [
236 "textures" : [
302 "textures": [
H A Dcore3d_dm_fw_reflection_plane.shader43 "textures": [
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/
H A Dgltf2_exporter.cpp990 materialDesc.textures[MaterialComponent::TextureIndex::BASE_COLOR].factor; in ExportGltfMaterialMetallicRoughness()
994 materialDesc.textures[MaterialComponent::TextureIndex::MATERIAL].factor.z; in ExportGltfMaterialMetallicRoughness()
996 materialDesc.textures[MaterialComponent::TextureIndex::MATERIAL].factor.y; in ExportGltfMaterialMetallicRoughness()
1039 if ((materialDesc.textures[MaterialComponent::TextureIndex::SHEEN].factor.x > 0.0f) || in ExportGltfMaterialSheen()
1040 (materialDesc.textures[MaterialComponent::TextureIndex::SHEEN].factor.y > 0.0f) || in ExportGltfMaterialSheen()
1084 materialDesc.textures[MaterialComponent::TextureIndex::BASE_COLOR].factor; in ExportGltfMaterialSpecularGlossiness()
1088 materialDesc.textures[MaterialComponent::TextureIndex::MATERIAL].factor; in ExportGltfMaterialSpecularGlossiness()
1092 materialDesc.textures[MaterialComponent::TextureIndex::MATERIAL].factor.w; in ExportGltfMaterialSpecularGlossiness()
1102 materialDesc.textures[MaterialComponent::TextureIndex::BASE_COLOR].factor; in ExportGltfMaterialUnlit()
2034 for (auto const& texture : data.textures) { in ExportTextures()
[all …]
H A Dgltf2_importer.cpp425 return importResult.data.textures[index]; in GetImportedTextureHandle()
1295 for (size_t i = 0; i < data.textures.size(); ++i) { in ResolveReferencedImages()
1296 const GLTF2::Texture& texture = *(data.textures[i]); in ResolveReferencedImages()
1623 desc.textures[MaterialComponent::TextureIndex::SPECULAR].factor = in FillSpecular()
2599 result_.data.textures.clear(); in ImportGLTF()
2640 result_.data.textures.clear(); in ImportGLTFAsync()
3127 result_.data.textures.resize(data_->textures.size(), {}); in PrepareImageTasks()
3170 for (size_t i = 0; i < data_->textures.size(); ++i) { in PrepareImageTasks()
3175 const GLTF2::Texture& texture = *(data_->textures[i]); in PrepareImageTasks()
3539 result_.data.textures = result.data.textures; in ImportResources()
[all …]
H A Ddata.h55 BASE_NS::vector<BASE_NS::unique_ptr<GLTF2::Texture>> textures; in CORE3D_BEGIN_NAMESPACE() member
H A Dgltf2_loader.cpp758 if (info.index != GLTF_INVALID_INDEX && info.index < loadResult.data->textures.size()) { in ParseTextureInfo()
759 info.texture = loadResult.data->textures[info.index].get(); in ParseTextureInfo()
888 loadResult.data->textures.push_back(move(texture)); in ParseTexture()
2396 for (TextureContainer::iterator textureIt = loadResult.data->textures.begin(); in PrimitiveAttributes()
2397 textureIt != loadResult.data->textures.end(); ++textureIt) { in PrimitiveAttributes()
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-basic-components-mediacachedimage-sys.md37 | sources | URI array, indicating the textures to be stitched.|
38 | column | Column size, indicating the number of textures to be stitched in each row. |
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/ecs/components/
H A Dmaterial_component.h256 …DEFINE_ARRAY_PROPERTY(TextureInfo, TextureIndex::TEXTURE_COUNT, textures, "", PropertyFlags::IS_HI…
/ohos5.0/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/include/
H A Dgl1_entries.in184 HOOK_API_ENTRY(void, glDeleteTextures, GLsizei n, const GLuint *textures)
185 CALL_HOOK_API(glDeleteTextures, n, textures)
244 HOOK_API_ENTRY(void, glGenTextures, GLsizei n, GLuint *textures)
245 CALL_HOOK_API(glGenTextures, n, textures)
H A Dgl2_entries.in100 HOOK_API_ENTRY(void, glDeleteTextures, GLsizei n, const GLuint *textures)
101 CALL_HOOK_API(glDeleteTextures, n, textures)
160 HOOK_API_ENTRY(void, glGenTextures, GLsizei n, GLuint *textures)
161 CALL_HOOK_API(glGenTextures, n, textures)
H A Dgl1ext_entries.in418 HOOK_API_ENTRY(void, glExtGetTexturesQCOM, GLuint *textures, GLint maxTextures, GLint *numTextures)
419 CALL_HOOK_API(glExtGetTexturesQCOM, textures, maxTextures, numTextures)
H A Dgl32_entries.in100 HOOK_API_ENTRY(void, glDeleteTextures, GLsizei n, const GLuint *textures)
101 CALL_HOOK_API(glDeleteTextures, n, textures)
160 HOOK_API_ENTRY(void, glGenTextures, GLsizei n, GLuint *textures)
161 CALL_HOOK_API(glGenTextures, n, textures)
H A Dgl2ext_entries.in592 …rriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *sr…
593 …lWaitSemaphoreEXT, semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, srcLayouts)
595 …rriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *ds…
596 …ignalSemaphoreEXT, semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, dstLayouts)
1528 HOOK_API_ENTRY(void, glExtGetTexturesQCOM, GLuint *textures, GLint maxTextures, GLint *numTextures)
1529 CALL_HOOK_API(glExtGetTexturesQCOM, textures, maxTextures, numTextures)
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/
H A Drender_system.cpp606 for (const MaterialComponent::TextureInfo& info : materialDesc.textures) { in MaterialHandles()
662 if (matComp.textures[MaterialComponent::TextureIndex::CLEARCOAT].factor.x > 0.0f) { in RenderMaterialFlagsFromMaterialValues()
665 if ((matComp.textures[MaterialComponent::TextureIndex::SHEEN].factor.x > 0.0f) || in RenderMaterialFlagsFromMaterialValues()
666 (matComp.textures[MaterialComponent::TextureIndex::SHEEN].factor.y > 0.0f) || in RenderMaterialFlagsFromMaterialValues()
667 (matComp.textures[MaterialComponent::TextureIndex::SHEEN].factor.z > 0.0f)) { in RenderMaterialFlagsFromMaterialValues()
674 if (matComp.textures[MaterialComponent::TextureIndex::TRANSMISSION].factor.x > 0.0f) { in RenderMaterialFlagsFromMaterialValues()
710 const auto& base = matComp.textures[MaterialComponent::TextureIndex::BASE_COLOR]; in ValidateInputColor()
715 const auto& mat = matComp.textures[MaterialComponent::TextureIndex::MATERIAL]; in ValidateInputColor()
739 const auto& tex = matDesc.textures[idx]; in InputMaterialUniformsFromMaterialComponent()
751 const auto& tex = matDesc.textures[MaterialComponent::TextureIndex::BASE_COLOR]; in InputMaterialUniformsFromMaterialComponent()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/loaders/
H A Dintf_scene_loader.h66 BASE_NS::vector<CORE_NS::EntityReference> textures; member
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/gltf/
H A Dgltf.h128 BASE_NS::vector<CORE_NS::EntityReference> textures; member
/ohos5.0/docs/en/application-dev/faqs/
H A Dfaqs-graphics.md130 You can generate a texture through each thread, and then combine the textures into a buffer.
/ohos5.0/docs/en/application-dev/graphics3d/
H A Darkgraphics3D-scene.md6 …e of an object, and generally has attributes such as meshes, materials, textures, and animations. …
/ohos5.0/docs/en/application-dev/ui/
H A Darkts-user-defined.md26 …nts with custom nodes. It also allows builder content to be exported as textures, facilitating sam…
/ohos5.0/foundation/graphic/graphic_3d/3d_widget_adapter/core/src/lume/
H A Dlume_common.cpp1275 desc.textures[CORE3D_NS::MaterialComponent::TextureIndex::MATERIAL] in LoadCustGeometry()
1277 desc.textures[CORE3D_NS::MaterialComponent::TextureIndex::MATERIAL] in LoadCustGeometry()
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/
H A Dscene_util.cpp367 … matComponent.textures[MaterialComponent::TextureIndex::CLEARCOAT_ROUGHNESS].image = in CreateReflectionPlaneObjectFromEntity()

12