using ComputeSharp.Shaders.Renderer.Models.Fields.Abstract; namespace ComputeSharp.Shaders.Renderer.Models.Fields { /// /// A that contains info on a read write buffer field /// internal sealed class ReadWriteBufferFieldInfo : HlslBufferInfo { /// /// Gets whether or not the current instance represents a read write buffer (always ) /// public bool IsReadWriteBuffer { get; } = true; /// /// Creates a new instance with the specified parameters /// /// The type of the current field /// The name of the current field /// The index of the current read write buffer field public ReadWriteBufferFieldInfo(string fieldType, string fieldName, int bufferIndex) : base(fieldType, fieldName, bufferIndex) { } } }