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