C# Class Pokemon3D.Common.Shapes.SingleColorShapeTextureProvider

Inheritance: ShapeTextureProvider
ファイルを表示 Open project: nilllzz/Pokemon3D Class Usage Examples

Public Methods

Method Description
GetTexture ( Shape shape, object textureData ) : Microsoft.Xna.Framework.Graphics.Texture2D
SingleColorShapeTextureProvider ( ShapeRenderer renderer ) : Microsoft.Xna.Framework

Private Methods

Method Description
CreateTexture ( Shape shape, object textureData ) : Microsoft.Xna.Framework.Graphics.Texture2D

Method Details

GetTexture() public method

public GetTexture ( Shape shape, object textureData ) : Microsoft.Xna.Framework.Graphics.Texture2D
shape Shape
textureData object
return Microsoft.Xna.Framework.Graphics.Texture2D

SingleColorShapeTextureProvider() public method

public SingleColorShapeTextureProvider ( ShapeRenderer renderer ) : Microsoft.Xna.Framework
renderer ShapeRenderer
return Microsoft.Xna.Framework