OmegaEngine API  1.0.3
Namespaces | Classes | Functions
OmegaEngine.Graphics Namespace Reference

Graphics subsystem of the engine. More...

Namespaces

namespace  Cameras
 Different camera types for navigating the world.
 
namespace  Renderables
 Objects rendered in 3D space.
 
namespace  Shaders
 Surface and post-screen shader effects.
 
namespace  VertexDecl
 Structs mapped to DirectX custom vertex formats (for storing additional information per vertex).
 

Classes

class  BufferHelper
 Helper methods for creating, reading from and writing to VertexBuffers and IndexBuffers. More...
 
class  DirectionalLight
 A light source that has no position and shines in one direction. More...
 
class  GlowView
 A SpecialView for rendering glow maps More...
 
interface  ITextureProvider
 An object that can provide a Texture for rendering. More...
 
class  LazyView
 An TextureView that only handles Render when SetDirty has been called. More...
 
class  LightSource
 A light source that illimunates PositionableRenderables in a Scene. More...
 
class  MeshGenerator
 Provides methods for creating meshes of simple geometric shapes (box, sphere, etc.) with texture coordinates. More...
 
class  MeshHelper
 Provides helper methods for optimizing Meshes, calculating normal vectors, adding textures, etc. More...
 
class  PointLight
 A light source that has a fixed position and shines uniformly in all directions. More...
 
class  RenderTarget
 Provides an in-memory area to render to instead of directly painting on the screen. More...
 
class  Scene
 Represents a scene that can be viewed by a Camera. More...
 
class  ShadowView
 A SpecialView for rendering shadow maps More...
 
class  SpecialView
 A common base class for GlowView and ShadowView More...
 
class  SupportView
 A common base class for all View.ChildViews that provide support functionality like water refraction/reflection, glow maps, etc. More...
 
class  TextureView
 A special kind of View that directs its output into a texture RenderTarget instead of printing straight to the screen. More...
 
class  View
 Controls the rendering of a OmegaEngine.Graphics.Scene using a Cameras.Camera. More...
 
class  WaterView
 A SupportView for rendering Water refractions or reflections More...
 
struct  XMaterial
 A combination of textures and lighting parameters. More...
 

Functions

internal delegate LightSource [] GetLights (DoubleVector3 position, float radius)
 Returns an array of LightSources effective for this position More...
 

Detailed Description

Graphics subsystem of the engine.

Function Documentation

◆ GetLights()

internal delegate LightSource [] OmegaEngine.Graphics.GetLights ( DoubleVector3  position,
float  radius 
)

Returns an array of LightSources effective for this position

Parameters
positionThe position to check for effectiveness of light sources
radiusThe additional search radius to use (usually bounding sphere radius)
Returns
An array of light sources, first all DirectionalLights, then all PointLights
See also
Scene.GetEffectiveLights