App Hub

코드 샘플 세부 정보

Primitives

제출됨
2007-04-26
코드 샘플

Description:

This sample shows how to implement a PrimitiveBatch class, which can be used to easily draw points, lines, and triangles on the screen.


Sample Overview

Many popular games use a "retro" style that does all of its drawing with points and lines. This sample shows how you can implement a PrimitiveBatch class that can be used to easily draw points, lines, and triangles on the screen. This functionality can be useful not only for drawing a game with a retro style, but also for debugging.



All content and source code downloaded from this page are bound to the Microsoft Permissive License (Ms-PL).

다운로드

프레임워크

GS 4.0

프레임워크

GS 3.1

교육 콘텐츠 찾기
var gDomain='m.webtrends.com'; var gDcsId='dcschd84w10000w4lw9hcqmsz_8n3x'; var gTrackEvents=1; var gFpc='WT_FPC'; /*<\/scr"+"ipt>");} /*]]>*/
DCSIMG