AtomicNET : AtomicEngine Namespace

View Class

Internal structure for 3D rendering work. Created for each backbuffer and texture viewport, but not for shadow cameras.

Syntax

public class View : AObject

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Members

See Also: Inherited members from AObject.

Public Constructors

View ()
Documentation for this section has not yet been entered.
Construct.

Public Fields

nativeInstance IntPtr . Documentation for this section has not yet been entered. (Inherited from RefCounted.)

Public Properties

[read-only]
Camera Camera . Documentation for this section has not yet been entered.
[write-only]
CameraShaderParameters Camera . Documentation for this section has not yet been entered.
[read-only]
Category string . Documentation for this section has not yet been entered. (Inherited from AObject.)
[read-only]
Context Context . Documentation for this section has not yet been entered. (Inherited from AObject.)
[read-only]
CullCamera Camera . Documentation for this section has not yet been entered.
[read-only]
DrawDebug bool . Documentation for this section has not yet been entered.
[read-only]
EventSender AObject . Documentation for this section has not yet been entered. (Inherited from AObject.)
[read-only]
Geometries Vector<Drawable> . Documentation for this section has not yet been entered.
[read-only]
Graphics Graphics . Documentation for this section has not yet been entered.
InstantiationType InstantiationType . Documentation for this section has not yet been entered. (Inherited from RefCounted.)
[read-only]
Lights Vector<Light> . Documentation for this section has not yet been entered.
[read-only]
NativeInstance IntPtr . Documentation for this section has not yet been entered. (Inherited from RefCounted.)
[read-only]
NumActiveOccluders uint . Documentation for this section has not yet been entered.
[read-only]
Occluders Vector<Drawable> . Documentation for this section has not yet been entered.
[read-only]
Octree Octree . Documentation for this section has not yet been entered.
[read-only]
Renderer Renderer . Documentation for this section has not yet been entered.
[read-only]
RenderTarget RenderSurface . Documentation for this section has not yet been entered.
[read-only]
Scene Scene . Documentation for this section has not yet been entered.
[read-only]
SourceView View . Documentation for this section has not yet been entered.
[read-only]
TypeName string . Documentation for this section has not yet been entered. (Inherited from AObject.)
[read-only]
TypeName string . Documentation for this section has not yet been entered. (Inherited from RefCounted.)
[read-only]
TypeNameStatic string . Documentation for this section has not yet been entered. (Inherited from AObject.)
[read-only]
ViewRect IntRect . Documentation for this section has not yet been entered.
[read-only]
ViewSize IntVector2 . Documentation for this section has not yet been entered.

Public Methods

AddRef ()
Increment reference count. Can also be called outside of a SharedPtr for traditional reference counting. (Inherited from RefCounted.)
AddRefSilent ()
Increment reference count. Do not call any lifetime book keeping (Inherited from RefCounted.)
static
csb_Atomic_View_GetClassIDStatic () : IntPtr
Documentation for this section has not yet been entered.
Define (RenderSurface, Viewport) : bool
Define with rendertarget and viewport. Return true if successful.
DrawFullscreenQuad (bool)
Draw a fullscreen quad. Shaders and renderstates must have been set beforehand. Quad will be drawn to the middle of depth range, similarly to deferred directional lights.
FindNamedTexture (string, bool, bool) : Texture
Get a named texture from the rendertarget list or from the resource cache, to be either used as a rendertarget or texture binding.
GetCamera () : Camera
Return viewport camera.
GetCategory () : string
Return object category. Categories are (optionally) registered along with the object factory. Return an empty string if the object category is not registered. (Inherited from AObject.)
GetContext () : Context
Return execution context. (Inherited from AObject.)
GetCullCamera () : Camera
Return culling camera. Normally same as the viewport camera.
GetDrawDebug () : bool
Return whether should draw debug geometry.
GetEventSender () : AObject
Return active event sender. Null outside event handling. (Inherited from AObject.)
GetGeometries () : Vector<Drawable>
Return geometry objects.
GetGraphics () : Graphics
Return graphics subsystem.
GetInstantiationType () : InstantiationType
Documentation for this section has not yet been entered. (Inherited from RefCounted.)
GetLights () : Vector<Light>
Return lights.
GetNumActiveOccluders () : uint
Return number of occluders that were actually rendered. Occluders may be rejected if running out of triangles or if behind other occluders.
GetOccluders () : Vector<Drawable>
Return occluder objects.
GetOctree () : Octree
Return octree.
GetRenderer () : Renderer
Return renderer subsystem.
GetRenderTarget () : RenderSurface
Return the rendertarget. 0 if using the backbuffer.
GetScene () : Scene
Return scene.
GetSourceView () : View
Return the source view that was already prepared. Used when viewports specify the same culling camera.
GetSubsystem (StringHash) : AObject
Return subsystem by type. (Inherited from AObject.)
override
GetTypeName () : string
Return type name. (Inherited from AObject.)
GetTypeName () : string
Documentation for this section has not yet been entered. (Inherited from RefCounted.)
GetViewRect () : IntRect
Return view rectangle.
GetViewSize () : IntVector2
Return view dimensions.
HasEventHandlers () : bool
Return whether has subscribed to any event. (Inherited from AObject.)
HasSubscribedToEvent (StringHash) : bool
Return whether has subscribed to an event without specific sender. (Inherited from AObject.)
HasSubscribedToEvent (AObject, StringHash) : bool
Return whether has subscribed to a specific sender's event. (Inherited from AObject.)
IsInstanceOf (StringHash) : bool
Check current instance is type of specified type. (Inherited from AObject.)
override
IsObject () : bool
Documentation for this section has not yet been entered. (Inherited from AObject.)
IsObject () : bool
Documentation for this section has not yet been entered. (Inherited from RefCounted.)
Refs () : int
Return reference count. (Inherited from RefCounted.)
ReleaseRef ()
Decrement reference count and delete self if no more references. Can also be called outside of a SharedPtr for traditional reference counting. (Inherited from RefCounted.)
Render ()
Render batches.
SendEvent (string, ScriptVariantMap)
Documentation for this section has not yet been entered. (Inherited from AObject.)
SetCameraShaderParameters (Camera)
Set camera-specific shader parameters. Called by Batch and internally by View.
SetGBufferShaderParameters (IntVector2, IntRect)
Set G-buffer offset and inverse size shader parameters. Called by Batch and internally by View.
SetGlobalShaderParameters ()
Set global (per-frame) shader parameters. Called by Batch and internally by View.
SetInstantiationType (InstantiationType)
Documentation for this section has not yet been entered. (Inherited from RefCounted.)
SubscribeToEvent (string, EventDelegate)
Documentation for this section has not yet been entered. (Inherited from AObject.)
SubscribeToEvent (uint, EventDelegate)
Documentation for this section has not yet been entered. (Inherited from AObject.)
SubscribeToEvent (AObject, string, EventDelegate)
Documentation for this section has not yet been entered. (Inherited from AObject.)
SubscribeToEvent (AObject, uint, EventDelegate)
Documentation for this section has not yet been entered. (Inherited from AObject.)
SubscribeToEvent<T> (NativeEventDelegate<T>)
Documentation for this section has not yet been entered. (Inherited from AObject.)
SubscribeToEvent<T> (AObject, NativeEventDelegate<T>)
Documentation for this section has not yet been entered. (Inherited from AObject.)
UnsubscribeFromAllEvents ()
Documentation for this section has not yet been entered. (Inherited from AObject.)
UnsubscribeFromEvent (StringHash)
Unsubscribe from an event. (Inherited from AObject.)
UnsubscribeFromEvent (uint)
Documentation for this section has not yet been entered. (Inherited from AObject.)
UnsubscribeFromEvent (AObject, StringHash)
Unsubscribe from a specific sender's event. (Inherited from AObject.)
UnsubscribeFromEvent<T> ()
Documentation for this section has not yet been entered. (Inherited from AObject.)
UnsubscribeFromEventReceiver (AObject)
Unsubscribe from event for specific receiver (where the event handler isn't necessarily in the subscribed object) (Inherited from AObject.)
UnsubscribeFromEvents (AObject)
Unsubscribe from a specific sender's events. (Inherited from AObject.)
WeakRefs () : int
Return weak reference count. (Inherited from RefCounted.)

Member Details

View Constructor

Documentation for this section has not yet been entered.

Syntax

public View ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

View Constructor

Construct.

Syntax

public View (IntPtr native)

Parameters

native
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Camera Property

Documentation for this section has not yet been entered.

Syntax

public Camera Camera { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

CameraShaderParameters Property

Documentation for this section has not yet been entered.

Syntax

public Camera CameraShaderParameters { set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

csb_Atomic_View_GetClassIDStatic Method

Documentation for this section has not yet been entered.

Syntax

public static IntPtr csb_Atomic_View_GetClassIDStatic ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

CullCamera Property

Documentation for this section has not yet been entered.

Syntax

public Camera CullCamera { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Define Method

Define with rendertarget and viewport. Return true if successful.

Syntax

public bool Define (RenderSurface renderTarget, Viewport viewport)

Parameters

renderTarget
Documentation for this section has not yet been entered.
viewport
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

DrawDebug Property

Documentation for this section has not yet been entered.

Syntax

public bool DrawDebug { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

DrawFullscreenQuad Method

Draw a fullscreen quad. Shaders and renderstates must have been set beforehand. Quad will be drawn to the middle of depth range, similarly to deferred directional lights.

Syntax

public void DrawFullscreenQuad (bool setIdentityProjection)

Parameters

setIdentityProjection
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

FindNamedTexture Method

Get a named texture from the rendertarget list or from the resource cache, to be either used as a rendertarget or texture binding.

Syntax

public Texture FindNamedTexture (string name, bool isRenderTarget, bool isVolumeMap)

Parameters

name
Documentation for this section has not yet been entered.
isRenderTarget
Documentation for this section has not yet been entered.
isVolumeMap
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Geometries Property

Documentation for this section has not yet been entered.

Syntax

public Vector<Drawable> Geometries { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetCamera Method

Return viewport camera.

Syntax

public Camera GetCamera ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetCullCamera Method

Return culling camera. Normally same as the viewport camera.

Syntax

public Camera GetCullCamera ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetDrawDebug Method

Return whether should draw debug geometry.

Syntax

public bool GetDrawDebug ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetGeometries Method

Return geometry objects.

Syntax

public Vector<Drawable> GetGeometries ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetGraphics Method

Return graphics subsystem.

Syntax

public Graphics GetGraphics ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetLights Method

Return lights.

Syntax

public Vector<Light> GetLights ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetNumActiveOccluders Method

Return number of occluders that were actually rendered. Occluders may be rejected if running out of triangles or if behind other occluders.

Syntax

public uint GetNumActiveOccluders ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetOccluders Method

Return occluder objects.

Syntax

public Vector<Drawable> GetOccluders ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetOctree Method

Return octree.

Syntax

public Octree GetOctree ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetRenderer Method

Return renderer subsystem.

Syntax

public Renderer GetRenderer ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetRenderTarget Method

Return the rendertarget. 0 if using the backbuffer.

Syntax

public RenderSurface GetRenderTarget ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetScene Method

Return scene.

Syntax

public Scene GetScene ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetSourceView Method

Return the source view that was already prepared. Used when viewports specify the same culling camera.

Syntax

public View GetSourceView ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetViewRect Method

Return view rectangle.

Syntax

public IntRect GetViewRect ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetViewSize Method

Return view dimensions.

Syntax

public IntVector2 GetViewSize ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Graphics Property

Documentation for this section has not yet been entered.

Syntax

public Graphics Graphics { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Lights Property

Documentation for this section has not yet been entered.

Syntax

public Vector<Light> Lights { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

NumActiveOccluders Property

Documentation for this section has not yet been entered.

Syntax

public uint NumActiveOccluders { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Occluders Property

Documentation for this section has not yet been entered.

Syntax

public Vector<Drawable> Occluders { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Octree Property

Documentation for this section has not yet been entered.

Syntax

public Octree Octree { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Render Method

Render batches.

Syntax

public void Render ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Renderer Property

Documentation for this section has not yet been entered.

Syntax

public Renderer Renderer { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

RenderTarget Property

Documentation for this section has not yet been entered.

Syntax

public RenderSurface RenderTarget { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Scene Property

Documentation for this section has not yet been entered.

Syntax

public Scene Scene { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetCameraShaderParameters Method

Set camera-specific shader parameters. Called by Batch and internally by View.

Syntax

public void SetCameraShaderParameters (Camera camera)

Parameters

camera
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetGBufferShaderParameters Method

Set G-buffer offset and inverse size shader parameters. Called by Batch and internally by View.

Syntax

public void SetGBufferShaderParameters (IntVector2 texSize, IntRect viewRect)

Parameters

texSize
Documentation for this section has not yet been entered.
viewRect
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetGlobalShaderParameters Method

Set global (per-frame) shader parameters. Called by Batch and internally by View.

Syntax

public void SetGlobalShaderParameters ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SourceView Property

Documentation for this section has not yet been entered.

Syntax

public View SourceView { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

ViewRect Property

Documentation for this section has not yet been entered.

Syntax

public IntRect ViewRect { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

ViewSize Property

Documentation for this section has not yet been entered.

Syntax

public IntVector2 ViewSize { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0