REFERENCE MANUAL
The ShaderKit class is a user space object. More...
Public Member Functions | |
override void | Dispose () |
override bool | Empty () |
Indicates whether this ShaderKit has any values set on it. More... | |
override bool | Equals (System.Object obj) |
bool | Equals (HPS.ShaderKit in_kit) |
Check if the source ShaderKit is equivalent to this ShaderKit. More... | |
override int | GetHashCode () |
override HPS.Type | ObjectType () |
This function returns the type the object, as declared. More... | |
void | Set (HPS.ShaderKit in_kit) |
Copies the source ShaderKit into this ShaderKit. More... | |
HPS.ShaderKit | SetMultitexture (bool in_state) |
Sets whether to apply diffuse textures from layers greater than <span class='code>0 on top of the shader when it is applied to geometry. More... | |
HPS.ShaderKit | SetParameterizationSource (HPS.Shader.Parameterization in_source) |
Sets the parameterization source for the shader. More... | |
HPS.ShaderKit | SetSource (string in_source) |
Sets the source code for the shader. More... | |
HPS.ShaderKit | SetTransformMatrix (HPS.MatrixKit in_transform) |
Sets the transform matrix for the shader. More... | |
ShaderKit () | |
The default constructor creates an empty ShaderKit object. More... | |
ShaderKit (HPS.ShaderKit in_kit) | |
The copy constructor creates a new ShaderKit object that contains the same settings as the source ShaderKit. More... | |
void | Show (out HPS.ShaderKit out_kit) |
Copies this ShaderKit into the given ShaderKit. More... | |
bool | ShowMultitexture (out bool out_state) |
Shows whether to apply diffuse textures from layers greater than 0 on top of the shader when it is applied to geometry. More... | |
bool | ShowParameterizationSource (out HPS.Shader.Parameterization out_source) |
Shows the parameterization source for the shader. More... | |
bool | ShowSource (out string out_source) |
Shows the source code for the shader. More... | |
bool | ShowTransformMatrix (out HPS.MatrixKit out_transform) |
Shows the transform matrix for the shader. More... | |
HPS.ShaderKit | UnsetEverything () |
Removes all settings from this ShaderKit. More... | |
HPS.ShaderKit | UnsetMultitexture () |
Removes whether to apply diffuse textures from layers greater than 0 on top of the shader when it is applied to geometry. More... | |
HPS.ShaderKit | UnsetParameterizationSource () |
Removes the parameterization source for the shader. More... | |
HPS.ShaderKit | UnsetSource () |
Removes the source code for the shader. More... | |
HPS.ShaderKit | UnsetTransformMatrix () |
Removes the transform matrix for the shader. More... | |
![]() | |
IntPtr | GetClassID () |
IntPtr | GetInstanceID () |
Returns an identifier that can be used to identify which instance of a class an object is. More... | |
bool | HasType (HPS.Type in_mask) |
This function indicates whether this Object has the given Type mask. More... | |
Object (HPS.Object in_that) | |
The move constructor creates an Object by transferring the underlying impl of the rvalue reference to this Object thereby avoiding a copy and allocation. More... | |
virtual void | Reset () |
Resets this object to its initial, uninitialized state. More... | |
HPS.Type | Type () |
This function returns the true type of the underlying object. More... | |
Static Public Member Functions | |
static bool | operator!= (HPS.ShaderKit a, HPS.ShaderKit b) |
static bool | operator== (HPS.ShaderKit a, HPS.ShaderKit b) |
![]() | |
static IntPtr | ClassID< T > () |
Protected Member Functions | |
override void | deleteCptr () |
![]() | |
virtual IntPtr | GetNonDirectorClassID () |
Additional Inherited Members | |
![]() | |
bool | cMemOwn |
HandleRef | cptr |
HandleRef | scptr |
The ShaderKit class is a user space object.
It is used for specifying all settings related to a ShaderDefinition.
HPS.ShaderKit.ShaderKit | ( | ) |
The default constructor creates an empty ShaderKit object.
HPS.ShaderKit.ShaderKit | ( | HPS.ShaderKit | in_kit | ) |
|
virtual |
Indicates whether this ShaderKit has any values set on it.
Reimplemented from HPS.Object.
bool HPS.ShaderKit.Equals | ( | HPS.ShaderKit | in_kit | ) |
Check if the source ShaderKit is equivalent to this ShaderKit.
in_kit | The source <ref refid="class_h_p_s_1_1_shader_kit" kindref="compound">ShaderKit</ref> to compare to this <ref refid="class_h_p_s_1_1_shader_kit" kindref="compound">ShaderKit</ref>. |
|
virtual |
This function returns the type the object, as declared.
This does not necessarily give the true type of the underlying object.
Reimplemented from HPS.Object.
void HPS.ShaderKit.Set | ( | HPS.ShaderKit | in_kit | ) |
HPS.ShaderKit HPS.ShaderKit.SetMultitexture | ( | bool | in_state | ) |
Sets whether to apply diffuse textures from layers greater than <span class='code>0 on top of the shader when it is applied to geometry.
in_state | Whether to apply diffuse textures from layers greater than 0 on top of the shader when it is applied to geometry. If true, the additional textures will be applied; if false, the addtional textures will not be applied. |
HPS.ShaderKit HPS.ShaderKit.SetParameterizationSource | ( | HPS.Shader.Parameterization | in_source | ) |
Sets the parameterization source for the shader.
in_source | The parameterization source for the shader. |
HPS.ShaderKit HPS.ShaderKit.SetSource | ( | string | in_source | ) |
Sets the source code for the shader.
in_source | The source code for the shader. |
HPS.ShaderKit HPS.ShaderKit.SetTransformMatrix | ( | HPS.MatrixKit | in_transform | ) |
Sets the transform matrix for the shader.
in_transform | The transform matrix for the shader. |
void HPS.ShaderKit.Show | ( | out HPS.ShaderKit | out_kit | ) |
bool HPS.ShaderKit.ShowMultitexture | ( | out bool | out_state | ) |
Shows whether to apply diffuse textures from layers greater than 0 on top of the shader when it is applied to geometry.
out_state | whether to apply diffuse textures from layers greater than 0 on top of the shader when it is applied to geometry. |
bool HPS.ShaderKit.ShowParameterizationSource | ( | out HPS.Shader.Parameterization | out_source | ) |
Shows the parameterization source for the shader.
out_source | The parameterization source for the shader. |
bool HPS.ShaderKit.ShowSource | ( | out string | out_source | ) |
Shows the source code for the shader.
out_source | The source code for the shader. |
bool HPS.ShaderKit.ShowTransformMatrix | ( | out HPS.MatrixKit | out_transform | ) |
Shows the transform matrix for the shader.
out_transform | The transform matrix for the shader. |
HPS.ShaderKit HPS.ShaderKit.UnsetEverything | ( | ) |
HPS.ShaderKit HPS.ShaderKit.UnsetMultitexture | ( | ) |
Removes whether to apply diffuse textures from layers greater than 0 on top of the shader when it is applied to geometry.
HPS.ShaderKit HPS.ShaderKit.UnsetParameterizationSource | ( | ) |
Removes the parameterization source for the shader.
HPS.ShaderKit HPS.ShaderKit.UnsetSource | ( | ) |
Removes the source code for the shader.
HPS.ShaderKit HPS.ShaderKit.UnsetTransformMatrix | ( | ) |
Removes the transform matrix for the shader.