Class ComputeShaderStateDescription
This structure contains all the shader stages.
Inherited Members
Namespace: Evergine.Common.Graphics
Assembly: Evergine.Common.dll
Syntax
public class ComputeShaderStateDescription : ShaderStateDescription
Fields
ComputeShader
Gets or sets the compute shader program.
Declaration
public Shader ComputeShader
Field Value
| Type | Description |
|---|---|
| Shader |
Methods
Equals(ComputeShaderStateDescription)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(ComputeShaderStateDescription other)
Parameters
| Type | Name | Description |
|---|---|---|
| ComputeShaderStateDescription | 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. |