Class RaytracingShaderStateDescription
This class contains all the raytracing shader stages.
Inherited Members
Namespace: Evergine.Common.Graphics.Raytracing
Assembly: Evergine.Common.dll
Syntax
public class RaytracingShaderStateDescription : ShaderStateDescription, IEquatable<ShaderStateDescription>, IEquatable<RaytracingShaderStateDescription>
Fields
AnyHitShader
Gets or sets the AnyHit shader program.
Declaration
public Shader[] AnyHitShader
Field Value
Type | Description |
---|---|
Shader[] |
ClosestHitShader
Gets or sets the closestHit 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 Raygeneration shader program.
Declaration
public Shader RayGenerationShader
Field Value
Type | Description |
---|---|
Shader |
Methods
Equals(RaytracingShaderStateDescription)
Declaration
public bool Equals(RaytracingShaderStateDescription other)
Parameters
Type | Name | Description |
---|---|---|
Raytracing |
other |
Returns
Type | Description |
---|---|
bool |
Equals(object)
Determines whether the specified object is equal to this instance.
Declaration
public override bool Equals(object obj)
Parameters
Returns
Overrides
GetEntryPointByStage(ShaderStages)
Gets the entrypoint name from Shader stage index.
Declaration
public string[] GetEntryPointByStage(ShaderStages stage)
Parameters
Type | Name | Description |
---|---|---|
Shader |
stage | Shader Stage. |
Returns
Type | Description |
---|---|
string[] | Entry point name. |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int |