Get texture and sampler variable names from a semantic name.
If the name ends with 'Texture', it returns the name as the texture name
and replaces 'Texture' with 'Sampler' for the sampler name.
Otherwise, it appends 'Texture' and 'Sampler' suffixes to avoid name collision.
Get texture and sampler variable names from a semantic name. If the name ends with 'Texture', it returns the name as the texture name and replaces 'Texture' with 'Sampler' for the sampler name. Otherwise, it appends 'Texture' and 'Sampler' suffixes to avoid name collision.