Class RaytracingShaderStateDescription
This class contains all the ray tracing shader stages.
Inherited Members
Namespace: Evergine.Common.Graphics.Raytracing
Assembly: Evergine.Common.dll
Syntax
public class RaytracingShaderStateDescription : ShaderStateDescription
Fields
AnyHitShader
Gets or sets the AnyHit shader program.
Declaration
public Shader[] AnyHitShader
Field Value
Type | Description |
---|---|
Shader[] |
ClosestHitShader
Gets or sets the closest hit shader program.
Declaration
public Shader[] ClosestHitShader
Field Value
Type | Description |
---|---|
Shader[] |
IntersectionShader
Gets or sets the Intersection shader program.
Declaration
public Shader[] IntersectionShader
Field Value
Type | Description |
---|---|
Shader[] |
MissShader
Gets or sets the miss shader program.
Declaration
public Shader[] MissShader
Field Value
Type | Description |
---|---|
Shader[] |
RayGenerationShader
Gets or sets the ray generation shader program.
Declaration
public Shader RayGenerationShader
Field Value
Type | Description |
---|---|
Shader |
Methods
Equals(RaytracingShaderStateDescription)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(RaytracingShaderStateDescription other)
Parameters
Type | Name | Description |
---|---|---|
RaytracingShaderStateDescription | 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
GetEntryPointByStage(ShaderStages)
Gets the entry point name from the shader stage index.
Declaration
public string[] GetEntryPointByStage(ShaderStages stage)
Parameters
Type | Name | Description |
---|---|---|
ShaderStages | stage | Shader stage. |
Returns
Type | Description |
---|---|
string[] | Entry point name. |
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code for the current object. |