C# 클래스 RedBadger.Xpf.Adapters.Xna.Graphics.PrimitivesService

Provides primitives that XPF requires to render correctly.
상속: IPrimitivesService
파일 보기 프로젝트 열기: redbadger/XPF 1 사용 예제들

공개 메소드들

메소드 설명
PrimitivesService ( GraphicsDevice graphicsDevice ) : Microsoft.Xna.Framework

Initializes a new instance of the PrimitivesService.

비공개 메소드들

메소드 설명
CreateSinglePixel ( GraphicsDevice graphicsDevice, int width, int height, Microsoft.Xna.Framework.Color color ) : Microsoft.Xna.Framework.Graphics.Texture2D

메소드 상세

PrimitivesService() 공개 메소드

Initializes a new instance of the PrimitivesService.
public PrimitivesService ( GraphicsDevice graphicsDevice ) : Microsoft.Xna.Framework
graphicsDevice GraphicsDevice An XNA GraphicsDevice that can be used to generate primitives.
리턴 Microsoft.Xna.Framework