Skip to content
Snippets Groups Projects
Commit 6e4ca33d authored by Lars Hoerttrich's avatar Lars Hoerttrich
Browse files

[#79] documentation of translateSamplerMode

parent c2dd4711
No related branches found
No related tags found
1 merge request!69Resolve "Rework Asset Loader API"
Pipeline #26196 passed
......@@ -247,9 +247,11 @@ bool materialHasTexture(const Material *const m, const PBRTextureTarget t)
return m->textureMask & bitflag(t);
}
/**
* TODO document
*/
/**
* This function translates a given fx-gltf-sampler-wrapping-mode-enum to its vulkan sampler-adress-mode counterpart.
* @param mode: wrapping mode of a sampler given as fx-gltf-enum
* @return int vulkan-enum representing the same wrapping mode
*/
int translateSamplerMode(const fx::gltf::Sampler::WrappingMode mode)
{
switch (mode) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment