C# Class Fusion.Engine.Graphics.GIS.PointsGisLayerCPU

Inheritance: Gis.GisLayer
Show file Open project: demiurghg/FusionEngine

Public Properties

Property Type Description
Flags int
ImageSizeInAtlas System.Vector2
PointsCountToDraw int
PointsDrawOffset int
SizeMultiplier float
TextureAtlas Texture2D

Public Methods

Method Description
AddPoint ( int index, DVector2 lonLat, int typeInd, float size = 0.01f ) : void
Draw ( GameTime gameTime, ConstantBuffer constBuffer ) : void
PointsGisLayerCPU ( Game game, int maxPointsCount, bool isDynamic = true ) : System
UpdatePointsBuffer ( ) : void

Method Details

AddPoint() public method

public AddPoint ( int index, DVector2 lonLat, int typeInd, float size = 0.01f ) : void
index int
lonLat DVector2
typeInd int
size float
return void

Draw() public method

public Draw ( GameTime gameTime, ConstantBuffer constBuffer ) : void
gameTime Fusion.Engine.Common.GameTime
constBuffer ConstantBuffer
return void

PointsGisLayerCPU() public method

public PointsGisLayerCPU ( Game game, int maxPointsCount, bool isDynamic = true ) : System
game Game
maxPointsCount int
isDynamic bool
return System

UpdatePointsBuffer() public method

public UpdatePointsBuffer ( ) : void
return void

Property Details

Flags public property

public int Flags
return int

ImageSizeInAtlas public property

public Vector2,System ImageSizeInAtlas
return System.Vector2

PointsCountToDraw public property

public int PointsCountToDraw
return int

PointsDrawOffset public property

public int PointsDrawOffset
return int

SizeMultiplier public property

public float SizeMultiplier
return float

TextureAtlas public property

public Texture2D TextureAtlas
return Texture2D