Well yes you have 4 main methods to get the citta into samadhi [the normal question is : 4 methods give 4 different samadhi or is it the same samadhi?]
THe most famous is the jhana which is ''abiding in the here and now'' or ''in this very life''
(puthujjanas today love to slap ''present moment'' on any pleasing attempt at their mediation, but for the buddha ''present moment'' means the jhanas. It turns out that the ''pleasant abiding here and now'' for the buddha means being secluded from the senses, so tracking the objects of the senses like puhtujjana claim is the opposite of ''enjoying the present moment''.)
Anapanasati is the typical way to go form puhtujjana to non-puthujjana, first you get to know something, like the body, piti, then get to be sensitive to various sankharas, then as usual you calm all the sankharas that you find, once they are calmed, you try to find out the condition of the pile of garbage that is each aggregate, this quest is what the buddha called yonisomanasikara.
In the night of his awakening, the buddha got 3 vijjās, last one after he directed his citta in samadhi to '' the ending of the mental fermentations'' which means the sankharas. and the citta in samadhi directed to this is the
yonisomanikara or ''the destruction of the āsavas''
but before that he directed his citta into samadhi towards how karma, shankaras and jati are linked, and he says that this is the result of doing the āloka·saññaṃ manasi karoti, so perhaps he did that.
[the normal question is whether the perception of light is the natural light or the light he mentions as in
"This was the first knowledge I attained in the first watch of the
night. Ignorance was destroyed; knowledge arose; darkness was
destroyed; light arose — as happens in one who is heedful, ardent, &
resolute. But the pleasant feeling that arose in this way did not
invade my mind or remain.
Before that, the citta in samadhi from the jhanas was directed towards the countless rebirths.
Before that he get the citta into samadhi with the jhanas.
before that he said he discriminated between sensual thoughts and renunciation thoughts
before that, he did the wrong samadhi that all puthujjanas do: striving to grasp at some objects, not '' imbued with renunciation, abandoning thinking imbued with sensuality'' like he phrases it, which springs various aches...