Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
VkCV Framework
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Vulkan2021
VkCV Framework
Commits
d253c74b
Commit
d253c74b
authored
3 years ago
by
Trevor Hollmann
Browse files
Options
Downloads
Patches
Plain Diff
[
#63
] Add UNDEFINED to IndexType enum for error cases.
parent
c2596c02
No related branches found
No related tags found
1 merge request
!51
Resolve "Laden mehrer Meshes mit Materials und Textures"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/asset_loader/include/vkcv/asset/asset_loader.hpp
+1
-1
1 addition, 1 deletion
modules/asset_loader/include/vkcv/asset/asset_loader.hpp
with
1 addition
and
1 deletion
modules/asset_loader/include/vkcv/asset/asset_loader.hpp
+
1
−
1
View file @
d253c74b
...
@@ -53,7 +53,7 @@ enum PrimitiveMode {
...
@@ -53,7 +53,7 @@ enum PrimitiveMode {
};
};
/* The indices in the index buffer can be of different bit width. */
/* The indices in the index buffer can be of different bit width. */
enum
IndexType
{
UINT32
=
0
,
UINT
16
=
1
,
UINT
8
=
2
};
enum
class
IndexType
:
uint8_t
{
UNDEFINED
=
0
,
UINT
8
=
1
,
UINT
16
=
2
,
UINT32
=
3
};
/* Flags for the bit-mask in the Material struct. Use the bitof() macro to
/* Flags for the bit-mask in the Material struct. Use the bitof() macro to
* translate the enums value when checking a flag of the mask:
* translate the enums value when checking a flag of the mask:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment