Green Rock Engine 0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
GREngine.Core.PebbleRenderer.PebbleRenderer Class Reference
Inheritance diagram for GREngine.Core.PebbleRenderer.PebbleRenderer:
Inheritance graph
[legend]
Collaboration diagram for GREngine.Core.PebbleRenderer.PebbleRenderer:
Collaboration graph
[legend]

Public Member Functions

 PebbleRenderer (Game game, GraphicsDeviceManager graphics, int outputWidth, int outputHeight, float renderScale=1, float shadowRenderScale=0.2f)
 
override void Initialize ()
 
void LoadShaders ()
 
void drawDebug (DebugDrawable drawable)
 
void DrawUI (UIDrawable drawable)
 
void setCameraPosition (Vector2 cameraPosition)
 
void lookAt (Vector2 position)
 
Vector2 getCameraPosition ()
 
void addSprite (Sprite sprite)
 
void removeSprite (Sprite sprite)
 
void addLight (Light light)
 
void removeLight (Light light)
 
void addPostProcess (PostProcess postProcess)
 
void removePostProcess (PostProcess postProcess)
 
void addMaterial (Material material)
 
void Draw (GameTime time)
 

Public Attributes

Color ambientLightColor
 

Member Function Documentation

◆ addLight()

void GREngine.Core.PebbleRenderer.PebbleRenderer.addLight ( Light  light)
inline

◆ addMaterial()

void GREngine.Core.PebbleRenderer.PebbleRenderer.addMaterial ( Material  material)
inline

◆ addPostProcess()

void GREngine.Core.PebbleRenderer.PebbleRenderer.addPostProcess ( PostProcess  postProcess)
inline

◆ addSprite()

void GREngine.Core.PebbleRenderer.PebbleRenderer.addSprite ( Sprite  sprite)
inline

◆ drawDebug()

void GREngine.Core.PebbleRenderer.PebbleRenderer.drawDebug ( DebugDrawable  drawable)
inline

◆ DrawUI()

void GREngine.Core.PebbleRenderer.PebbleRenderer.DrawUI ( UIDrawable  drawable)
inline

◆ getCameraPosition()

Vector2 GREngine.Core.PebbleRenderer.PebbleRenderer.getCameraPosition ( )
inline

◆ lookAt()

void GREngine.Core.PebbleRenderer.PebbleRenderer.lookAt ( Vector2  position)
inline

◆ removeLight()

void GREngine.Core.PebbleRenderer.PebbleRenderer.removeLight ( Light  light)
inline

◆ removePostProcess()

void GREngine.Core.PebbleRenderer.PebbleRenderer.removePostProcess ( PostProcess  postProcess)
inline

◆ removeSprite()

void GREngine.Core.PebbleRenderer.PebbleRenderer.removeSprite ( Sprite  sprite)
inline

◆ setCameraPosition()

void GREngine.Core.PebbleRenderer.PebbleRenderer.setCameraPosition ( Vector2  cameraPosition)
inline

The documentation for this class was generated from the following file: