Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Loads a storage value at this exact point in the block’s memory-effect sequence.

API: scripting
Project: Inno.Rendering.Shaders
Scope: Editor

public InnoEditor.Rendering.Shaders.ShaderIrValue InnoEditor.Rendering.Shaders.ShaderIrBuilder.LoadStorage(InnoEditor.Rendering.Shaders.ShaderIrValue resource, InnoEditor.Rendering.Shaders.ShaderIrValue coordinate)

Parameter resource: A readable typed storage input.

Parameter coordinate: uint buffer index; int2 image coordinate, or int3 for an image array/volume.

The declared buffer element or float4 image value.

Exception T:System.ArgumentException: The resource is write-only or the coordinate is incompatible.