/// <summary> /// Write instruction operands into bytecode stream. /// </summary> /// <param name="writer">Bytecode writer.</param> public override void WriteOperands(WordWriter writer) { RayQuery.Write(writer); Accel.Write(writer); RayFlags.Write(writer); CullMask.Write(writer); RayOrigin.Write(writer); RayTMin.Write(writer); RayDirection.Write(writer); RayTMax.Write(writer); }
/// <summary> /// Write instruction operands into bytecode stream. /// </summary> /// <param name="writer">Bytecode writer.</param> public override void WriteOperands(WordWriter writer) { Accel.Write(writer); RayFlags.Write(writer); CullMask.Write(writer); SBTOffset.Write(writer); SBTStride.Write(writer); MissIndex.Write(writer); RayOrigin.Write(writer); RayTmin.Write(writer); RayDirection.Write(writer); RayTmax.Write(writer); PayloadId.Write(writer); }