3

Is there any important difference between using parentheses and angled brackets for texture sampler parameters? I have used them interchangeably before without any different effect.

For instance

Sampler TexSceneSampler {
    Texture = <TexScene>;
}

Versus

Sampler TexSceneSampler {
    Texture = (TexScene);
}
Chris C
  • 2,003
  • 15
  • 18

1 Answers1

2

The angular brackets is the correct format according to the docs. However, AFAIK, there are no differences between the 2. I'd stick to the angular though in case the compiler gets changed. Mind its a DX9 only thing so you'll probably be ok either way.

Goz
  • 61,365
  • 24
  • 124
  • 204