Skip to content

Code_Configs_On_Section

Aiekick edited this page Oct 8, 2020 · 2 revisions

like said before, you have a general KEY for all sections.

its written like that :

@SECTION_NAME, and after you can put the key SECTION(params), with params who contain a name with that you have in the left pane a combobox. let you selct what section name you want to apply

the section name will be used for select all section all over the whole file, with includes

if we have :

@UNIFORMS SECTION(toto)

@UNIFORMS SECTION(toto2)

@VERTEX

@FRAGMENT SECTION(toto)

@FRAGMENT SECTION(toto2)

we can select within a combobox who will containt the lsit toto, and toto2

if we select toto

we will obtain the shader :

@UNIFORMS SECTION(toto)

@VERTEX

@FRAGMENT SECTION(toto)

and if we select toto2 we will obtain :

@UNIFORMS SECTION(toto2)

@VERTEX

@FRAGMENT SECTION(toto2)

the interesting things, is, with include files.

all the section defined in an includes files will overid the defintion section of the parent

like that you can handle wiht a combobox many vertex primitive by example.

see this sample if you want : FluidHeightMap

Clone this wiki locally