Synced
ShaderIrBuilder.LoadStorage
Section titled “ShaderIrBuilder.LoadStorage”
- Loads a storage value at this exact point in the block’s memory-effect sequence.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Rendering.Shaders
Scope: Editor
Declaration
Section titled “Declaration”public InnoEditor.Rendering.Shaders.ShaderIrValue InnoEditor.Rendering.Shaders.ShaderIrBuilder.LoadStorage(InnoEditor.Rendering.Shaders.ShaderIrValue resource, InnoEditor.Rendering.Shaders.ShaderIrValue coordinate)Parameters
Section titled “Parameters”Parameter resource: A readable typed storage input.
Parameter coordinate: uint buffer index; int2 image coordinate, or int3 for an image array/volume.
Returns
Section titled “Returns”The declared buffer element or float4 image value.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: The resource is write-only or the coordinate is incompatible.