Class EntryPoints
Shader entry points.
Namespace: Evergine.Framework.Graphics.Effects.Models
Assembly: Evergine.Framework.dll
Syntax
public class EntryPoints
Properties
ComputeShader
Gets or sets the Compute shader entry point.
Declaration
public string ComputeShader { get; set; }
Property Value
Type | Description |
---|---|
string |
Default
Gets the default values for CompilerParameters.
Declaration
public static EntryPoints Default { get; }
Property Value
Type | Description |
---|---|
EntryPoints |
DomainShader
Gets or sets the Domain shader entry point.
Declaration
public string DomainShader { get; set; }
Property Value
Type | Description |
---|---|
string |
GeometryShader
Gets or sets the Geometry shader entry point.
Declaration
public string GeometryShader { get; set; }
Property Value
Type | Description |
---|---|
string |
HullShader
Gets or sets the Hull shader entry point.
Declaration
public string HullShader { get; set; }
Property Value
Type | Description |
---|---|
string |
PixelShader
Gets or sets the Pixel shader entry point.
Declaration
public string PixelShader { get; set; }
Property Value
Type | Description |
---|---|
string |
VertexShader
Gets or sets the Vertex shader entry point.
Declaration
public string VertexShader { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
GetEntryPoint(ShaderStages)
Gets the entry points for a shader stage.
Declaration
public string GetEntryPoint(ShaderStages shaderStage)
Parameters
Type | Name | Description |
---|---|---|
ShaderStages | shaderStage | Shader stage. |
Returns
Type | Description |
---|---|
string | Entry point value. |
Read(BinaryReader)
Reads EntryPoints from a binary file.
Declaration
public static EntryPoints Read(BinaryReader reader)
Parameters
Type | Name | Description |
---|---|---|
BinaryReader | reader | The binary reader. |
Returns
Type | Description |
---|---|
EntryPoints | The read entryPoints. |
SetDefault()
Default shader compiler parameters.
Declaration
public void SetDefault()
Write(BinaryWriter)
Writes EntryPoints to a binary file.
Declaration
public void Write(BinaryWriter writer)
Parameters
Type | Name | Description |
---|---|---|
BinaryWriter | writer | The binary writer. |