Class MeshShaderStateDescription
This structure contains all the shader stages.
Inherited Members
Namespace: Evergine.Common.Graphics.MeshShader
Assembly: Evergine.Common.dll
Syntax
public class MeshShaderStateDescription : ShaderStateDescription
Fields
AmplificationShader
Gets or sets the amplification shader program.
Declaration
public Shader AmplificationShader
Field Value
| Type | Description |
|---|---|
| Shader |
MeshShader
Gets or sets the mesh shader program.
Declaration
public Shader MeshShader
Field Value
| Type | Description |
|---|---|
| Shader |
PixelShader
Gets or sets the pixel shader program.
Declaration
public Shader PixelShader
Field Value
| Type | Description |
|---|---|
| Shader |
Methods
Equals(MeshShaderStateDescription)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(MeshShaderStateDescription other)
Parameters
| Type | Name | Description |
|---|---|---|
| MeshShaderStateDescription | other | An object to compare with this object. |
Returns
| Type | Description |
|---|---|
| bool | true if the current object is equal to the |
Equals(object)
Determines whether the specified object is equal to this instance.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | The object to compare with this instance. |
Returns
| Type | Description |
|---|---|
| bool |
|
Overrides
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | A hash code for the current object. |