If you mess around with d3d alot ull find that boolean operators become easier to understand.
Let's say I want to make chams and the stride is 32
if(stride == 32){chams;}
so this if statement only requires stride to be equal to 32 for it to activate
however, if I have this:
if(stride == 32 && startIndex == 0){chams;]
it means that my chams will only work IF I have stride as 32 AND startindex as 0 AT THE SAME TIME
what about:
if(stride == 32 || stride == 40){chams;}
this means that my chams will work if either my stride is 32 or my stride is 40 so if either condtion is present then chams will activate