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 { /// /// Creates a new instance with the specified parameters. /// /// The type of the current field in the HLSL shader. /// The name of the current field. /// The index of the current read write buffer field. public ReadWriteBufferFieldInfo(string fieldHlslType, string fieldName, int bufferIndex) : base(fieldHlslType, fieldName, bufferIndex) { } /// /// Gets whether or not the current instance represents a read write buffer (always ). /// public bool IsReadWriteBuffer { get; } = true; } }