|This HLSL attribute is available only when developing for the Xbox 360.|
Sets the ranges of pixel sampler and vertex sampler registers used by the compiler.
- Starting vertex sampler register.
Starting pixel sampler register.
Applies to functions. The sampreg attribute is ignored on any function except the shader entry point that is currently being compiled. The parameters also apply to any function that is compiled for this entry point, whether the function is inlined or not.