Home
last modified time | relevance | path

Searched refs:attributeRef (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Dpipeline_state_object_gles.cpp36 if (attributeRef.format == BASE_FORMAT_R16G16_SFLOAT) { in FormatToVertexType()
41 } else if (attributeRef.format == BASE_FORMAT_R16G16B16_SFLOAT) { in FormatToVertexType()
46 } else if (attributeRef.format == BASE_FORMAT_R16G16B16A16_SNORM) { in FormatToVertexType()
51 } else if (attributeRef.format == BASE_FORMAT_R16G16B16A16_SFLOAT) { in FormatToVertexType()
56 } else if (attributeRef.format == BASE_FORMAT_R32G32B32_SFLOAT) { in FormatToVertexType()
66 } else if (attributeRef.format == BASE_FORMAT_R32G32_SFLOAT) { in FormatToVertexType()
71 } else if (attributeRef.format == BASE_FORMAT_R32_SFLOAT) { in FormatToVertexType()
76 } else if (attributeRef.format == BASE_FORMAT_R8G8B8A8_UINT) { in FormatToVertexType()
81 } else if (attributeRef.format == BASE_FORMAT_R8G8B8A8_UNORM) { in FormatToVertexType()
86 } else if (attributeRef.format == BASE_FORMAT_R32G32B32A32_UINT) { in FormatToVertexType()
[all …]
H A Drender_backend_gles.cpp2415 const auto& attributeRef = decldata.attributeDescriptions[i]; in BindVertexInputs() local
2416 const uint32_t location = attributeRef.location; in BindVertexInputs()
2417 const uint32_t binding = attributeRef.binding; in BindVertexInputs()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Dpipeline_state_object_vk.cpp71 const auto& attributeRef = vertexInputDeclaration.attributeDescriptions[idx]; in GetVertexInputs() local
72 const VkFormat vertexInputFormat = (VkFormat)attributeRef.format; in GetVertexInputs()
74 attributeRef.location, // location in GetVertexInputs()
75 attributeRef.binding, // binding in GetVertexInputs()
77 attributeRef.offset, // offset in GetVertexInputs()