c++ - How do you create the "Shader" folder in Visual Studio interface -
i have seen several projects "shader" folder in solution explorer.
however, when create 1 myself, can see "header files", "source files", "resource files", , "external dependencies" folder.
is there way tell visual studio need "shader" folder because i'm going use shaders? if not, how can create manually?
visual studio has virtual folders called "filters". these can map real folders in file system or can use them define logical/conceptual groups of items inside projects.
to create filter under project in visual studio, right-click mouse on project in solution explorer, expand "add" , click "new filter". new filter ("newfilter1") created under project can rename like.
you can drag items project inside in order group them "logically" or can right-click on new filter , choose add>existing item or add>new item. can nest multiple filters inside each other.
for example in case, call filter "shader" , can drag-and-drop shader-related files inside it. affects project , not directory structure in file system.
you can still create "real" folder in file system , add files it, can reference in project's filter.
Comments
Post a Comment