Skip to content

Commit

Permalink
AttributeSemantics -> VertexAttributeSemantics
Browse files Browse the repository at this point in the history
  • Loading branch information
kring committed Oct 3, 2024
1 parent 22786f6 commit d3fbccc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Source/CesiumRuntime/Private/CesiumGltfTextures.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
#include "CesiumTextureUtility.h"
#include "ExtensionImageCesiumUnreal.h"
#include <CesiumGltf/AccessorView.h>
#include <CesiumGltf/AttributeSemantics.h>
#include <CesiumGltf/Model.h>
#include <CesiumGltf/VertexAttributeSemantics.h>
#include <CesiumGltfReader/GltfReader.h>

using namespace CesiumAsync;
Expand Down Expand Up @@ -177,7 +177,7 @@ bool isValidPrimitive(
}

auto positionAccessorIt =
primitive.attributes.find(AttributeSemantics::POSITION);
primitive.attributes.find(VertexAttributeSemantics::POSITION);
if (positionAccessorIt == primitive.attributes.end()) {
// This primitive doesn't have a POSITION semantic, so it's not valid.
return false;
Expand Down
3 changes: 2 additions & 1 deletion Source/CesiumRuntime/Private/CesiumGltfTextures.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ class CesiumGltfTextures {
public:
/**
* Creates all of the texture resources that are required by the given glTF,
* and adds `ExtensionImageCesiumUnreal` to each.
* and adds `ExtensionImageCesiumUnreal` to each. This is intended to be
* called from a worker thread.
*/
static CesiumAsync::Future<void> createInWorkerThread(
const CesiumAsync::AsyncSystem& asyncSystem,
Expand Down

0 comments on commit d3fbccc

Please sign in to comment.