Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Getting Started with Metal Shading Language

Getting Started with Metal Shading Language

Nagoya iOS meetup vol. 2

kazuhiro4949

March 16, 2018
Tweet

More Decks by kazuhiro4949

Other Decks in Technology

Transcript

  1. .4- w $ Λϕʔεʹ։ൃ͞ΕͨγΣʔμʔݴޠ w ಠࣗ"UUSJCVUFT͕৭ʑ͋Δ w جຊσʔλߏ଄͸4DBMBS 7FDUPS .BUSJY

    5FYUVSFͳͲγϯϓϧͳ΋ͷ w NFUBMϑΝΠϧͱͯ͠هड़ͯ͠ɺ4XJGUଆ͔ΒίϯύΠϧͨͦ͠ΕΛ3FOEFS1JQFMJOF΁౉͢ w 7FSUFY4IBEFSɾ'SBHNFOU4IBEFSͦΕͧΕ΁ͷΠϯɾΞ΢τΛؔ਺Ͱهड़
  2. .4-ͷֶशํ๏ w جຊతʹ৘ใ͕ͦΕ΄Ͳଟ͘͸ͳ͍ w $16ଆͷॲཧ͸ܾ·͍ͬͯΔͷͰ֮͑Ε͹ऴΘΓ͕ͩɺγΣʔμʔ͸Ͳ͏ֶश͢Ε͹͍͍ͷ͔ w ݴޠͦͷ΋ͷ͸೉͘͠ͳ͍͕ɺͲ͏ܭࢉͨ͠ΒͲ͏දࣔ͞ΕΔͷ͔ཧղ͕͍ͨ͠ w ωοτΛړΔͱ0QFO(-༻ͷγΣʔμʔݴޠ (-4-

    ͔Β.4-΁ͷҠ২ͨ͠ͱ͍͏࿩୊Λݟ͔ ͚Δ w <J04>.FUBMγΣʔμ͜ͱ͸͡Ί8FC(-(-4-ͷ๛෋ͳαϯϓϧΛࢀߟʹ͢Δ IUUQTRJJUBDPNTIVJUFNT EEBCDBCFGD w 6*ʹ.FUBM͕࢖͑ͳ͍͔͍Ζ͍Ζࢼͯ͠Έͨ࿩ IUUQTFOHJOFFSJOHMJOFDPSQDPNKBCMPHEFUBJM
  3. ·ͱΊ ࠳ંͤͣʹ.4-ʹ׳ΕΔͨΊͷखॱ w લఏ w (16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