ShaderSamplerKey
-
class
ShaderSamplerKey
: public HPS::ShaderKey The ShaderSamplerKey class contains objects for shader sampler in Visualize.
Public Functions
-
inline virtual HPS::Type
ObjectType
() const This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object).
Returns: The declared type of the object in question, which may differ from the true, underlying type.
-
ShaderSamplerKey &
operator=
(ShaderSamplerKey &&in_that) The move assignment operator transfers the underlying impl of the rvalue reference to this ShaderSamplerKey thereby avoiding a copy.
Parameters: in_that – An rvalue reference to a VertexShaderKey to take the impl from. Returns: A reference to this ShaderSamplerKey.
-
ShaderSamplerKey &
operator=
(ShaderSamplerKey const &in_that) Associate this ShaderSamplerKey with the same underlying impl as the source ShaderSamplerKey.
Parameters: in_that – The source ShaderSamplerKey for the assignment. Returns: A reference to this ShaderSamplerKey.
-
ShaderSamplerKey
() = default The default constructor creates an uninitialized ShaderSamplerKey object. The Type() function will return Type::None.
-
ShaderSamplerKey
(Key const &in_that) This constructor creates a ShaderSamplerKey object that shares the underlying smart-pointer of the source Key. The copy will only be successful if the source key is really a type of shader sampler definition. Otherwise the copy will fail and the resulting ShaderSamplerKey will be invalid.
Parameters: in_that – The source Key to copy.
-
ShaderSamplerKey
(ShaderSamplerKey &&in_that) The move constructor creates a ShaderSamplerKey by transferring the underlying impl of the rvalue reference to this ShaderSamplerKey thereby avoiding a copy and allocation.
Parameters: in_that – An rvalue reference to a ShaderSamplerKey to take the impl from.
-
ShaderSamplerKey
(ShaderSamplerKey const &in_that) The copy constructor creates a ShaderSamplerKey object that shares the underlying smart-pointer of the source ShaderSamplerKey.
Parameters: in_that – The source ShaderSamplerKey to copy.
-
void
Show
(ShaderSamplerKit &out_kit) const Shows the Sampler for this ShaderSamplerKey.
Parameters: out_kit – The Sampler for this ShaderSamplerKey.
-
~ShaderSamplerKey
()
-
inline virtual HPS::Type