xna framework layer

posted on 24 Jun 2008 14:33 by xnanoob  in Tutorials

เขียนเกมส์ สอนเขียนเกมส์ XNA Framework ร่วมกับ C# 

ดีค่า XNA Framework layer มีหน้าตายังไง? วันนี้ไปเจอรูปมาเลยเอามาฝากอะค่ะ

จากรูป XNA Framework จะมีอยู่ 4 ชั้นคือ Platform Layer,CoreFramework Layer,Extended Framework  Layer และสุดท้ายคือ Game Layer โดยเรียงลำดับจากชั้นล่างสุด Platform Layer ไปยัง Game Layer ซึ่งเป็นชั้นบนสุด  

Platform
The platform is the lowest layer and consists of the low-level native and managed APIs that the XNA Framework is built on top of.  Some of the APIs included in this layer are Direct3D 9, XACT, XInput, and XContent.
Core Framework
The core framework is the “first” layer of the XNA Framework and provides the core functionality that the other layers extend.  If you had to associate something with Managed DirectX, it would be this layer.  Found here are areas of functionality grouped into Graphics, Audio, Input, Math, and Storage.  As we move forward with the XNA Framework, we'll build out this layer to provide additional functionality.
Extended Framework
The main focus of the extended framework layer is making game development easier.  Currently, this layer has two main components: the Application Model and the Content Pipeline.  As we move forward with the XNA Framework, we'll extend this layer to make it even easier for you to write games and expand the target audience.
Games
Games are the highest layer (even though we're at the bottom of this list!). This layer consists of your game code and content.  Also found here would be things like Starter Kits, templates, and game components.

XNA Framework มีองค์ประกอบเป็นชั้นๆ (Layers) ดังนี้[2]

  • Platform - เป็นชั้นล่างสุดของโครงสร้างของ XNA เป็น low-level native and managed API สำหรับ XNA framework ทั้งหมดเรียกใช้ ส่วนนี้ทำหน้าที่ติดต่อกับฮาร์ดแวร์หรือตัวกลาง เช่น Direct3D, XACT, XInput และ XContent
  • Core Framework - เป็นส่วนที่ทำหน้าที่หลัก (core functionality) เช่น Managed DirectX ส่วนนี้แบ่งการทำงานเป็นกลุ่ม คือ Graphics, Audio, Input, Math และ Storage ส่วนของ XNA อื่นๆคือการขยายการทำงานจากส่วนนี้
  • Extended Framework - เป็นส่วนที่ช่วยอำนวยความสะดวกสำหรับการพัฒนาเกม ในเวอร์ชั่นแรกของ XNA ส่วนนี้ประกอบด้วย Application Model และ Content Pipeline ซึ่งไมโครซอฟต์มีแผนจะเพิ่มส่วนนี้อีกในอนาคต
  • Game - คือตัวเกมเอง ประกอบด้วย code และ content รวมทั้ง starter kits, templates และ game component

เอกสารอ้างอิง XNA Team Blog

[1] http://blogs.msdn.com/xna/archive/2006/08/25/724607.aspx

[2] http://chiangmaigamedev.blogspot.com/2007/07/xna_1358.html

Comment



smilebig smileopen-mounthed smileconfused smilesad smileangry smiletonguequestionembarrassedsurprised smilewinkdouble winkcry