Adding-Command-Line-Argument-rp-for-Non-Mac-iOS-platforms helping in (#1166)
dynamically locating directory where shaders and assets folders present. Co-authored-by: Shivank Agrahari <sagrahar@qti.qualcomm.com>
This commit is contained in:
parent
2871b76a0f
commit
49f380ea1f
3 changed files with 49 additions and 22 deletions
|
|
@ -61,12 +61,17 @@
|
|||
#endif
|
||||
|
||||
const std::string getAssetPath();
|
||||
void setResourcePath(std::string path);
|
||||
const std::string getShaderBasePath();
|
||||
|
||||
namespace vks
|
||||
{
|
||||
namespace tools
|
||||
{
|
||||
/** @brief Variables for Command Line Resource Path */
|
||||
extern std::string resourcePath;
|
||||
extern bool resourcePathSet;
|
||||
|
||||
/** @brief Disable message boxes on fatal errors */
|
||||
extern bool errorModeSilent;
|
||||
|
||||
|
|
@ -82,7 +87,7 @@ namespace vks
|
|||
// Same as getSupportedDepthFormat but will only select formats that also have stencil
|
||||
VkBool32 getSupportedDepthStencilFormat(VkPhysicalDevice physicalDevice, VkFormat* depthStencilFormat);
|
||||
|
||||
// Returns tru a given format support LINEAR filtering
|
||||
// Returns true a given format support LINEAR filtering
|
||||
VkBool32 formatIsFilterable(VkPhysicalDevice physicalDevice, VkFormat format, VkImageTiling tiling);
|
||||
// Returns true if a given format has a stencil part
|
||||
VkBool32 formatHasStencil(VkFormat format);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue