VkCV Framework
0.0.1
CV Vulkan framework
|
#include <asset_loader.hpp>
Public Member Functions | |
bool | hasTexture (PBRTextureTarget target) const |
The asset loader module only supports the PBR-MetallicRoughness model for materials.
bool vkcv::asset::Material::hasTexture | ( | PBRTextureTarget | target | ) | const |
To signal that a certain texture target is active in this Material struct, its bit is set in the textureMask. You can use this function to check that: if (myMaterial.hasTexture(baseColor)) {...}
t | The target to query for |