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

API: engine
Project: Inno.Rendering.Shaders

public Inno.Rendering.Shaders.ShaderIrValue Inno.Rendering.Shaders.ShaderIrBuilder.LoadStorage(Inno.Rendering.Shaders.ShaderIrValue resource, Inno.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.