Home -> IShaderProgram -> SamplerExists
Description
The SamplerExists method returns true if the specified separate texture sampler.
Usage
bool SamplerExists(const Marshal::In<std::string>& name) const;
Argument list
- name [const Marshal::In<std::string>]
- The shader-visible resource or input name to look up.
Return value
- [bool]
- True if the compiled shader program exposes a separate sampler with the specified name, false otherwise.