Struct ShaderCode¶
Namespace: Apogee.Graphics
Assembly: Apogee.Graphics.dll
One shader stage: the compiled code for the device's
public readonly record struct ShaderCode : IEquatable<ShaderCode>
Implements¶
Inherited Members¶
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors¶
ShaderCode(ShaderBackend, byte[], string, ThreadGroupSize?)¶
One shader stage: the compiled code for the device's
public ShaderCode(ShaderBackend Backend, byte[] Code, string EntryPoint, ThreadGroupSize? Group = null)
Parameters¶
Backend ShaderBackend
Code byte[]
EntryPoint string
Group ThreadGroupSize?
Properties¶
Backend¶
public ShaderBackend Backend { get; init; }
Property Value¶
Code¶
public byte[] Code { get; init; }
Property Value¶
byte[]
EntryPoint¶
public string EntryPoint { get; init; }
Property Value¶
Group¶
public ThreadGroupSize? Group { get; init; }