csharp
public sealed class IrIndexAccessIndexes an array, vector or matrix with a runtime value.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
m[i] is the i-th column, which is what SPIR-V's access chain and GLSL's [] both give — so it costs nothing in either backend, where a row would cost a gather. Because storage makes the shader's matrix the transpose of the host's, that column is the host matrix's row i, which is also the intuitive reading. See docs/plan/07 § E.
Fields and properties (1)
public IrValue Index
Methods (3)
Used by (7)
- BodyDecoderVixen.Raven
- GlslEmitterVixen.Raven
- IrExtractInstructionVixen.Raven
- IrLoadInstructionVixen.Raven
- LibraryIrEncoderVixen.Raven
- LowererVixen.Raven
- SpirvEmitterVixen.Raven