//
//  CRSceneRenderBreak.h
//  CRGraphics
//
//  Created by Yaroslav Glushchenko on 7/2/10.
//  Copyright 2010 Corner-A. All rights reserved.
//


//////////////////////////////////////////////////////////////////////
// Scene preset:
// A library item that store whole scene
//////////////////////////////////////////////////////////////////////
typedef enum {
	CRRenderModeFull,
	CRRenderModeBreakAfterFilter,
	CRRenderModeBreakBeforeFilter,
} CRRenderMode;

@interface CRSceneRenderBreak : NSObject
{
	id				breakSource;
	CRRenderMode	renderMode;
}

@property (readonly) id				breakSource;
@property (readonly) CRRenderMode	renderMode;

- (id)initWithObject:(id)object mode:(CRRenderMode)mode;
+ (id)breakerWithObject:(id)object mode:(CRRenderMode)mode;

@end