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
03815436
Commit
03815436
authored
3 years ago
by
Trevor Hollmann
Browse files
Options
Downloads
Patches
Plain Diff
[
#79
] Add missing documentation for loadTexture()
parent
1ba3d40d
No related branches found
No related tags found
1 merge request
!69
Resolve "Rework Asset Loader API"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/asset_loader/include/vkcv/asset/asset_loader.hpp
+7
-1
7 additions, 1 deletion
modules/asset_loader/include/vkcv/asset/asset_loader.hpp
with
7 additions
and
1 deletion
modules/asset_loader/include/vkcv/asset/asset_loader.hpp
+
7
−
1
View file @
03815436
...
@@ -303,7 +303,13 @@ struct Mesh {
...
@@ -303,7 +303,13 @@ struct Mesh {
int
loadScene
(
const
std
::
filesystem
::
path
&
path
,
Scene
&
scene
);
int
loadScene
(
const
std
::
filesystem
::
path
&
path
,
Scene
&
scene
);
/**
/**
* TODO document
* Simply loads a single image at the given path and returns a Texture
* struct describing it. This is for special use cases only (eg.
* loading a font atlas) and not meant to be used for regular assets.
* The sampler is set to -1, signalling that this Texture was loaded
* outside the context of a glTF-file.
*
* @param path must be the path to an image file
*/
*/
Texture
loadTexture
(
const
std
::
filesystem
::
path
&
path
);
Texture
loadTexture
(
const
std
::
filesystem
::
path
&
path
);
}
}
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