Skip to content

Commit

Permalink
Update Api.md
Browse files Browse the repository at this point in the history
  • Loading branch information
discosultan authored Feb 12, 2017
1 parent fbe170d commit d29a533
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Documentation/Api.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ Gets or sets the color of the light. Color is in non-premultiplied format. Defau

Gets or sets if the light is enabled and should be rendered.

### IgnoredHulls

Gets a list of hulls not participating in the light's shadow casting process.

### Intensity

Gets or sets the intensity of the color applied to the final scene. Color will be raised to the power of intensity.
Expand Down Expand Up @@ -179,6 +183,10 @@ Sets up the lightmap generation sequence. This should be called before Draw.

Gets or sets if debug outlines should be drawn for shadows and light sources and if logging is enabled.

### DiffuseMap

Gets the diffuse map render target used by Penumbra.

### Draw(gameTime)

Generates the lightmap, blends it with whatever was drawn to the scene between the calls to BeginDraw and this and presents the result to the backbuffer.
Expand All @@ -195,6 +203,10 @@ Gets the list of shadow hulls registered with the engine.

Explicitly initializes the engine. This should only be called if the component was not added to the game's components list through `Components.Add`.

### LightMap

Gets the lightmap render target used by Penumbra.

### Lights

Gets the list of lights registered with the engine.
Expand Down

0 comments on commit d29a533

Please sign in to comment.