nn::camera::CTR::Context Enumerated Type

Syntax

enum Context;

Value

Value Description
CONTEXT_NONE Specifies no contexts.
CONTEXT_A Specifies context A.
CONTEXT_B Specifies context B.
CONTEXT_BOTH Specifies both context A and context B.

Description

Enumerated type that indicates the camera context.

Think of a "context" here as a place to save the state for camera settings.

You can save combinations of three settings (resolution, effects, and flipping) in two contexts: A and B. By default, the inner camera and left and right outer cameras all use context A when started.

Contexts are used as follows. If you use the SetSize, SetDetailSize, FlipImage, and SetEffect functions to set the necessary values in context B ahead of time, you can then call the SwitchContext function to switch the current context to context B when those settings are required. It is faster to switch settings in this way than to change camera settings individually on demand.

Revision History

2010/04/09
Added description text.
2010/01/07
Initial version.

CONFIDENTIAL