
/* Automatically generated struct definitions for the Data API.
 * Do not edit manually, changes will be overwritten.           */

#define RNA_RUNTIME

#include <float.h>
#include <stdio.h>
#include <limits.h>
#include <string.h>

#include <stddef.h>

#include "MEM_guardedalloc.h"

#include "DNA_ID.h"
#include "DNA_scene_types.h"
#include "BLI_blenlib.h"

#include "BLI_utildefines.h"

#include "BKE_context.h"
#include "BKE_library.h"
#include "BKE_main.h"
#include "BKE_report.h"
#include "RNA_define.h"
#include "RNA_types.h"
#include "rna_internal.h"

#include "rna_prototypes_gen.h"

#include "rna_render.c"

/* Autogenerated Functions */


CollectionPropertyRNA rna_RenderEngine_rna_properties;
PointerPropertyRNA rna_RenderEngine_rna_type;
BoolPropertyRNA rna_RenderEngine_is_animation;
BoolPropertyRNA rna_RenderEngine_is_preview;
PointerPropertyRNA rna_RenderEngine_camera_override;
BoolPropertyRNA rna_RenderEngine_layer_override;
IntPropertyRNA rna_RenderEngine_tile_x;
IntPropertyRNA rna_RenderEngine_tile_y;
IntPropertyRNA rna_RenderEngine_resolution_x;
IntPropertyRNA rna_RenderEngine_resolution_y;
PointerPropertyRNA rna_RenderEngine_render;
BoolPropertyRNA rna_RenderEngine_use_highlight_tiles;
StringPropertyRNA rna_RenderEngine_bl_idname;
StringPropertyRNA rna_RenderEngine_bl_label;
BoolPropertyRNA rna_RenderEngine_bl_use_preview;
BoolPropertyRNA rna_RenderEngine_bl_use_texture_preview;
BoolPropertyRNA rna_RenderEngine_bl_use_postprocess;
BoolPropertyRNA rna_RenderEngine_bl_use_shading_nodes;
BoolPropertyRNA rna_RenderEngine_bl_use_shading_nodes_custom;
BoolPropertyRNA rna_RenderEngine_bl_use_exclude_layers;
BoolPropertyRNA rna_RenderEngine_bl_use_save_buffers;
BoolPropertyRNA rna_RenderEngine_bl_use_spherical_stereo;

extern FunctionRNA rna_RenderEngine_update_func;
extern PointerPropertyRNA rna_RenderEngine_update_data;
extern PointerPropertyRNA rna_RenderEngine_update_scene;

extern FunctionRNA rna_RenderEngine_render_func;
extern PointerPropertyRNA rna_RenderEngine_render_scene;

extern FunctionRNA rna_RenderEngine_bake_func;
extern PointerPropertyRNA rna_RenderEngine_bake_scene;
extern PointerPropertyRNA rna_RenderEngine_bake_object;
extern EnumPropertyRNA rna_RenderEngine_bake_pass_type;
extern IntPropertyRNA rna_RenderEngine_bake_pass_filter;
extern IntPropertyRNA rna_RenderEngine_bake_object_id;
extern PointerPropertyRNA rna_RenderEngine_bake_pixel_array;
extern IntPropertyRNA rna_RenderEngine_bake_num_pixels;
extern IntPropertyRNA rna_RenderEngine_bake_depth;
extern PointerPropertyRNA rna_RenderEngine_bake_result;

extern FunctionRNA rna_RenderEngine_view_update_func;
extern PointerPropertyRNA rna_RenderEngine_view_update_context;

extern FunctionRNA rna_RenderEngine_view_draw_func;
extern PointerPropertyRNA rna_RenderEngine_view_draw_context;

extern FunctionRNA rna_RenderEngine_update_script_node_func;
extern PointerPropertyRNA rna_RenderEngine_update_script_node_node;

extern FunctionRNA rna_RenderEngine_tag_redraw_func;
extern FunctionRNA rna_RenderEngine_tag_update_func;
extern FunctionRNA rna_RenderEngine_begin_result_func;
extern IntPropertyRNA rna_RenderEngine_begin_result_x;
extern IntPropertyRNA rna_RenderEngine_begin_result_y;
extern IntPropertyRNA rna_RenderEngine_begin_result_w;
extern IntPropertyRNA rna_RenderEngine_begin_result_h;
extern StringPropertyRNA rna_RenderEngine_begin_result_layer;
extern StringPropertyRNA rna_RenderEngine_begin_result_view;
extern PointerPropertyRNA rna_RenderEngine_begin_result_result;

extern FunctionRNA rna_RenderEngine_update_result_func;
extern PointerPropertyRNA rna_RenderEngine_update_result_result;

extern FunctionRNA rna_RenderEngine_end_result_func;
extern PointerPropertyRNA rna_RenderEngine_end_result_result;
extern BoolPropertyRNA rna_RenderEngine_end_result_cancel;
extern BoolPropertyRNA rna_RenderEngine_end_result_do_merge_results;

extern FunctionRNA rna_RenderEngine_test_break_func;
extern BoolPropertyRNA rna_RenderEngine_test_break_do_break;

extern FunctionRNA rna_RenderEngine_active_view_get_func;
extern StringPropertyRNA rna_RenderEngine_active_view_get_view;

extern FunctionRNA rna_RenderEngine_active_view_set_func;
extern StringPropertyRNA rna_RenderEngine_active_view_set_view;

extern FunctionRNA rna_RenderEngine_camera_shift_x_func;
extern PointerPropertyRNA rna_RenderEngine_camera_shift_x_camera;
extern BoolPropertyRNA rna_RenderEngine_camera_shift_x_use_spherical_stereo;
extern FloatPropertyRNA rna_RenderEngine_camera_shift_x_shift_x;

extern FunctionRNA rna_RenderEngine_camera_model_matrix_func;
extern PointerPropertyRNA rna_RenderEngine_camera_model_matrix_camera;
extern BoolPropertyRNA rna_RenderEngine_camera_model_matrix_use_spherical_stereo;
extern FloatPropertyRNA rna_RenderEngine_camera_model_matrix_r_model_matrix;

extern FunctionRNA rna_RenderEngine_use_spherical_stereo_func;
extern PointerPropertyRNA rna_RenderEngine_use_spherical_stereo_camera;
extern BoolPropertyRNA rna_RenderEngine_use_spherical_stereo_use_spherical_stereo;

extern FunctionRNA rna_RenderEngine_update_stats_func;
extern StringPropertyRNA rna_RenderEngine_update_stats_stats;
extern StringPropertyRNA rna_RenderEngine_update_stats_info;

extern FunctionRNA rna_RenderEngine_frame_set_func;
extern IntPropertyRNA rna_RenderEngine_frame_set_frame;
extern FloatPropertyRNA rna_RenderEngine_frame_set_subframe;

extern FunctionRNA rna_RenderEngine_update_progress_func;
extern FloatPropertyRNA rna_RenderEngine_update_progress_progress;

extern FunctionRNA rna_RenderEngine_update_memory_stats_func;
extern FloatPropertyRNA rna_RenderEngine_update_memory_stats_memory_used;
extern FloatPropertyRNA rna_RenderEngine_update_memory_stats_memory_peak;

extern FunctionRNA rna_RenderEngine_report_func;
extern EnumPropertyRNA rna_RenderEngine_report_type;
extern StringPropertyRNA rna_RenderEngine_report_message;

extern FunctionRNA rna_RenderEngine_error_set_func;
extern StringPropertyRNA rna_RenderEngine_error_set_message;

extern FunctionRNA rna_RenderEngine_bind_display_space_shader_func;
extern PointerPropertyRNA rna_RenderEngine_bind_display_space_shader_scene;

extern FunctionRNA rna_RenderEngine_unbind_display_space_shader_func;
extern FunctionRNA rna_RenderEngine_support_display_space_shader_func;
extern PointerPropertyRNA rna_RenderEngine_support_display_space_shader_scene;
extern BoolPropertyRNA rna_RenderEngine_support_display_space_shader_supported;



CollectionPropertyRNA rna_RenderResult_rna_properties;
PointerPropertyRNA rna_RenderResult_rna_type;
IntPropertyRNA rna_RenderResult_resolution_x;
IntPropertyRNA rna_RenderResult_resolution_y;
CollectionPropertyRNA rna_RenderResult_layers;
CollectionPropertyRNA rna_RenderResult_views;

extern FunctionRNA rna_RenderResult_load_from_file_func;
extern StringPropertyRNA rna_RenderResult_load_from_file_filename;



CollectionPropertyRNA rna_RenderView_rna_properties;
PointerPropertyRNA rna_RenderView_rna_type;
StringPropertyRNA rna_RenderView_name;


CollectionPropertyRNA rna_RenderLayer_rna_properties;
PointerPropertyRNA rna_RenderLayer_rna_type;
StringPropertyRNA rna_RenderLayer_name;
PointerPropertyRNA rna_RenderLayer_material_override;
PointerPropertyRNA rna_RenderLayer_light_override;
BoolPropertyRNA rna_RenderLayer_layers;
BoolPropertyRNA rna_RenderLayer_layers_zmask;
BoolPropertyRNA rna_RenderLayer_layers_exclude;
BoolPropertyRNA rna_RenderLayer_use;
BoolPropertyRNA rna_RenderLayer_use_zmask;
BoolPropertyRNA rna_RenderLayer_invert_zmask;
BoolPropertyRNA rna_RenderLayer_use_all_z;
BoolPropertyRNA rna_RenderLayer_use_solid;
BoolPropertyRNA rna_RenderLayer_use_halo;
BoolPropertyRNA rna_RenderLayer_use_ztransp;
BoolPropertyRNA rna_RenderLayer_use_sky;
BoolPropertyRNA rna_RenderLayer_use_ao;
BoolPropertyRNA rna_RenderLayer_use_edge_enhance;
BoolPropertyRNA rna_RenderLayer_use_strand;
BoolPropertyRNA rna_RenderLayer_use_freestyle;
BoolPropertyRNA rna_RenderLayer_use_pass_combined;
BoolPropertyRNA rna_RenderLayer_use_pass_z;
BoolPropertyRNA rna_RenderLayer_use_pass_vector;
BoolPropertyRNA rna_RenderLayer_use_pass_normal;
BoolPropertyRNA rna_RenderLayer_use_pass_uv;
BoolPropertyRNA rna_RenderLayer_use_pass_mist;
BoolPropertyRNA rna_RenderLayer_use_pass_object_index;
BoolPropertyRNA rna_RenderLayer_use_pass_material_index;
BoolPropertyRNA rna_RenderLayer_use_pass_color;
BoolPropertyRNA rna_RenderLayer_use_pass_diffuse;
BoolPropertyRNA rna_RenderLayer_use_pass_specular;
BoolPropertyRNA rna_RenderLayer_use_pass_shadow;
BoolPropertyRNA rna_RenderLayer_use_pass_ambient_occlusion;
BoolPropertyRNA rna_RenderLayer_use_pass_reflection;
BoolPropertyRNA rna_RenderLayer_use_pass_refraction;
BoolPropertyRNA rna_RenderLayer_use_pass_emit;
BoolPropertyRNA rna_RenderLayer_use_pass_environment;
BoolPropertyRNA rna_RenderLayer_use_pass_indirect;
BoolPropertyRNA rna_RenderLayer_exclude_specular;
BoolPropertyRNA rna_RenderLayer_exclude_shadow;
BoolPropertyRNA rna_RenderLayer_exclude_ambient_occlusion;
BoolPropertyRNA rna_RenderLayer_exclude_reflection;
BoolPropertyRNA rna_RenderLayer_exclude_refraction;
BoolPropertyRNA rna_RenderLayer_exclude_emit;
BoolPropertyRNA rna_RenderLayer_exclude_environment;
BoolPropertyRNA rna_RenderLayer_exclude_indirect;
BoolPropertyRNA rna_RenderLayer_use_pass_diffuse_direct;
BoolPropertyRNA rna_RenderLayer_use_pass_diffuse_indirect;
BoolPropertyRNA rna_RenderLayer_use_pass_diffuse_color;
BoolPropertyRNA rna_RenderLayer_use_pass_glossy_direct;
BoolPropertyRNA rna_RenderLayer_use_pass_glossy_indirect;
BoolPropertyRNA rna_RenderLayer_use_pass_glossy_color;
BoolPropertyRNA rna_RenderLayer_use_pass_transmission_direct;
BoolPropertyRNA rna_RenderLayer_use_pass_transmission_indirect;
BoolPropertyRNA rna_RenderLayer_use_pass_transmission_color;
BoolPropertyRNA rna_RenderLayer_use_pass_subsurface_direct;
BoolPropertyRNA rna_RenderLayer_use_pass_subsurface_indirect;
BoolPropertyRNA rna_RenderLayer_use_pass_subsurface_color;
CollectionPropertyRNA rna_RenderLayer_passes;

extern FunctionRNA rna_RenderLayer_load_from_file_func;
extern StringPropertyRNA rna_RenderLayer_load_from_file_filename;
extern IntPropertyRNA rna_RenderLayer_load_from_file_x;
extern IntPropertyRNA rna_RenderLayer_load_from_file_y;



CollectionPropertyRNA rna_RenderPasses_rna_properties;
PointerPropertyRNA rna_RenderPasses_rna_type;

extern FunctionRNA rna_RenderPasses_find_by_type_func;
extern EnumPropertyRNA rna_RenderPasses_find_by_type_pass_type;
extern StringPropertyRNA rna_RenderPasses_find_by_type_view;
extern PointerPropertyRNA rna_RenderPasses_find_by_type_render_pass;



CollectionPropertyRNA rna_RenderPass_rna_properties;
PointerPropertyRNA rna_RenderPass_rna_type;
StringPropertyRNA rna_RenderPass_name;
StringPropertyRNA rna_RenderPass_channel_id;
IntPropertyRNA rna_RenderPass_channels;
EnumPropertyRNA rna_RenderPass_type;
FloatPropertyRNA rna_RenderPass_rect;
IntPropertyRNA rna_RenderPass_view_id;
EnumPropertyRNA rna_RenderPass_debug_type;


CollectionPropertyRNA rna_BakePixel_rna_properties;
PointerPropertyRNA rna_BakePixel_rna_type;
IntPropertyRNA rna_BakePixel_primitive_id;
IntPropertyRNA rna_BakePixel_object_id;
FloatPropertyRNA rna_BakePixel_uv;
FloatPropertyRNA rna_BakePixel_du_dx;
FloatPropertyRNA rna_BakePixel_du_dy;
FloatPropertyRNA rna_BakePixel_dv_dx;
FloatPropertyRNA rna_BakePixel_dv_dy;
PointerPropertyRNA rna_BakePixel_next;

static PointerRNA RenderEngine_rna_properties_get(CollectionPropertyIterator *iter)
{
	return rna_builtin_properties_get(iter);
}

void RenderEngine_rna_properties_begin(CollectionPropertyIterator *iter, PointerRNA *ptr)
{

	memset(iter, 0, sizeof(*iter));
	iter->parent = *ptr;
	iter->prop = (PropertyRNA *)&rna_RenderEngine_rna_properties;

	rna_builtin_properties_begin(iter, ptr);

	if (iter->valid)
		iter->ptr = RenderEngine_rna_properties_get(iter);
}

void RenderEngine_rna_properties_next(CollectionPropertyIterator *iter)
{
	rna_builtin_properties_next(iter);

	if (iter->valid)
		iter->ptr = RenderEngine_rna_properties_get(iter);
}

void RenderEngine_rna_properties_end(CollectionPropertyIterator *iter)
{
	rna_iterator_listbase_end(iter);
}

int RenderEngine_rna_properties_lookup_string(PointerRNA *ptr, const char *key, PointerRNA *r_ptr)
{
	return rna_builtin_properties_lookup_string(ptr, key, r_ptr);
}

PointerRNA RenderEngine_rna_type_get(PointerRNA *ptr)
{
	return rna_builtin_type_get(ptr);
}

int RenderEngine_is_animation_get(PointerRNA *ptr)
{
	RenderEngine *data = (RenderEngine *)(ptr->data);
	return (((data->flag) & 1) != 0);
}

void RenderEngine_is_animation_set(PointerRNA *ptr, int value)
{
	RenderEngine *data = (RenderEngine *)(ptr->data);
	if (value) data->flag |= 1;
	else data->flag &= ~1;
}

int RenderEngine_is_preview_get(PointerRNA *ptr)
{
	RenderEngine *data = (RenderEngine *)(ptr->data);
	return (((data->flag) & 2) != 0);
}

void RenderEngine_is_preview_set(PointerRNA *ptr, int value)
{
	RenderEngine *data = (RenderEngine *)(ptr->data);
	if (value) data->flag |= 2;
	else data->flag &= ~2;
}

PointerRNA RenderEngine_camera_override_get(PointerRNA *ptr)
{
	return rna_RenderEngine_camera_override_get(ptr);
}

void RenderEngine_layer_override_get(PointerRNA *ptr, int values[20])
{
	RenderEngine *data = (RenderEngine *)(ptr->data);
	unsigned int i;

	for (i = 0; i < 20; i++) {
		values[i] = ((data->layer_override & (1u << i)) != 0);
	}
}

void RenderEngine_layer_override_set(PointerRNA *ptr, const int values[20])
{
	RenderEngine *data = (RenderEngine *)(ptr->data);
	unsigned int i;

	for (i = 0; i < 20; i++) {
		if (values[i]) data->layer_override |= (1u << i);
		else data->layer_override &= ~(1u << i);
	}
}

int RenderEngine_tile_x_get(PointerRNA *ptr)
{
	RenderEngine *data = (RenderEngine *)(ptr->data);
	return (int)(data->tile_x);
}

void RenderEngine_tile_x_set(PointerRNA *ptr, int value)
{
	RenderEngine *data = (RenderEngine *)(ptr->data);
	data->tile_x = CLAMPIS(value, 0, INT_MAX);
}

int RenderEngine_tile_y_get(PointerRNA *ptr)
{
	RenderEngine *data = (RenderEngine *)(ptr->data);
	return (int)(data->tile_y);
}

void RenderEngine_tile_y_set(PointerRNA *ptr, int value)
{
	RenderEngine *data = (RenderEngine *)(ptr->data);
	data->tile_y = CLAMPIS(value, 0, INT_MAX);
}

int RenderEngine_resolution_x_get(PointerRNA *ptr)
{
	RenderEngine *data = (RenderEngine *)(ptr->data);
	return (int)(data->resolution_x);
}

int RenderEngine_resolution_y_get(PointerRNA *ptr)
{
	RenderEngine *data = (RenderEngine *)(ptr->data);
	return (int)(data->resolution_y);
}

PointerRNA RenderEngine_render_get(PointerRNA *ptr)
{
	return rna_RenderEngine_render_get(ptr);
}

int RenderEngine_use_highlight_tiles_get(PointerRNA *ptr)
{
	RenderEngine *data = (RenderEngine *)(ptr->data);
	return (((data->flag) & 32) != 0);
}

void RenderEngine_use_highlight_tiles_set(PointerRNA *ptr, int value)
{
	RenderEngine *data = (RenderEngine *)(ptr->data);
	if (value) data->flag |= 32;
	else data->flag &= ~32;
}

void RenderEngine_bl_idname_get(PointerRNA *ptr, char *value)
{
	RenderEngine *data = (RenderEngine *)(ptr->data);
	BLI_strncpy_utf8(value, data->type->idname, sizeof(data->type->idname));
}

int RenderEngine_bl_idname_length(PointerRNA *ptr)
{
	RenderEngine *data = (RenderEngine *)(ptr->data);
	return strlen(data->type->idname);
}

void RenderEngine_bl_idname_set(PointerRNA *ptr, const char *value)
{
	RenderEngine *data = (RenderEngine *)(ptr->data);
	BLI_strncpy_utf8(data->type->idname, value, sizeof(data->type->idname));
}

void RenderEngine_bl_label_get(PointerRNA *ptr, char *value)
{
	RenderEngine *data = (RenderEngine *)(ptr->data);
	BLI_strncpy_utf8(value, data->type->name, sizeof(data->type->name));
}

int RenderEngine_bl_label_length(PointerRNA *ptr)
{
	RenderEngine *data = (RenderEngine *)(ptr->data);
	return strlen(data->type->name);
}

void RenderEngine_bl_label_set(PointerRNA *ptr, const char *value)
{
	RenderEngine *data = (RenderEngine *)(ptr->data);
	BLI_strncpy_utf8(data->type->name, value, sizeof(data->type->name));
}

int RenderEngine_bl_use_preview_get(PointerRNA *ptr)
{
	RenderEngine *data = (RenderEngine *)(ptr->data);
	return (((data->type->flag) & 4) != 0);
}

void RenderEngine_bl_use_preview_set(PointerRNA *ptr, int value)
{
	RenderEngine *data = (RenderEngine *)(ptr->data);
	if (value) data->type->flag |= 4;
	else data->type->flag &= ~4;
}

int RenderEngine_bl_use_texture_preview_get(PointerRNA *ptr)
{
	RenderEngine *data = (RenderEngine *)(ptr->data);
	return (((data->type->flag) & 128) != 0);
}

void RenderEngine_bl_use_texture_preview_set(PointerRNA *ptr, int value)
{
	RenderEngine *data = (RenderEngine *)(ptr->data);
	if (value) data->type->flag |= 128;
	else data->type->flag &= ~128;
}

int RenderEngine_bl_use_postprocess_get(PointerRNA *ptr)
{
	RenderEngine *data = (RenderEngine *)(ptr->data);
	return !(((data->type->flag) & 8) != 0);
}

void RenderEngine_bl_use_postprocess_set(PointerRNA *ptr, int value)
{
	RenderEngine *data = (RenderEngine *)(ptr->data);
	if (!value) data->type->flag |= 8;
	else data->type->flag &= ~8;
}

int RenderEngine_bl_use_shading_nodes_get(PointerRNA *ptr)
{
	RenderEngine *data = (RenderEngine *)(ptr->data);
	return (((data->type->flag) & 16) != 0);
}

void RenderEngine_bl_use_shading_nodes_set(PointerRNA *ptr, int value)
{
	RenderEngine *data = (RenderEngine *)(ptr->data);
	if (value) data->type->flag |= 16;
	else data->type->flag &= ~16;
}

int RenderEngine_bl_use_shading_nodes_custom_get(PointerRNA *ptr)
{
	RenderEngine *data = (RenderEngine *)(ptr->data);
	return (((data->type->flag) & 256) != 0);
}

void RenderEngine_bl_use_shading_nodes_custom_set(PointerRNA *ptr, int value)
{
	RenderEngine *data = (RenderEngine *)(ptr->data);
	if (value) data->type->flag |= 256;
	else data->type->flag &= ~256;
}

int RenderEngine_bl_use_exclude_layers_get(PointerRNA *ptr)
{
	RenderEngine *data = (RenderEngine *)(ptr->data);
	return (((data->type->flag) & 32) != 0);
}

void RenderEngine_bl_use_exclude_layers_set(PointerRNA *ptr, int value)
{
	RenderEngine *data = (RenderEngine *)(ptr->data);
	if (value) data->type->flag |= 32;
	else data->type->flag &= ~32;
}

int RenderEngine_bl_use_save_buffers_get(PointerRNA *ptr)
{
	RenderEngine *data = (RenderEngine *)(ptr->data);
	return (((data->type->flag) & 64) != 0);
}

void RenderEngine_bl_use_save_buffers_set(PointerRNA *ptr, int value)
{
	RenderEngine *data = (RenderEngine *)(ptr->data);
	if (value) data->type->flag |= 64;
	else data->type->flag &= ~64;
}

int RenderEngine_bl_use_spherical_stereo_get(PointerRNA *ptr)
{
	RenderEngine *data = (RenderEngine *)(ptr->data);
	return (((data->type->flag) & 512) != 0);
}

void RenderEngine_bl_use_spherical_stereo_set(PointerRNA *ptr, int value)
{
	RenderEngine *data = (RenderEngine *)(ptr->data);
	if (value) data->type->flag |= 512;
	else data->type->flag &= ~512;
}

static PointerRNA RenderResult_rna_properties_get(CollectionPropertyIterator *iter)
{
	return rna_builtin_properties_get(iter);
}

void RenderResult_rna_properties_begin(CollectionPropertyIterator *iter, PointerRNA *ptr)
{

	memset(iter, 0, sizeof(*iter));
	iter->parent = *ptr;
	iter->prop = (PropertyRNA *)&rna_RenderResult_rna_properties;

	rna_builtin_properties_begin(iter, ptr);

	if (iter->valid)
		iter->ptr = RenderResult_rna_properties_get(iter);
}

void RenderResult_rna_properties_next(CollectionPropertyIterator *iter)
{
	rna_builtin_properties_next(iter);

	if (iter->valid)
		iter->ptr = RenderResult_rna_properties_get(iter);
}

void RenderResult_rna_properties_end(CollectionPropertyIterator *iter)
{
	rna_iterator_listbase_end(iter);
}

int RenderResult_rna_properties_lookup_string(PointerRNA *ptr, const char *key, PointerRNA *r_ptr)
{
	return rna_builtin_properties_lookup_string(ptr, key, r_ptr);
}

PointerRNA RenderResult_rna_type_get(PointerRNA *ptr)
{
	return rna_builtin_type_get(ptr);
}

int RenderResult_resolution_x_get(PointerRNA *ptr)
{
	RenderResult *data = (RenderResult *)(ptr->data);
	return (int)(data->rectx);
}

int RenderResult_resolution_y_get(PointerRNA *ptr)
{
	RenderResult *data = (RenderResult *)(ptr->data);
	return (int)(data->recty);
}

static PointerRNA RenderResult_layers_get(CollectionPropertyIterator *iter)
{
	return rna_pointer_inherit_refine(&iter->parent, &RNA_RenderLayer, rna_iterator_listbase_get(iter));
}

void RenderResult_layers_begin(CollectionPropertyIterator *iter, PointerRNA *ptr)
{

	memset(iter, 0, sizeof(*iter));
	iter->parent = *ptr;
	iter->prop = (PropertyRNA *)&rna_RenderResult_layers;

	rna_RenderResult_layers_begin(iter, ptr);

	if (iter->valid)
		iter->ptr = RenderResult_layers_get(iter);
}

void RenderResult_layers_next(CollectionPropertyIterator *iter)
{
	rna_iterator_listbase_next(iter);

	if (iter->valid)
		iter->ptr = RenderResult_layers_get(iter);
}

void RenderResult_layers_end(CollectionPropertyIterator *iter)
{
	rna_iterator_listbase_end(iter);
}

static PointerRNA RenderResult_views_get(CollectionPropertyIterator *iter)
{
	return rna_pointer_inherit_refine(&iter->parent, &RNA_RenderView, rna_iterator_listbase_get(iter));
}

void RenderResult_views_begin(CollectionPropertyIterator *iter, PointerRNA *ptr)
{

	memset(iter, 0, sizeof(*iter));
	iter->parent = *ptr;
	iter->prop = (PropertyRNA *)&rna_RenderResult_views;

	rna_RenderResult_views_begin(iter, ptr);

	if (iter->valid)
		iter->ptr = RenderResult_views_get(iter);
}

void RenderResult_views_next(CollectionPropertyIterator *iter)
{
	rna_iterator_listbase_next(iter);

	if (iter->valid)
		iter->ptr = RenderResult_views_get(iter);
}

void RenderResult_views_end(CollectionPropertyIterator *iter)
{
	rna_iterator_listbase_end(iter);
}

static PointerRNA RenderView_rna_properties_get(CollectionPropertyIterator *iter)
{
	return rna_builtin_properties_get(iter);
}

void RenderView_rna_properties_begin(CollectionPropertyIterator *iter, PointerRNA *ptr)
{

	memset(iter, 0, sizeof(*iter));
	iter->parent = *ptr;
	iter->prop = (PropertyRNA *)&rna_RenderView_rna_properties;

	rna_builtin_properties_begin(iter, ptr);

	if (iter->valid)
		iter->ptr = RenderView_rna_properties_get(iter);
}

void RenderView_rna_properties_next(CollectionPropertyIterator *iter)
{
	rna_builtin_properties_next(iter);

	if (iter->valid)
		iter->ptr = RenderView_rna_properties_get(iter);
}

void RenderView_rna_properties_end(CollectionPropertyIterator *iter)
{
	rna_iterator_listbase_end(iter);
}

int RenderView_rna_properties_lookup_string(PointerRNA *ptr, const char *key, PointerRNA *r_ptr)
{
	return rna_builtin_properties_lookup_string(ptr, key, r_ptr);
}

PointerRNA RenderView_rna_type_get(PointerRNA *ptr)
{
	return rna_builtin_type_get(ptr);
}

void RenderView_name_get(PointerRNA *ptr, char *value)
{
	RenderView *data = (RenderView *)(ptr->data);
	BLI_strncpy_utf8(value, data->name, sizeof(data->name));
}

int RenderView_name_length(PointerRNA *ptr)
{
	RenderView *data = (RenderView *)(ptr->data);
	return strlen(data->name);
}

static PointerRNA RenderLayer_rna_properties_get(CollectionPropertyIterator *iter)
{
	return rna_builtin_properties_get(iter);
}

void RenderLayer_rna_properties_begin(CollectionPropertyIterator *iter, PointerRNA *ptr)
{

	memset(iter, 0, sizeof(*iter));
	iter->parent = *ptr;
	iter->prop = (PropertyRNA *)&rna_RenderLayer_rna_properties;

	rna_builtin_properties_begin(iter, ptr);

	if (iter->valid)
		iter->ptr = RenderLayer_rna_properties_get(iter);
}

void RenderLayer_rna_properties_next(CollectionPropertyIterator *iter)
{
	rna_builtin_properties_next(iter);

	if (iter->valid)
		iter->ptr = RenderLayer_rna_properties_get(iter);
}

void RenderLayer_rna_properties_end(CollectionPropertyIterator *iter)
{
	rna_iterator_listbase_end(iter);
}

int RenderLayer_rna_properties_lookup_string(PointerRNA *ptr, const char *key, PointerRNA *r_ptr)
{
	return rna_builtin_properties_lookup_string(ptr, key, r_ptr);
}

PointerRNA RenderLayer_rna_type_get(PointerRNA *ptr)
{
	return rna_builtin_type_get(ptr);
}

void RenderLayer_name_get(PointerRNA *ptr, char *value)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	BLI_strncpy_utf8(value, data->name, sizeof(data->name));
}

int RenderLayer_name_length(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return strlen(data->name);
}

PointerRNA RenderLayer_material_override_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return rna_pointer_inherit_refine(ptr, &RNA_Material, data->mat_override);
}

PointerRNA RenderLayer_light_override_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return rna_pointer_inherit_refine(ptr, &RNA_Group, data->light_override);
}

void RenderLayer_layers_get(PointerRNA *ptr, int values[20])
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	unsigned int i;

	for (i = 0; i < 20; i++) {
		values[i] = ((data->lay & (1u << i)) != 0);
	}
}

void RenderLayer_layers_zmask_get(PointerRNA *ptr, int values[20])
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	unsigned int i;

	for (i = 0; i < 20; i++) {
		values[i] = ((data->lay_zmask & (1u << i)) != 0);
	}
}

void RenderLayer_layers_exclude_get(PointerRNA *ptr, int values[20])
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	unsigned int i;

	for (i = 0; i < 20; i++) {
		values[i] = ((data->lay_exclude & (1u << i)) != 0);
	}
}

int RenderLayer_use_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return !(((data->layflag) & 131072) != 0);
}

int RenderLayer_use_zmask_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->layflag) & 262144) != 0);
}

int RenderLayer_invert_zmask_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->layflag) & 524288) != 0);
}

int RenderLayer_use_all_z_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->layflag) & 32768) != 0);
}

int RenderLayer_use_solid_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->layflag) & 1) != 0);
}

int RenderLayer_use_halo_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->layflag) & 4) != 0);
}

int RenderLayer_use_ztransp_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->layflag) & 2) != 0);
}

int RenderLayer_use_sky_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->layflag) & 16) != 0);
}

int RenderLayer_use_ao_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->layflag) & 128) != 0);
}

int RenderLayer_use_edge_enhance_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->layflag) & 8) != 0);
}

int RenderLayer_use_strand_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->layflag) & 32) != 0);
}

int RenderLayer_use_freestyle_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->layflag) & 64) != 0);
}

int RenderLayer_use_pass_combined_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->passflag) & 1) != 0);
}

int RenderLayer_use_pass_z_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->passflag) & 2) != 0);
}

int RenderLayer_use_pass_vector_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->passflag) & 512) != 0);
}

int RenderLayer_use_pass_normal_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->passflag) & 256) != 0);
}

int RenderLayer_use_pass_uv_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->passflag) & 4096) != 0);
}

int RenderLayer_use_pass_mist_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->passflag) & 16384) != 0);
}

int RenderLayer_use_pass_object_index_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->passflag) & 2048) != 0);
}

int RenderLayer_use_pass_material_index_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->passflag) & 262144) != 0);
}

int RenderLayer_use_pass_color_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->passflag) & 4) != 0);
}

int RenderLayer_use_pass_diffuse_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->passflag) & 8) != 0);
}

int RenderLayer_use_pass_specular_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->passflag) & 16) != 0);
}

int RenderLayer_use_pass_shadow_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->passflag) & 32) != 0);
}

int RenderLayer_use_pass_ambient_occlusion_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->passflag) & 64) != 0);
}

int RenderLayer_use_pass_reflection_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->passflag) & 128) != 0);
}

int RenderLayer_use_pass_refraction_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->passflag) & 1024) != 0);
}

int RenderLayer_use_pass_emit_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->passflag) & 65536) != 0);
}

int RenderLayer_use_pass_environment_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->passflag) & 131072) != 0);
}

int RenderLayer_use_pass_indirect_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->passflag) & 8192) != 0);
}

int RenderLayer_exclude_specular_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->pass_xor) & 16) != 0);
}

int RenderLayer_exclude_shadow_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->pass_xor) & 32) != 0);
}

int RenderLayer_exclude_ambient_occlusion_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->pass_xor) & 64) != 0);
}

int RenderLayer_exclude_reflection_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->pass_xor) & 128) != 0);
}

int RenderLayer_exclude_refraction_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->pass_xor) & 1024) != 0);
}

int RenderLayer_exclude_emit_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->pass_xor) & 65536) != 0);
}

int RenderLayer_exclude_environment_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->pass_xor) & 131072) != 0);
}

int RenderLayer_exclude_indirect_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->pass_xor) & 8192) != 0);
}

int RenderLayer_use_pass_diffuse_direct_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->passflag) & 524288) != 0);
}

int RenderLayer_use_pass_diffuse_indirect_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->passflag) & 1048576) != 0);
}

int RenderLayer_use_pass_diffuse_color_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->passflag) & 2097152) != 0);
}

int RenderLayer_use_pass_glossy_direct_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->passflag) & 4194304) != 0);
}

int RenderLayer_use_pass_glossy_indirect_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->passflag) & 8388608) != 0);
}

int RenderLayer_use_pass_glossy_color_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->passflag) & 16777216) != 0);
}

int RenderLayer_use_pass_transmission_direct_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->passflag) & 33554432) != 0);
}

int RenderLayer_use_pass_transmission_indirect_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->passflag) & 67108864) != 0);
}

int RenderLayer_use_pass_transmission_color_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->passflag) & 134217728) != 0);
}

int RenderLayer_use_pass_subsurface_direct_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->passflag) & 268435456) != 0);
}

int RenderLayer_use_pass_subsurface_indirect_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->passflag) & 536870912) != 0);
}

int RenderLayer_use_pass_subsurface_color_get(PointerRNA *ptr)
{
	RenderLayer *data = (RenderLayer *)(ptr->data);
	return (((data->passflag) & 1073741824) != 0);
}

static PointerRNA RenderLayer_passes_get(CollectionPropertyIterator *iter)
{
	return rna_pointer_inherit_refine(&iter->parent, &RNA_RenderPass, rna_iterator_listbase_get(iter));
}

void RenderLayer_passes_begin(CollectionPropertyIterator *iter, PointerRNA *ptr)
{

	memset(iter, 0, sizeof(*iter));
	iter->parent = *ptr;
	iter->prop = (PropertyRNA *)&rna_RenderLayer_passes;

	rna_RenderLayer_passes_begin(iter, ptr);

	if (iter->valid)
		iter->ptr = RenderLayer_passes_get(iter);
}

void RenderLayer_passes_next(CollectionPropertyIterator *iter)
{
	rna_iterator_listbase_next(iter);

	if (iter->valid)
		iter->ptr = RenderLayer_passes_get(iter);
}

void RenderLayer_passes_end(CollectionPropertyIterator *iter)
{
	rna_iterator_listbase_end(iter);
}

static PointerRNA RenderPasses_rna_properties_get(CollectionPropertyIterator *iter)
{
	return rna_builtin_properties_get(iter);
}

void RenderPasses_rna_properties_begin(CollectionPropertyIterator *iter, PointerRNA *ptr)
{

	memset(iter, 0, sizeof(*iter));
	iter->parent = *ptr;
	iter->prop = (PropertyRNA *)&rna_RenderPasses_rna_properties;

	rna_builtin_properties_begin(iter, ptr);

	if (iter->valid)
		iter->ptr = RenderPasses_rna_properties_get(iter);
}

void RenderPasses_rna_properties_next(CollectionPropertyIterator *iter)
{
	rna_builtin_properties_next(iter);

	if (iter->valid)
		iter->ptr = RenderPasses_rna_properties_get(iter);
}

void RenderPasses_rna_properties_end(CollectionPropertyIterator *iter)
{
	rna_iterator_listbase_end(iter);
}

int RenderPasses_rna_properties_lookup_string(PointerRNA *ptr, const char *key, PointerRNA *r_ptr)
{
	return rna_builtin_properties_lookup_string(ptr, key, r_ptr);
}

PointerRNA RenderPasses_rna_type_get(PointerRNA *ptr)
{
	return rna_builtin_type_get(ptr);
}

static PointerRNA RenderPass_rna_properties_get(CollectionPropertyIterator *iter)
{
	return rna_builtin_properties_get(iter);
}

void RenderPass_rna_properties_begin(CollectionPropertyIterator *iter, PointerRNA *ptr)
{

	memset(iter, 0, sizeof(*iter));
	iter->parent = *ptr;
	iter->prop = (PropertyRNA *)&rna_RenderPass_rna_properties;

	rna_builtin_properties_begin(iter, ptr);

	if (iter->valid)
		iter->ptr = RenderPass_rna_properties_get(iter);
}

void RenderPass_rna_properties_next(CollectionPropertyIterator *iter)
{
	rna_builtin_properties_next(iter);

	if (iter->valid)
		iter->ptr = RenderPass_rna_properties_get(iter);
}

void RenderPass_rna_properties_end(CollectionPropertyIterator *iter)
{
	rna_iterator_listbase_end(iter);
}

int RenderPass_rna_properties_lookup_string(PointerRNA *ptr, const char *key, PointerRNA *r_ptr)
{
	return rna_builtin_properties_lookup_string(ptr, key, r_ptr);
}

PointerRNA RenderPass_rna_type_get(PointerRNA *ptr)
{
	return rna_builtin_type_get(ptr);
}

void RenderPass_name_get(PointerRNA *ptr, char *value)
{
	RenderPass *data = (RenderPass *)(ptr->data);
	BLI_strncpy_utf8(value, data->name, sizeof(data->name));
}

int RenderPass_name_length(PointerRNA *ptr)
{
	RenderPass *data = (RenderPass *)(ptr->data);
	return strlen(data->name);
}

void RenderPass_channel_id_get(PointerRNA *ptr, char *value)
{
	RenderPass *data = (RenderPass *)(ptr->data);
	BLI_strncpy_utf8(value, data->chan_id, sizeof(data->chan_id));
}

int RenderPass_channel_id_length(PointerRNA *ptr)
{
	RenderPass *data = (RenderPass *)(ptr->data);
	return strlen(data->chan_id);
}

int RenderPass_channels_get(PointerRNA *ptr)
{
	RenderPass *data = (RenderPass *)(ptr->data);
	return (int)(data->channels);
}

int RenderPass_type_get(PointerRNA *ptr)
{
	RenderPass *data = (RenderPass *)(ptr->data);
	return (int)(data->passtype);
}

void RenderPass_rect_get(PointerRNA *ptr, float values[])
{
	rna_RenderPass_rect_get(ptr, values);
}

void RenderPass_rect_set(PointerRNA *ptr, const float values[])
{
	rna_RenderPass_rect_set(ptr, values);
}

int RenderPass_view_id_get(PointerRNA *ptr)
{
	RenderPass *data = (RenderPass *)(ptr->data);
	return (int)(data->view_id);
}

int RenderPass_debug_type_get(PointerRNA *ptr)
{
	RenderPass *data = (RenderPass *)(ptr->data);
	return (int)(data->debug_type);
}

static PointerRNA BakePixel_rna_properties_get(CollectionPropertyIterator *iter)
{
	return rna_builtin_properties_get(iter);
}

void BakePixel_rna_properties_begin(CollectionPropertyIterator *iter, PointerRNA *ptr)
{

	memset(iter, 0, sizeof(*iter));
	iter->parent = *ptr;
	iter->prop = (PropertyRNA *)&rna_BakePixel_rna_properties;

	rna_builtin_properties_begin(iter, ptr);

	if (iter->valid)
		iter->ptr = BakePixel_rna_properties_get(iter);
}

void BakePixel_rna_properties_next(CollectionPropertyIterator *iter)
{
	rna_builtin_properties_next(iter);

	if (iter->valid)
		iter->ptr = BakePixel_rna_properties_get(iter);
}

void BakePixel_rna_properties_end(CollectionPropertyIterator *iter)
{
	rna_iterator_listbase_end(iter);
}

int BakePixel_rna_properties_lookup_string(PointerRNA *ptr, const char *key, PointerRNA *r_ptr)
{
	return rna_builtin_properties_lookup_string(ptr, key, r_ptr);
}

PointerRNA BakePixel_rna_type_get(PointerRNA *ptr)
{
	return rna_builtin_type_get(ptr);
}

int BakePixel_primitive_id_get(PointerRNA *ptr)
{
	BakePixel *data = (BakePixel *)(ptr->data);
	return (int)(data->primitive_id);
}

int BakePixel_object_id_get(PointerRNA *ptr)
{
	BakePixel *data = (BakePixel *)(ptr->data);
	return (int)(data->object_id);
}

void BakePixel_uv_get(PointerRNA *ptr, float values[2])
{
	BakePixel *data = (BakePixel *)(ptr->data);
	unsigned int i;

	for (i = 0; i < 2; i++) {
		values[i] = (float)((data->uv)[i]);
	}
}

float BakePixel_du_dx_get(PointerRNA *ptr)
{
	BakePixel *data = (BakePixel *)(ptr->data);
	return (float)(data->du_dx);
}

float BakePixel_du_dy_get(PointerRNA *ptr)
{
	BakePixel *data = (BakePixel *)(ptr->data);
	return (float)(data->du_dy);
}

float BakePixel_dv_dx_get(PointerRNA *ptr)
{
	BakePixel *data = (BakePixel *)(ptr->data);
	return (float)(data->dv_dx);
}

float BakePixel_dv_dy_get(PointerRNA *ptr)
{
	BakePixel *data = (BakePixel *)(ptr->data);
	return (float)(data->dv_dy);
}

PointerRNA BakePixel_next_get(PointerRNA *ptr)
{
	return rna_BakePixel_next_get(ptr);
}

void RenderEngine_tag_redraw(struct RenderEngine *_self)
{
	engine_tag_redraw(_self);
}

void RenderEngine_tag_redraw_call(bContext *C, ReportList *reports, PointerRNA *_ptr, ParameterList *_parms)
{
	struct RenderEngine *_self;
	_self = (struct RenderEngine *)_ptr->data;
	
	engine_tag_redraw(_self);
}

void RenderEngine_tag_update(struct RenderEngine *_self)
{
	engine_tag_update(_self);
}

void RenderEngine_tag_update_call(bContext *C, ReportList *reports, PointerRNA *_ptr, ParameterList *_parms)
{
	struct RenderEngine *_self;
	_self = (struct RenderEngine *)_ptr->data;
	
	engine_tag_update(_self);
}

struct RenderResult *RenderEngine_begin_result(struct RenderEngine *_self, int x, int y, int w, int h, const char * layer, const char * view)
{
	return RE_engine_begin_result(_self, x, y, w, h, layer, view);
}

void RenderEngine_begin_result_call(bContext *C, ReportList *reports, PointerRNA *_ptr, ParameterList *_parms)
{
	struct RenderEngine *_self;
	int x;
	int y;
	int w;
	int h;
	const char * layer;
	const char * view;
	struct RenderResult *result;
	char *_data, *_retdata;
	
	_self = (struct RenderEngine *)_ptr->data;
	_data = (char *)_parms->data;
	x = *((int *)_data);
	_data += 4;
	y = *((int *)_data);
	_data += 4;
	w = *((int *)_data);
	_data += 4;
	h = *((int *)_data);
	_data += 4;
	layer = *((const char * *)_data);
	_data += 8;
	view = *((const char * *)_data);
	_data += 8;
	_retdata = _data;
	
	result = RE_engine_begin_result(_self, x, y, w, h, layer, view);
	*((struct RenderResult **)_retdata) = result;
}

void RenderEngine_update_result(struct RenderEngine *_self, struct RenderResult *result)
{
	RE_engine_update_result(_self, result);
}

void RenderEngine_update_result_call(bContext *C, ReportList *reports, PointerRNA *_ptr, ParameterList *_parms)
{
	struct RenderEngine *_self;
	struct RenderResult *result;
	char *_data;
	
	_self = (struct RenderEngine *)_ptr->data;
	_data = (char *)_parms->data;
	result = *((struct RenderResult **)_data);
	
	RE_engine_update_result(_self, result);
}

void RenderEngine_end_result(struct RenderEngine *_self, struct RenderResult *result, int cancel, int do_merge_results)
{
	RE_engine_end_result(_self, result, cancel, do_merge_results);
}

void RenderEngine_end_result_call(bContext *C, ReportList *reports, PointerRNA *_ptr, ParameterList *_parms)
{
	struct RenderEngine *_self;
	struct RenderResult *result;
	int cancel;
	int do_merge_results;
	char *_data;
	
	_self = (struct RenderEngine *)_ptr->data;
	_data = (char *)_parms->data;
	result = *((struct RenderResult **)_data);
	_data += 8;
	cancel = *((int *)_data);
	_data += 4;
	do_merge_results = *((int *)_data);
	
	RE_engine_end_result(_self, result, cancel, do_merge_results);
}

int RenderEngine_test_break(struct RenderEngine *_self)
{
	return RE_engine_test_break(_self);
}

void RenderEngine_test_break_call(bContext *C, ReportList *reports, PointerRNA *_ptr, ParameterList *_parms)
{
	struct RenderEngine *_self;
	int do_break;
	char *_data, *_retdata;
	
	_self = (struct RenderEngine *)_ptr->data;
	_data = (char *)_parms->data;
	_retdata = _data;
	
	do_break = RE_engine_test_break(_self);
	*((int *)_retdata) = do_break;
}

const char * RenderEngine_active_view_get(struct RenderEngine *_self)
{
	return RE_engine_active_view_get(_self);
}

void RenderEngine_active_view_get_call(bContext *C, ReportList *reports, PointerRNA *_ptr, ParameterList *_parms)
{
	struct RenderEngine *_self;
	const char * view;
	char *_data, *_retdata;
	
	_self = (struct RenderEngine *)_ptr->data;
	_data = (char *)_parms->data;
	_retdata = _data;
	
	view = RE_engine_active_view_get(_self);
	*((const char * *)_retdata) = view;
}

void RenderEngine_active_view_set(struct RenderEngine *_self, const char * view)
{
	RE_engine_active_view_set(_self, view);
}

void RenderEngine_active_view_set_call(bContext *C, ReportList *reports, PointerRNA *_ptr, ParameterList *_parms)
{
	struct RenderEngine *_self;
	const char * view;
	char *_data;
	
	_self = (struct RenderEngine *)_ptr->data;
	_data = (char *)_parms->data;
	view = *((const char * *)_data);
	
	RE_engine_active_view_set(_self, view);
}

float RenderEngine_camera_shift_x(struct RenderEngine *_self, struct Object *camera, int use_spherical_stereo)
{
	return RE_engine_get_camera_shift_x(_self, camera, use_spherical_stereo);
}

void RenderEngine_camera_shift_x_call(bContext *C, ReportList *reports, PointerRNA *_ptr, ParameterList *_parms)
{
	struct RenderEngine *_self;
	struct Object *camera;
	int use_spherical_stereo;
	float shift_x;
	char *_data, *_retdata;
	
	_self = (struct RenderEngine *)_ptr->data;
	_data = (char *)_parms->data;
	camera = *((struct Object **)_data);
	_data += 8;
	use_spherical_stereo = *((int *)_data);
	_data += 4;
	_retdata = _data;
	
	shift_x = RE_engine_get_camera_shift_x(_self, camera, use_spherical_stereo);
	*((float *)_retdata) = shift_x;
}

void RenderEngine_camera_model_matrix(struct RenderEngine *_self, struct Object *camera, int use_spherical_stereo, float r_model_matrix[16])
{
	RE_engine_get_camera_model_matrix(_self, camera, use_spherical_stereo, r_model_matrix);
}

void RenderEngine_camera_model_matrix_call(bContext *C, ReportList *reports, PointerRNA *_ptr, ParameterList *_parms)
{
	struct RenderEngine *_self;
	struct Object *camera;
	int use_spherical_stereo;
	float *r_model_matrix;
	char *_data;
	
	_self = (struct RenderEngine *)_ptr->data;
	_data = (char *)_parms->data;
	camera = *((struct Object **)_data);
	_data += 8;
	use_spherical_stereo = *((int *)_data);
	_data += 4;
	r_model_matrix = ((float *)_data);
	
	RE_engine_get_camera_model_matrix(_self, camera, use_spherical_stereo, r_model_matrix);
}

int RenderEngine_use_spherical_stereo(struct RenderEngine *_self, struct Object *camera)
{
	return RE_engine_get_spherical_stereo(_self, camera);
}

void RenderEngine_use_spherical_stereo_call(bContext *C, ReportList *reports, PointerRNA *_ptr, ParameterList *_parms)
{
	struct RenderEngine *_self;
	struct Object *camera;
	int use_spherical_stereo;
	char *_data, *_retdata;
	
	_self = (struct RenderEngine *)_ptr->data;
	_data = (char *)_parms->data;
	camera = *((struct Object **)_data);
	_data += 8;
	_retdata = _data;
	
	use_spherical_stereo = RE_engine_get_spherical_stereo(_self, camera);
	*((int *)_retdata) = use_spherical_stereo;
}

void RenderEngine_update_stats(struct RenderEngine *_self, const char * stats, const char * info)
{
	RE_engine_update_stats(_self, stats, info);
}

void RenderEngine_update_stats_call(bContext *C, ReportList *reports, PointerRNA *_ptr, ParameterList *_parms)
{
	struct RenderEngine *_self;
	const char * stats;
	const char * info;
	char *_data;
	
	_self = (struct RenderEngine *)_ptr->data;
	_data = (char *)_parms->data;
	stats = *((const char * *)_data);
	_data += 8;
	info = *((const char * *)_data);
	
	RE_engine_update_stats(_self, stats, info);
}

void RenderEngine_frame_set(struct RenderEngine *_self, int frame, float subframe)
{
	RE_engine_frame_set(_self, frame, subframe);
}

void RenderEngine_frame_set_call(bContext *C, ReportList *reports, PointerRNA *_ptr, ParameterList *_parms)
{
	struct RenderEngine *_self;
	int frame;
	float subframe;
	char *_data;
	
	_self = (struct RenderEngine *)_ptr->data;
	_data = (char *)_parms->data;
	frame = *((int *)_data);
	_data += 4;
	subframe = *((float *)_data);
	
	RE_engine_frame_set(_self, frame, subframe);
}

void RenderEngine_update_progress(struct RenderEngine *_self, float progress)
{
	RE_engine_update_progress(_self, progress);
}

void RenderEngine_update_progress_call(bContext *C, ReportList *reports, PointerRNA *_ptr, ParameterList *_parms)
{
	struct RenderEngine *_self;
	float progress;
	char *_data;
	
	_self = (struct RenderEngine *)_ptr->data;
	_data = (char *)_parms->data;
	progress = *((float *)_data);
	
	RE_engine_update_progress(_self, progress);
}

void RenderEngine_update_memory_stats(struct RenderEngine *_self, float memory_used, float memory_peak)
{
	RE_engine_update_memory_stats(_self, memory_used, memory_peak);
}

void RenderEngine_update_memory_stats_call(bContext *C, ReportList *reports, PointerRNA *_ptr, ParameterList *_parms)
{
	struct RenderEngine *_self;
	float memory_used;
	float memory_peak;
	char *_data;
	
	_self = (struct RenderEngine *)_ptr->data;
	_data = (char *)_parms->data;
	memory_used = *((float *)_data);
	_data += 4;
	memory_peak = *((float *)_data);
	
	RE_engine_update_memory_stats(_self, memory_used, memory_peak);
}

void RenderEngine_report(struct RenderEngine *_self, int type, const char * message)
{
	RE_engine_report(_self, type, message);
}

void RenderEngine_report_call(bContext *C, ReportList *reports, PointerRNA *_ptr, ParameterList *_parms)
{
	struct RenderEngine *_self;
	int type;
	const char * message;
	char *_data;
	
	_self = (struct RenderEngine *)_ptr->data;
	_data = (char *)_parms->data;
	type = *((int *)_data);
	_data += 4;
	message = *((const char * *)_data);
	
	RE_engine_report(_self, type, message);
}

void RenderEngine_error_set(struct RenderEngine *_self, const char * message)
{
	RE_engine_set_error_message(_self, message);
}

void RenderEngine_error_set_call(bContext *C, ReportList *reports, PointerRNA *_ptr, ParameterList *_parms)
{
	struct RenderEngine *_self;
	const char * message;
	char *_data;
	
	_self = (struct RenderEngine *)_ptr->data;
	_data = (char *)_parms->data;
	message = *((const char * *)_data);
	
	RE_engine_set_error_message(_self, message);
}

void RenderEngine_bind_display_space_shader(struct RenderEngine *_self, struct Scene *scene)
{
	engine_bind_display_space_shader(_self, scene);
}

void RenderEngine_bind_display_space_shader_call(bContext *C, ReportList *reports, PointerRNA *_ptr, ParameterList *_parms)
{
	struct RenderEngine *_self;
	struct Scene *scene;
	char *_data;
	
	_self = (struct RenderEngine *)_ptr->data;
	_data = (char *)_parms->data;
	scene = *((struct Scene **)_data);
	
	engine_bind_display_space_shader(_self, scene);
}

void RenderEngine_unbind_display_space_shader(struct RenderEngine *_self)
{
	engine_unbind_display_space_shader(_self);
}

void RenderEngine_unbind_display_space_shader_call(bContext *C, ReportList *reports, PointerRNA *_ptr, ParameterList *_parms)
{
	struct RenderEngine *_self;
	_self = (struct RenderEngine *)_ptr->data;
	
	engine_unbind_display_space_shader(_self);
}

int RenderEngine_support_display_space_shader(struct RenderEngine *_self, struct Scene *scene)
{
	return engine_support_display_space_shader(_self, scene);
}

void RenderEngine_support_display_space_shader_call(bContext *C, ReportList *reports, PointerRNA *_ptr, ParameterList *_parms)
{
	struct RenderEngine *_self;
	struct Scene *scene;
	int supported;
	char *_data, *_retdata;
	
	_self = (struct RenderEngine *)_ptr->data;
	_data = (char *)_parms->data;
	scene = *((struct Scene **)_data);
	_data += 8;
	_retdata = _data;
	
	supported = engine_support_display_space_shader(_self, scene);
	*((int *)_retdata) = supported;
}

/* Repeated prototypes to detect errors */

void engine_tag_redraw(struct RenderEngine *_self);
void engine_tag_update(struct RenderEngine *_self);
struct RenderResult *RE_engine_begin_result(struct RenderEngine *_self, int x, int y, int w, int h, const char * layer, const char * view);
void RE_engine_update_result(struct RenderEngine *_self, struct RenderResult *result);
void RE_engine_end_result(struct RenderEngine *_self, struct RenderResult *result, int cancel, int do_merge_results);
int RE_engine_test_break(struct RenderEngine *_self);
const char * RE_engine_active_view_get(struct RenderEngine *_self);
void RE_engine_active_view_set(struct RenderEngine *_self, const char * view);
float RE_engine_get_camera_shift_x(struct RenderEngine *_self, struct Object *camera, int use_spherical_stereo);
void RE_engine_get_camera_model_matrix(struct RenderEngine *_self, struct Object *camera, int use_spherical_stereo, float r_model_matrix[16]);
int RE_engine_get_spherical_stereo(struct RenderEngine *_self, struct Object *camera);
void RE_engine_update_stats(struct RenderEngine *_self, const char * stats, const char * info);
void RE_engine_frame_set(struct RenderEngine *_self, int frame, float subframe);
void RE_engine_update_progress(struct RenderEngine *_self, float progress);
void RE_engine_update_memory_stats(struct RenderEngine *_self, float memory_used, float memory_peak);
void RE_engine_report(struct RenderEngine *_self, int type, const char * message);
void RE_engine_set_error_message(struct RenderEngine *_self, const char * message);
void engine_bind_display_space_shader(struct RenderEngine *_self, struct Scene *scene);
void engine_unbind_display_space_shader(struct RenderEngine *_self);
int engine_support_display_space_shader(struct RenderEngine *_self, struct Scene *scene);

void RenderResult_load_from_file(struct RenderResult *_self, ReportList *reports, const char * filename)
{
	RE_result_load_from_file(_self, reports, filename);
}

void RenderResult_load_from_file_call(bContext *C, ReportList *reports, PointerRNA *_ptr, ParameterList *_parms)
{
	struct RenderResult *_self;
	const char * filename;
	char *_data;
	
	_self = (struct RenderResult *)_ptr->data;
	_data = (char *)_parms->data;
	filename = *((const char * *)_data);
	
	RE_result_load_from_file(_self, reports, filename);
}

/* Repeated prototypes to detect errors */

void RE_result_load_from_file(struct RenderResult *_self, ReportList *reports, const char * filename);


void RenderLayer_load_from_file(struct RenderLayer *_self, ReportList *reports, const char * filename, int x, int y)
{
	RE_layer_load_from_file(_self, reports, filename, x, y);
}

void RenderLayer_load_from_file_call(bContext *C, ReportList *reports, PointerRNA *_ptr, ParameterList *_parms)
{
	struct RenderLayer *_self;
	const char * filename;
	int x;
	int y;
	char *_data;
	
	_self = (struct RenderLayer *)_ptr->data;
	_data = (char *)_parms->data;
	filename = *((const char * *)_data);
	_data += 8;
	x = *((int *)_data);
	_data += 4;
	y = *((int *)_data);
	
	RE_layer_load_from_file(_self, reports, filename, x, y);
}

/* Repeated prototypes to detect errors */

void RE_layer_load_from_file(struct RenderLayer *_self, ReportList *reports, const char * filename, int x, int y);

struct RenderPass *RenderPasses_find_by_type(struct RenderLayer *_self, int pass_type, const char * view)
{
	return rna_RenderPass_find_by_type(_self, pass_type, view);
}

void RenderPasses_find_by_type_call(bContext *C, ReportList *reports, PointerRNA *_ptr, ParameterList *_parms)
{
	struct RenderLayer *_self;
	int pass_type;
	const char * view;
	struct RenderPass *render_pass;
	char *_data, *_retdata;
	
	_self = (struct RenderLayer *)_ptr->data;
	_data = (char *)_parms->data;
	pass_type = *((int *)_data);
	_data += 4;
	view = *((const char * *)_data);
	_data += 8;
	_retdata = _data;
	
	render_pass = rna_RenderPass_find_by_type(_self, pass_type, view);
	*((struct RenderPass **)_retdata) = render_pass;
}

/* Repeated prototypes to detect errors */

struct RenderPass *rna_RenderPass_find_by_type(struct RenderLayer *_self, int pass_type, const char * view);

int RenderPass_rect_get_length(PointerRNA *ptr, int *arraylen)
{
	return rna_RenderPass_rect_get_length(ptr, arraylen);
}



/* Render Engine */
CollectionPropertyRNA rna_RenderEngine_rna_properties = {
	{(PropertyRNA *)&rna_RenderEngine_rna_type, NULL,
	-1, "rna_properties", 0, 0, 1, "Properties",
	"RNA property collection",
	0, "*",
	PROP_COLLECTION, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderEngine_rna_properties_begin, RenderEngine_rna_properties_next, RenderEngine_rna_properties_end, RenderEngine_rna_properties_get, NULL, NULL, RenderEngine_rna_properties_lookup_string, NULL, &RNA_Property
};

PointerPropertyRNA rna_RenderEngine_rna_type = {
	{(PropertyRNA *)&rna_RenderEngine_is_animation, (PropertyRNA *)&rna_RenderEngine_rna_properties,
	-1, "rna_type", 8912896, 0, 0, "RNA",
	"RNA type definition",
	0, "*",
	PROP_POINTER, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderEngine_rna_type_get, NULL, NULL, NULL,&RNA_Struct
};

BoolPropertyRNA rna_RenderEngine_is_animation = {
	{(PropertyRNA *)&rna_RenderEngine_is_preview, (PropertyRNA *)&rna_RenderEngine_rna_type,
	-1, "is_animation", 3, 0, 0, "is_animation",
	"",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderEngine_is_animation_get, RenderEngine_is_animation_set, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderEngine_is_preview = {
	{(PropertyRNA *)&rna_RenderEngine_camera_override, (PropertyRNA *)&rna_RenderEngine_is_animation,
	-1, "is_preview", 3, 0, 0, "is_preview",
	"",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderEngine_is_preview_get, RenderEngine_is_preview_set, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

PointerPropertyRNA rna_RenderEngine_camera_override = {
	{(PropertyRNA *)&rna_RenderEngine_layer_override, (PropertyRNA *)&rna_RenderEngine_is_preview,
	-1, "camera_override", 8388608, 0, 0, "camera_override",
	"",
	0, "*",
	PROP_POINTER, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderEngine_camera_override_get, NULL, NULL, NULL,&RNA_Object
};

static int rna_RenderEngine_layer_override_default[20] = {
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0
};

BoolPropertyRNA rna_RenderEngine_layer_override = {
	{(PropertyRNA *)&rna_RenderEngine_tile_x, (PropertyRNA *)&rna_RenderEngine_camera_override,
	-1, "layer_override", 3, 0, 0, "layer_override",
	"",
	0, "*",
	PROP_BOOLEAN, PROP_LAYER_MEMBER | PROP_UNIT_NONE, NULL, 1, {20, 0, 0}, 20,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, RenderEngine_layer_override_get, RenderEngine_layer_override_set, NULL, NULL, NULL, NULL, 0, rna_RenderEngine_layer_override_default
};

IntPropertyRNA rna_RenderEngine_tile_x = {
	{(PropertyRNA *)&rna_RenderEngine_tile_y, (PropertyRNA *)&rna_RenderEngine_layer_override,
	-1, "tile_x", 3, 0, 0, "tile_x",
	"",
	0, "*",
	PROP_INT, PROP_UNSIGNED | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderEngine_tile_x_get, RenderEngine_tile_x_set, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
	0, 10000, 0, INT_MAX, 1, 0, NULL
};

IntPropertyRNA rna_RenderEngine_tile_y = {
	{(PropertyRNA *)&rna_RenderEngine_resolution_x, (PropertyRNA *)&rna_RenderEngine_tile_x,
	-1, "tile_y", 3, 0, 0, "tile_y",
	"",
	0, "*",
	PROP_INT, PROP_UNSIGNED | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderEngine_tile_y_get, RenderEngine_tile_y_set, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
	0, 10000, 0, INT_MAX, 1, 0, NULL
};

IntPropertyRNA rna_RenderEngine_resolution_x = {
	{(PropertyRNA *)&rna_RenderEngine_resolution_y, (PropertyRNA *)&rna_RenderEngine_tile_y,
	-1, "resolution_x", 2, 0, 0, "resolution_x",
	"",
	0, "*",
	PROP_INT, PROP_PIXEL | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderEngine_resolution_x_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
	-10000, 10000, INT_MIN, INT_MAX, 1, 0, NULL
};

IntPropertyRNA rna_RenderEngine_resolution_y = {
	{(PropertyRNA *)&rna_RenderEngine_render, (PropertyRNA *)&rna_RenderEngine_resolution_x,
	-1, "resolution_y", 2, 0, 0, "resolution_y",
	"",
	0, "*",
	PROP_INT, PROP_PIXEL | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderEngine_resolution_y_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
	-10000, 10000, INT_MIN, INT_MAX, 1, 0, NULL
};

PointerPropertyRNA rna_RenderEngine_render = {
	{(PropertyRNA *)&rna_RenderEngine_use_highlight_tiles, (PropertyRNA *)&rna_RenderEngine_resolution_y,
	-1, "render", 8388608, 0, 0, "Render Data",
	"",
	0, "*",
	PROP_POINTER, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderEngine_render_get, NULL, NULL, NULL,&RNA_RenderSettings
};

BoolPropertyRNA rna_RenderEngine_use_highlight_tiles = {
	{(PropertyRNA *)&rna_RenderEngine_bl_idname, (PropertyRNA *)&rna_RenderEngine_render,
	-1, "use_highlight_tiles", 3, 0, 0, "use_highlight_tiles",
	"",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderEngine_use_highlight_tiles_get, RenderEngine_use_highlight_tiles_set, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

StringPropertyRNA rna_RenderEngine_bl_idname = {
	{(PropertyRNA *)&rna_RenderEngine_bl_label, (PropertyRNA *)&rna_RenderEngine_use_highlight_tiles,
	-1, "bl_idname", 262161, 0, 0, "bl_idname",
	"",
	0, "*",
	PROP_STRING, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderEngine_bl_idname_get, RenderEngine_bl_idname_length, RenderEngine_bl_idname_set, NULL, NULL, NULL, 0, ""
};

StringPropertyRNA rna_RenderEngine_bl_label = {
	{(PropertyRNA *)&rna_RenderEngine_bl_use_preview, (PropertyRNA *)&rna_RenderEngine_bl_idname,
	-1, "bl_label", 262161, 0, 0, "bl_label",
	"",
	0, "*",
	PROP_STRING, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderEngine_bl_label_get, RenderEngine_bl_label_length, RenderEngine_bl_label_set, NULL, NULL, NULL, 0, ""
};

BoolPropertyRNA rna_RenderEngine_bl_use_preview = {
	{(PropertyRNA *)&rna_RenderEngine_bl_use_texture_preview, (PropertyRNA *)&rna_RenderEngine_bl_label,
	-1, "bl_use_preview", 51, 0, 0, "bl_use_preview",
	"",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderEngine_bl_use_preview_get, RenderEngine_bl_use_preview_set, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderEngine_bl_use_texture_preview = {
	{(PropertyRNA *)&rna_RenderEngine_bl_use_postprocess, (PropertyRNA *)&rna_RenderEngine_bl_use_preview,
	-1, "bl_use_texture_preview", 51, 0, 0, "bl_use_texture_preview",
	"",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderEngine_bl_use_texture_preview_get, RenderEngine_bl_use_texture_preview_set, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderEngine_bl_use_postprocess = {
	{(PropertyRNA *)&rna_RenderEngine_bl_use_shading_nodes, (PropertyRNA *)&rna_RenderEngine_bl_use_texture_preview,
	-1, "bl_use_postprocess", 51, 0, 0, "bl_use_postprocess",
	"",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderEngine_bl_use_postprocess_get, RenderEngine_bl_use_postprocess_set, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderEngine_bl_use_shading_nodes = {
	{(PropertyRNA *)&rna_RenderEngine_bl_use_shading_nodes_custom, (PropertyRNA *)&rna_RenderEngine_bl_use_postprocess,
	-1, "bl_use_shading_nodes", 51, 0, 0, "bl_use_shading_nodes",
	"",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderEngine_bl_use_shading_nodes_get, RenderEngine_bl_use_shading_nodes_set, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderEngine_bl_use_shading_nodes_custom = {
	{(PropertyRNA *)&rna_RenderEngine_bl_use_exclude_layers, (PropertyRNA *)&rna_RenderEngine_bl_use_shading_nodes,
	-1, "bl_use_shading_nodes_custom", 51, 0, 0, "bl_use_shading_nodes_custom",
	"",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderEngine_bl_use_shading_nodes_custom_get, RenderEngine_bl_use_shading_nodes_custom_set, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL
};

BoolPropertyRNA rna_RenderEngine_bl_use_exclude_layers = {
	{(PropertyRNA *)&rna_RenderEngine_bl_use_save_buffers, (PropertyRNA *)&rna_RenderEngine_bl_use_shading_nodes_custom,
	-1, "bl_use_exclude_layers", 51, 0, 0, "bl_use_exclude_layers",
	"",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderEngine_bl_use_exclude_layers_get, RenderEngine_bl_use_exclude_layers_set, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderEngine_bl_use_save_buffers = {
	{(PropertyRNA *)&rna_RenderEngine_bl_use_spherical_stereo, (PropertyRNA *)&rna_RenderEngine_bl_use_exclude_layers,
	-1, "bl_use_save_buffers", 51, 0, 0, "bl_use_save_buffers",
	"",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderEngine_bl_use_save_buffers_get, RenderEngine_bl_use_save_buffers_set, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderEngine_bl_use_spherical_stereo = {
	{NULL, (PropertyRNA *)&rna_RenderEngine_bl_use_save_buffers,
	-1, "bl_use_spherical_stereo", 51, 0, 0, "bl_use_spherical_stereo",
	"",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderEngine_bl_use_spherical_stereo_get, RenderEngine_bl_use_spherical_stereo_set, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

PointerPropertyRNA rna_RenderEngine_update_data = {
	{(PropertyRNA *)&rna_RenderEngine_update_scene, NULL,
	-1, "data", 8388608, 0, 0, "",
	"",
	0, "*",
	PROP_POINTER, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL,&RNA_BlendData
};

PointerPropertyRNA rna_RenderEngine_update_scene = {
	{NULL, (PropertyRNA *)&rna_RenderEngine_update_data,
	-1, "scene", 8388608, 0, 0, "",
	"",
	0, "*",
	PROP_POINTER, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL,&RNA_Scene
};

FunctionRNA rna_RenderEngine_update_func = {
	{(FunctionRNA *)&rna_RenderEngine_render_func, NULL,
	NULL,
	{(PropertyRNA *)&rna_RenderEngine_update_data, (PropertyRNA *)&rna_RenderEngine_update_scene}},
	"update", 4192, "Export scene data for render",
	NULL,
	NULL
};

PointerPropertyRNA rna_RenderEngine_render_scene = {
	{NULL, NULL,
	-1, "scene", 8388608, 0, 0, "",
	"",
	0, "*",
	PROP_POINTER, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL,&RNA_Scene
};

FunctionRNA rna_RenderEngine_render_func = {
	{(FunctionRNA *)&rna_RenderEngine_bake_func, (FunctionRNA *)&rna_RenderEngine_update_func,
	NULL,
	{(PropertyRNA *)&rna_RenderEngine_render_scene, (PropertyRNA *)&rna_RenderEngine_render_scene}},
	"render", 4192, "Render scene into an image",
	NULL,
	NULL
};

PointerPropertyRNA rna_RenderEngine_bake_scene = {
	{(PropertyRNA *)&rna_RenderEngine_bake_object, NULL,
	-1, "scene", 8388608, 1, 0, "",
	"",
	0, "*",
	PROP_POINTER, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL,&RNA_Scene
};

PointerPropertyRNA rna_RenderEngine_bake_object = {
	{(PropertyRNA *)&rna_RenderEngine_bake_pass_type, (PropertyRNA *)&rna_RenderEngine_bake_scene,
	-1, "object", 8388608, 1, 0, "",
	"",
	0, "*",
	PROP_POINTER, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL,&RNA_Object
};

static EnumPropertyItem rna_RenderEngine_bake_pass_type_items[12] = {
	{1, "COMBINED", 0, "Combined", ""},
	{64, "AO", 0, "AO", ""},
	{32, "SHADOW", 0, "Shadow", ""},
	{256, "NORMAL", 0, "Normal", ""},
	{4096, "UV", 0, "UV", ""},
	{65536, "EMIT", 0, "Emit", ""},
	{131072, "ENVIRONMENT", 0, "Environment", ""},
	{2097152, "DIFFUSE", 0, "Diffuse", ""},
	{16777216, "GLOSSY", 0, "Glossy", ""},
	{134217728, "TRANSMISSION", 0, "Transmission", ""},
	{1073741824, "SUBSURFACE", 0, "Subsurface", ""},
	{0, NULL, 0, NULL, NULL}
};

EnumPropertyRNA rna_RenderEngine_bake_pass_type = {
	{(PropertyRNA *)&rna_RenderEngine_bake_pass_filter, (PropertyRNA *)&rna_RenderEngine_bake_object,
	-1, "pass_type", 3, 1, 0, "Pass",
	"Pass to bake",
	0, "*",
	PROP_ENUM, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL, NULL, NULL, rna_RenderEngine_bake_pass_type_items, 11, 1
};

IntPropertyRNA rna_RenderEngine_bake_pass_filter = {
	{(PropertyRNA *)&rna_RenderEngine_bake_object_id, (PropertyRNA *)&rna_RenderEngine_bake_pass_type,
	-1, "pass_filter", 3, 1, 0, "Pass Filter",
	"Filter to combined, diffuse, glossy, transmission and subsurface passes",
	0, "*",
	PROP_INT, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
	0, INT_MAX, 0, INT_MAX, 1, 0, NULL
};

IntPropertyRNA rna_RenderEngine_bake_object_id = {
	{(PropertyRNA *)&rna_RenderEngine_bake_pixel_array, (PropertyRNA *)&rna_RenderEngine_bake_pass_filter,
	-1, "object_id", 3, 1, 0, "Object Id",
	"Id of the current object being baked in relation to the others",
	0, "*",
	PROP_INT, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
	0, INT_MAX, 0, INT_MAX, 1, 0, NULL
};

PointerPropertyRNA rna_RenderEngine_bake_pixel_array = {
	{(PropertyRNA *)&rna_RenderEngine_bake_num_pixels, (PropertyRNA *)&rna_RenderEngine_bake_object_id,
	-1, "pixel_array", 8388608, 1, 0, "",
	"",
	0, "*",
	PROP_POINTER, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL,&RNA_BakePixel
};

IntPropertyRNA rna_RenderEngine_bake_num_pixels = {
	{(PropertyRNA *)&rna_RenderEngine_bake_depth, (PropertyRNA *)&rna_RenderEngine_bake_pixel_array,
	-1, "num_pixels", 3, 1, 0, "Number of Pixels",
	"Size of the baking batch",
	0, "*",
	PROP_INT, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
	0, INT_MAX, 0, INT_MAX, 1, 0, NULL
};

IntPropertyRNA rna_RenderEngine_bake_depth = {
	{(PropertyRNA *)&rna_RenderEngine_bake_result, (PropertyRNA *)&rna_RenderEngine_bake_num_pixels,
	-1, "depth", 3, 1, 0, "Pixels depth",
	"Number of channels",
	0, "*",
	PROP_INT, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
	1, INT_MAX, 0, INT_MAX, 1, 0, NULL
};

PointerPropertyRNA rna_RenderEngine_bake_result = {
	{NULL, (PropertyRNA *)&rna_RenderEngine_bake_depth,
	-1, "result", 8388608, 1, 0, "",
	"",
	0, "*",
	PROP_POINTER, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL,&RNA_AnyType
};

FunctionRNA rna_RenderEngine_bake_func = {
	{(FunctionRNA *)&rna_RenderEngine_view_update_func, (FunctionRNA *)&rna_RenderEngine_render_func,
	NULL,
	{(PropertyRNA *)&rna_RenderEngine_bake_scene, (PropertyRNA *)&rna_RenderEngine_bake_result}},
	"bake", 4192, "Bake passes",
	NULL,
	NULL
};

PointerPropertyRNA rna_RenderEngine_view_update_context = {
	{NULL, NULL,
	-1, "context", 8388608, 0, 0, "",
	"",
	0, "*",
	PROP_POINTER, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL,&RNA_Context
};

FunctionRNA rna_RenderEngine_view_update_func = {
	{(FunctionRNA *)&rna_RenderEngine_view_draw_func, (FunctionRNA *)&rna_RenderEngine_bake_func,
	NULL,
	{(PropertyRNA *)&rna_RenderEngine_view_update_context, (PropertyRNA *)&rna_RenderEngine_view_update_context}},
	"view_update", 4192, "Update on data changes for viewport render",
	NULL,
	NULL
};

PointerPropertyRNA rna_RenderEngine_view_draw_context = {
	{NULL, NULL,
	-1, "context", 8388608, 0, 0, "",
	"",
	0, "*",
	PROP_POINTER, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL,&RNA_Context
};

FunctionRNA rna_RenderEngine_view_draw_func = {
	{(FunctionRNA *)&rna_RenderEngine_update_script_node_func, (FunctionRNA *)&rna_RenderEngine_view_update_func,
	NULL,
	{(PropertyRNA *)&rna_RenderEngine_view_draw_context, (PropertyRNA *)&rna_RenderEngine_view_draw_context}},
	"view_draw", 96, "Draw viewport render",
	NULL,
	NULL
};

PointerPropertyRNA rna_RenderEngine_update_script_node_node = {
	{NULL, NULL,
	-1, "node", 8388608, 4, 0, "",
	"",
	0, "*",
	PROP_POINTER, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL,&RNA_Node
};

FunctionRNA rna_RenderEngine_update_script_node_func = {
	{(FunctionRNA *)&rna_RenderEngine_tag_redraw_func, (FunctionRNA *)&rna_RenderEngine_view_draw_func,
	NULL,
	{(PropertyRNA *)&rna_RenderEngine_update_script_node_node, (PropertyRNA *)&rna_RenderEngine_update_script_node_node}},
	"update_script_node", 4192, "Compile shader script node",
	NULL,
	NULL
};

FunctionRNA rna_RenderEngine_tag_redraw_func = {
	{(FunctionRNA *)&rna_RenderEngine_tag_update_func, (FunctionRNA *)&rna_RenderEngine_update_script_node_func,
	NULL,
	{NULL, NULL}},
	"tag_redraw", 0, "Request redraw for viewport rendering",
	RenderEngine_tag_redraw_call,
	NULL
};

FunctionRNA rna_RenderEngine_tag_update_func = {
	{(FunctionRNA *)&rna_RenderEngine_begin_result_func, (FunctionRNA *)&rna_RenderEngine_tag_redraw_func,
	NULL,
	{NULL, NULL}},
	"tag_update", 0, "Request update call for viewport rendering",
	RenderEngine_tag_update_call,
	NULL
};

IntPropertyRNA rna_RenderEngine_begin_result_x = {
	{(PropertyRNA *)&rna_RenderEngine_begin_result_y, NULL,
	-1, "x", 3, 1, 0, "X",
	"",
	0, "*",
	PROP_INT, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
	0, INT_MAX, 0, INT_MAX, 1, 0, NULL
};

IntPropertyRNA rna_RenderEngine_begin_result_y = {
	{(PropertyRNA *)&rna_RenderEngine_begin_result_w, (PropertyRNA *)&rna_RenderEngine_begin_result_x,
	-1, "y", 3, 1, 0, "Y",
	"",
	0, "*",
	PROP_INT, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
	0, INT_MAX, 0, INT_MAX, 1, 0, NULL
};

IntPropertyRNA rna_RenderEngine_begin_result_w = {
	{(PropertyRNA *)&rna_RenderEngine_begin_result_h, (PropertyRNA *)&rna_RenderEngine_begin_result_y,
	-1, "w", 3, 1, 0, "Width",
	"",
	0, "*",
	PROP_INT, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
	0, INT_MAX, 0, INT_MAX, 1, 0, NULL
};

IntPropertyRNA rna_RenderEngine_begin_result_h = {
	{(PropertyRNA *)&rna_RenderEngine_begin_result_layer, (PropertyRNA *)&rna_RenderEngine_begin_result_w,
	-1, "h", 3, 1, 0, "Height",
	"",
	0, "*",
	PROP_INT, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
	0, INT_MAX, 0, INT_MAX, 1, 0, NULL
};

StringPropertyRNA rna_RenderEngine_begin_result_layer = {
	{(PropertyRNA *)&rna_RenderEngine_begin_result_view, (PropertyRNA *)&rna_RenderEngine_begin_result_h,
	-1, "layer", 262145, 0, 0, "Layer",
	"Single layer to get render result for",
	0, "*",
	PROP_STRING, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL, NULL, NULL, 0, ""
};

StringPropertyRNA rna_RenderEngine_begin_result_view = {
	{(PropertyRNA *)&rna_RenderEngine_begin_result_result, (PropertyRNA *)&rna_RenderEngine_begin_result_layer,
	-1, "view", 262145, 0, 0, "View",
	"Single view to get render result for",
	0, "*",
	PROP_STRING, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL, NULL, NULL, 0, ""
};

PointerPropertyRNA rna_RenderEngine_begin_result_result = {
	{NULL, (PropertyRNA *)&rna_RenderEngine_begin_result_view,
	-1, "result", 8388608, 2, 0, "Result",
	"",
	0, "*",
	PROP_POINTER, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL,&RNA_RenderResult
};

FunctionRNA rna_RenderEngine_begin_result_func = {
	{(FunctionRNA *)&rna_RenderEngine_update_result_func, (FunctionRNA *)&rna_RenderEngine_tag_update_func,
	NULL,
	{(PropertyRNA *)&rna_RenderEngine_begin_result_x, (PropertyRNA *)&rna_RenderEngine_begin_result_result}},
	"begin_result", 0, "Create render result to write linear floating point render layers and passes",
	RenderEngine_begin_result_call,
	(PropertyRNA *)&rna_RenderEngine_begin_result_result
};

PointerPropertyRNA rna_RenderEngine_update_result_result = {
	{NULL, NULL,
	-1, "result", 8388608, 1, 0, "Result",
	"",
	0, "*",
	PROP_POINTER, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL,&RNA_RenderResult
};

FunctionRNA rna_RenderEngine_update_result_func = {
	{(FunctionRNA *)&rna_RenderEngine_end_result_func, (FunctionRNA *)&rna_RenderEngine_begin_result_func,
	NULL,
	{(PropertyRNA *)&rna_RenderEngine_update_result_result, (PropertyRNA *)&rna_RenderEngine_update_result_result}},
	"update_result", 0, "Signal that pixels have been updated and can be redrawn in the user interface",
	RenderEngine_update_result_call,
	NULL
};

PointerPropertyRNA rna_RenderEngine_end_result_result = {
	{(PropertyRNA *)&rna_RenderEngine_end_result_cancel, NULL,
	-1, "result", 8388608, 1, 0, "Result",
	"",
	0, "*",
	PROP_POINTER, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL,&RNA_RenderResult
};

BoolPropertyRNA rna_RenderEngine_end_result_cancel = {
	{(PropertyRNA *)&rna_RenderEngine_end_result_do_merge_results, (PropertyRNA *)&rna_RenderEngine_end_result_result,
	-1, "cancel", 3, 0, 0, "Cancel",
	"Don\'t mark tile as done, don\'t merge results unless forced",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderEngine_end_result_do_merge_results = {
	{NULL, (PropertyRNA *)&rna_RenderEngine_end_result_cancel,
	-1, "do_merge_results", 3, 0, 0, "Merge Results",
	"Merge results even if cancel=true",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

FunctionRNA rna_RenderEngine_end_result_func = {
	{(FunctionRNA *)&rna_RenderEngine_test_break_func, (FunctionRNA *)&rna_RenderEngine_update_result_func,
	NULL,
	{(PropertyRNA *)&rna_RenderEngine_end_result_result, (PropertyRNA *)&rna_RenderEngine_end_result_do_merge_results}},
	"end_result", 0, "All pixels in the render result have been set and are final",
	RenderEngine_end_result_call,
	NULL
};

BoolPropertyRNA rna_RenderEngine_test_break_do_break = {
	{NULL, NULL,
	-1, "do_break", 3, 2, 0, "Break",
	"",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

FunctionRNA rna_RenderEngine_test_break_func = {
	{(FunctionRNA *)&rna_RenderEngine_active_view_get_func, (FunctionRNA *)&rna_RenderEngine_end_result_func,
	NULL,
	{(PropertyRNA *)&rna_RenderEngine_test_break_do_break, (PropertyRNA *)&rna_RenderEngine_test_break_do_break}},
	"test_break", 0, "Test if the render operation should been canceled, this is a fast call that should be used regularly for responsiveness",
	RenderEngine_test_break_call,
	(PropertyRNA *)&rna_RenderEngine_test_break_do_break
};

StringPropertyRNA rna_RenderEngine_active_view_get_view = {
	{NULL, NULL,
	-1, "view", 262145, 2, 0, "View",
	"Single view active",
	0, "*",
	PROP_STRING, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL, NULL, NULL, 0, ""
};

FunctionRNA rna_RenderEngine_active_view_get_func = {
	{(FunctionRNA *)&rna_RenderEngine_active_view_set_func, (FunctionRNA *)&rna_RenderEngine_test_break_func,
	NULL,
	{(PropertyRNA *)&rna_RenderEngine_active_view_get_view, (PropertyRNA *)&rna_RenderEngine_active_view_get_view}},
	"active_view_get", 0, "active_view_get",
	RenderEngine_active_view_get_call,
	(PropertyRNA *)&rna_RenderEngine_active_view_get_view
};

StringPropertyRNA rna_RenderEngine_active_view_set_view = {
	{NULL, NULL,
	-1, "view", 262145, 1, 0, "View",
	"Single view to set as active",
	0, "*",
	PROP_STRING, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL, NULL, NULL, 0, ""
};

FunctionRNA rna_RenderEngine_active_view_set_func = {
	{(FunctionRNA *)&rna_RenderEngine_camera_shift_x_func, (FunctionRNA *)&rna_RenderEngine_active_view_get_func,
	NULL,
	{(PropertyRNA *)&rna_RenderEngine_active_view_set_view, (PropertyRNA *)&rna_RenderEngine_active_view_set_view}},
	"active_view_set", 0, "active_view_set",
	RenderEngine_active_view_set_call,
	NULL
};

PointerPropertyRNA rna_RenderEngine_camera_shift_x_camera = {
	{(PropertyRNA *)&rna_RenderEngine_camera_shift_x_use_spherical_stereo, NULL,
	-1, "camera", 8388608, 1, 0, "",
	"",
	0, "*",
	PROP_POINTER, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL,&RNA_Object
};

BoolPropertyRNA rna_RenderEngine_camera_shift_x_use_spherical_stereo = {
	{(PropertyRNA *)&rna_RenderEngine_camera_shift_x_shift_x, (PropertyRNA *)&rna_RenderEngine_camera_shift_x_camera,
	-1, "use_spherical_stereo", 3, 0, 0, "Spherical Stereo",
	"",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

FloatPropertyRNA rna_RenderEngine_camera_shift_x_shift_x = {
	{NULL, (PropertyRNA *)&rna_RenderEngine_camera_shift_x_use_spherical_stereo,
	-1, "shift_x", 3, 2, 0, "Shift X",
	"",
	0, "*",
	PROP_FLOAT, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0.0f, FLT_MAX, 0.0f, FLT_MAX, 1.0f, 3, 0.0f, NULL
};

FunctionRNA rna_RenderEngine_camera_shift_x_func = {
	{(FunctionRNA *)&rna_RenderEngine_camera_model_matrix_func, (FunctionRNA *)&rna_RenderEngine_active_view_set_func,
	NULL,
	{(PropertyRNA *)&rna_RenderEngine_camera_shift_x_camera, (PropertyRNA *)&rna_RenderEngine_camera_shift_x_shift_x}},
	"camera_shift_x", 0, "camera_shift_x",
	RenderEngine_camera_shift_x_call,
	(PropertyRNA *)&rna_RenderEngine_camera_shift_x_shift_x
};

PointerPropertyRNA rna_RenderEngine_camera_model_matrix_camera = {
	{(PropertyRNA *)&rna_RenderEngine_camera_model_matrix_use_spherical_stereo, NULL,
	-1, "camera", 8388608, 1, 0, "",
	"",
	0, "*",
	PROP_POINTER, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL,&RNA_Object
};

BoolPropertyRNA rna_RenderEngine_camera_model_matrix_use_spherical_stereo = {
	{(PropertyRNA *)&rna_RenderEngine_camera_model_matrix_r_model_matrix, (PropertyRNA *)&rna_RenderEngine_camera_model_matrix_camera,
	-1, "use_spherical_stereo", 3, 0, 0, "Spherical Stereo",
	"",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

static float rna_RenderEngine_camera_model_matrix_r_model_matrix_default[16] = {
	0.0f,
	0.0f,
	0.0f,
	0.0f,
	0.0f,
	0.0f,
	0.0f,
	0.0f,
	0.0f,
	0.0f,
	0.0f,
	0.0f,
	0.0f,
	0.0f,
	0.0f,
	0.0f
};

FloatPropertyRNA rna_RenderEngine_camera_model_matrix_r_model_matrix = {
	{NULL, (PropertyRNA *)&rna_RenderEngine_camera_model_matrix_use_spherical_stereo,
	-1, "r_model_matrix", 3, 1, 0, "Model Matrix",
	"Normalized camera model matrix",
	0, "*",
	PROP_FLOAT, PROP_MATRIX | PROP_UNIT_NONE, NULL, 2, {4, 4, 0}, 16,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0.0f, 0.0f, -FLT_MAX, FLT_MAX, 1.0f, 3, 0.0f, rna_RenderEngine_camera_model_matrix_r_model_matrix_default
};

FunctionRNA rna_RenderEngine_camera_model_matrix_func = {
	{(FunctionRNA *)&rna_RenderEngine_use_spherical_stereo_func, (FunctionRNA *)&rna_RenderEngine_camera_shift_x_func,
	NULL,
	{(PropertyRNA *)&rna_RenderEngine_camera_model_matrix_camera, (PropertyRNA *)&rna_RenderEngine_camera_model_matrix_r_model_matrix}},
	"camera_model_matrix", 0, "camera_model_matrix",
	RenderEngine_camera_model_matrix_call,
	NULL
};

PointerPropertyRNA rna_RenderEngine_use_spherical_stereo_camera = {
	{(PropertyRNA *)&rna_RenderEngine_use_spherical_stereo_use_spherical_stereo, NULL,
	-1, "camera", 8388608, 1, 0, "",
	"",
	0, "*",
	PROP_POINTER, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL,&RNA_Object
};

BoolPropertyRNA rna_RenderEngine_use_spherical_stereo_use_spherical_stereo = {
	{NULL, (PropertyRNA *)&rna_RenderEngine_use_spherical_stereo_camera,
	-1, "use_spherical_stereo", 3, 2, 0, "Spherical Stereo",
	"",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

FunctionRNA rna_RenderEngine_use_spherical_stereo_func = {
	{(FunctionRNA *)&rna_RenderEngine_update_stats_func, (FunctionRNA *)&rna_RenderEngine_camera_model_matrix_func,
	NULL,
	{(PropertyRNA *)&rna_RenderEngine_use_spherical_stereo_camera, (PropertyRNA *)&rna_RenderEngine_use_spherical_stereo_use_spherical_stereo}},
	"use_spherical_stereo", 0, "use_spherical_stereo",
	RenderEngine_use_spherical_stereo_call,
	(PropertyRNA *)&rna_RenderEngine_use_spherical_stereo_use_spherical_stereo
};

StringPropertyRNA rna_RenderEngine_update_stats_stats = {
	{(PropertyRNA *)&rna_RenderEngine_update_stats_info, NULL,
	-1, "stats", 262145, 1, 0, "Stats",
	"",
	0, "*",
	PROP_STRING, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL, NULL, NULL, 0, ""
};

StringPropertyRNA rna_RenderEngine_update_stats_info = {
	{NULL, (PropertyRNA *)&rna_RenderEngine_update_stats_stats,
	-1, "info", 262145, 1, 0, "Info",
	"",
	0, "*",
	PROP_STRING, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL, NULL, NULL, 0, ""
};

FunctionRNA rna_RenderEngine_update_stats_func = {
	{(FunctionRNA *)&rna_RenderEngine_frame_set_func, (FunctionRNA *)&rna_RenderEngine_use_spherical_stereo_func,
	NULL,
	{(PropertyRNA *)&rna_RenderEngine_update_stats_stats, (PropertyRNA *)&rna_RenderEngine_update_stats_info}},
	"update_stats", 0, "Update and signal to redraw render status text",
	RenderEngine_update_stats_call,
	NULL
};

IntPropertyRNA rna_RenderEngine_frame_set_frame = {
	{(PropertyRNA *)&rna_RenderEngine_frame_set_subframe, NULL,
	-1, "frame", 3, 1, 0, "Frame",
	"",
	0, "*",
	PROP_INT, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
	INT_MIN, INT_MAX, INT_MIN, INT_MAX, 1, 0, NULL
};

FloatPropertyRNA rna_RenderEngine_frame_set_subframe = {
	{NULL, (PropertyRNA *)&rna_RenderEngine_frame_set_frame,
	-1, "subframe", 3, 1, 0, "Subframe",
	"",
	0, "*",
	PROP_FLOAT, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0.0f, 1.0f, 0.0f, 1.0f, 1.0f, 3, 0.0f, NULL
};

FunctionRNA rna_RenderEngine_frame_set_func = {
	{(FunctionRNA *)&rna_RenderEngine_update_progress_func, (FunctionRNA *)&rna_RenderEngine_update_stats_func,
	NULL,
	{(PropertyRNA *)&rna_RenderEngine_frame_set_frame, (PropertyRNA *)&rna_RenderEngine_frame_set_subframe}},
	"frame_set", 0, "Evaluate scene at a different frame (for motion blur)",
	RenderEngine_frame_set_call,
	NULL
};

FloatPropertyRNA rna_RenderEngine_update_progress_progress = {
	{NULL, NULL,
	-1, "progress", 3, 1, 0, "",
	"Percentage of render that\'s done",
	0, "*",
	PROP_FLOAT, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0.0f, 1.0f, 0.0f, 1.0f, 1.0f, 3, 0.0f, NULL
};

FunctionRNA rna_RenderEngine_update_progress_func = {
	{(FunctionRNA *)&rna_RenderEngine_update_memory_stats_func, (FunctionRNA *)&rna_RenderEngine_frame_set_func,
	NULL,
	{(PropertyRNA *)&rna_RenderEngine_update_progress_progress, (PropertyRNA *)&rna_RenderEngine_update_progress_progress}},
	"update_progress", 0, "Update progress percentage of render",
	RenderEngine_update_progress_call,
	NULL
};

FloatPropertyRNA rna_RenderEngine_update_memory_stats_memory_used = {
	{(PropertyRNA *)&rna_RenderEngine_update_memory_stats_memory_peak, NULL,
	-1, "memory_used", 3, 0, 0, "",
	"Current memory usage in megabytes",
	0, "*",
	PROP_FLOAT, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0.0f, FLT_MAX, 0.0f, FLT_MAX, 1.0f, 3, 0.0f, NULL
};

FloatPropertyRNA rna_RenderEngine_update_memory_stats_memory_peak = {
	{NULL, (PropertyRNA *)&rna_RenderEngine_update_memory_stats_memory_used,
	-1, "memory_peak", 3, 0, 0, "",
	"Peak memory usage in megabytes",
	0, "*",
	PROP_FLOAT, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0.0f, FLT_MAX, 0.0f, FLT_MAX, 1.0f, 3, 0.0f, NULL
};

FunctionRNA rna_RenderEngine_update_memory_stats_func = {
	{(FunctionRNA *)&rna_RenderEngine_report_func, (FunctionRNA *)&rna_RenderEngine_update_progress_func,
	NULL,
	{(PropertyRNA *)&rna_RenderEngine_update_memory_stats_memory_used, (PropertyRNA *)&rna_RenderEngine_update_memory_stats_memory_peak}},
	"update_memory_stats", 0, "Update memory usage statistics",
	RenderEngine_update_memory_stats_call,
	NULL
};

static EnumPropertyItem rna_RenderEngine_report_type_items[10] = {
	{1, "DEBUG", 0, "Debug", ""},
	{2, "INFO", 0, "Info", ""},
	{4, "OPERATOR", 0, "Operator", ""},
	{8, "PROPERTY", 0, "Property", ""},
	{16, "WARNING", 0, "Warning", ""},
	{32, "ERROR", 0, "Error", ""},
	{64, "ERROR_INVALID_INPUT", 0, "Invalid Input", ""},
	{128, "ERROR_INVALID_CONTEXT", 0, "Invalid Context", ""},
	{256, "ERROR_OUT_OF_MEMORY", 0, "Out of Memory", ""},
	{0, NULL, 0, NULL, NULL}
};

EnumPropertyRNA rna_RenderEngine_report_type = {
	{(PropertyRNA *)&rna_RenderEngine_report_message, NULL,
	-1, "type", 2097155, 1, 0, "Type",
	"",
	0, "*",
	PROP_ENUM, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL, NULL, NULL, rna_RenderEngine_report_type_items, 9, 0
};

StringPropertyRNA rna_RenderEngine_report_message = {
	{NULL, (PropertyRNA *)&rna_RenderEngine_report_type,
	-1, "message", 262145, 1, 0, "Report Message",
	"",
	0, "*",
	PROP_STRING, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL, NULL, NULL, 0, ""
};

FunctionRNA rna_RenderEngine_report_func = {
	{(FunctionRNA *)&rna_RenderEngine_error_set_func, (FunctionRNA *)&rna_RenderEngine_update_memory_stats_func,
	NULL,
	{(PropertyRNA *)&rna_RenderEngine_report_type, (PropertyRNA *)&rna_RenderEngine_report_message}},
	"report", 0, "Report info, warning or error messages",
	RenderEngine_report_call,
	NULL
};

StringPropertyRNA rna_RenderEngine_error_set_message = {
	{NULL, NULL,
	-1, "message", 262145, 1, 0, "Report Message",
	"",
	0, "*",
	PROP_STRING, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL, NULL, NULL, 0, ""
};

FunctionRNA rna_RenderEngine_error_set_func = {
	{(FunctionRNA *)&rna_RenderEngine_bind_display_space_shader_func, (FunctionRNA *)&rna_RenderEngine_report_func,
	NULL,
	{(PropertyRNA *)&rna_RenderEngine_error_set_message, (PropertyRNA *)&rna_RenderEngine_error_set_message}},
	"error_set", 0, "Set error message displaying after the render is finished",
	RenderEngine_error_set_call,
	NULL
};

PointerPropertyRNA rna_RenderEngine_bind_display_space_shader_scene = {
	{NULL, NULL,
	-1, "scene", 8388608, 1, 0, "",
	"",
	0, "*",
	PROP_POINTER, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL,&RNA_Scene
};

FunctionRNA rna_RenderEngine_bind_display_space_shader_func = {
	{(FunctionRNA *)&rna_RenderEngine_unbind_display_space_shader_func, (FunctionRNA *)&rna_RenderEngine_error_set_func,
	NULL,
	{(PropertyRNA *)&rna_RenderEngine_bind_display_space_shader_scene, (PropertyRNA *)&rna_RenderEngine_bind_display_space_shader_scene}},
	"bind_display_space_shader", 0, "Bind GLSL fragment shader that converts linear colors to display space colors using scene color management settings",
	RenderEngine_bind_display_space_shader_call,
	NULL
};

FunctionRNA rna_RenderEngine_unbind_display_space_shader_func = {
	{(FunctionRNA *)&rna_RenderEngine_support_display_space_shader_func, (FunctionRNA *)&rna_RenderEngine_bind_display_space_shader_func,
	NULL,
	{NULL, NULL}},
	"unbind_display_space_shader", 0, "Unbind GLSL display space shader, must always be called after binding the shader",
	RenderEngine_unbind_display_space_shader_call,
	NULL
};

PointerPropertyRNA rna_RenderEngine_support_display_space_shader_scene = {
	{(PropertyRNA *)&rna_RenderEngine_support_display_space_shader_supported, NULL,
	-1, "scene", 8388608, 1, 0, "",
	"",
	0, "*",
	PROP_POINTER, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL,&RNA_Scene
};

BoolPropertyRNA rna_RenderEngine_support_display_space_shader_supported = {
	{NULL, (PropertyRNA *)&rna_RenderEngine_support_display_space_shader_scene,
	-1, "supported", 3, 2, 0, "Supported",
	"",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

FunctionRNA rna_RenderEngine_support_display_space_shader_func = {
	{NULL, (FunctionRNA *)&rna_RenderEngine_unbind_display_space_shader_func,
	NULL,
	{(PropertyRNA *)&rna_RenderEngine_support_display_space_shader_scene, (PropertyRNA *)&rna_RenderEngine_support_display_space_shader_supported}},
	"support_display_space_shader", 0, "Test if GLSL display space shader is supported for the combination of graphics card and scene settings",
	RenderEngine_support_display_space_shader_call,
	(PropertyRNA *)&rna_RenderEngine_support_display_space_shader_supported
};

StructRNA RNA_RenderEngine = {
	{(ContainerRNA *)&RNA_RenderResult, (ContainerRNA *)&RNA_GameStringProperty,
	NULL,
	{(PropertyRNA *)&rna_RenderEngine_rna_properties, (PropertyRNA *)&rna_RenderEngine_bl_use_spherical_stereo}},
	"RenderEngine", NULL, NULL, 4, "Render Engine",
	"Render engine",
	"*", 17,
	NULL, (PropertyRNA *)&rna_RenderEngine_rna_properties,
	NULL,
	NULL,
	rna_RenderEngine_refine,
	NULL,
	rna_RenderEngine_register,
	rna_RenderEngine_unregister,
	rna_RenderEngine_instance,
	NULL,
	{(FunctionRNA *)&rna_RenderEngine_update_func, (FunctionRNA *)&rna_RenderEngine_support_display_space_shader_func}
};

/* Render Result */
CollectionPropertyRNA rna_RenderResult_rna_properties = {
	{(PropertyRNA *)&rna_RenderResult_rna_type, NULL,
	-1, "rna_properties", 0, 0, 1, "Properties",
	"RNA property collection",
	0, "*",
	PROP_COLLECTION, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderResult_rna_properties_begin, RenderResult_rna_properties_next, RenderResult_rna_properties_end, RenderResult_rna_properties_get, NULL, NULL, RenderResult_rna_properties_lookup_string, NULL, &RNA_Property
};

PointerPropertyRNA rna_RenderResult_rna_type = {
	{(PropertyRNA *)&rna_RenderResult_resolution_x, (PropertyRNA *)&rna_RenderResult_rna_properties,
	-1, "rna_type", 8912896, 0, 0, "RNA",
	"RNA type definition",
	0, "*",
	PROP_POINTER, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderResult_rna_type_get, NULL, NULL, NULL,&RNA_Struct
};

IntPropertyRNA rna_RenderResult_resolution_x = {
	{(PropertyRNA *)&rna_RenderResult_resolution_y, (PropertyRNA *)&rna_RenderResult_rna_type,
	-1, "resolution_x", 2, 0, 0, "resolution_x",
	"",
	0, "*",
	PROP_INT, PROP_PIXEL | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderResult_resolution_x_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
	-10000, 10000, INT_MIN, INT_MAX, 1, 0, NULL
};

IntPropertyRNA rna_RenderResult_resolution_y = {
	{(PropertyRNA *)&rna_RenderResult_layers, (PropertyRNA *)&rna_RenderResult_resolution_x,
	-1, "resolution_y", 2, 0, 0, "resolution_y",
	"",
	0, "*",
	PROP_INT, PROP_PIXEL | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderResult_resolution_y_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
	-10000, 10000, INT_MIN, INT_MAX, 1, 0, NULL
};

CollectionPropertyRNA rna_RenderResult_layers = {
	{(PropertyRNA *)&rna_RenderResult_views, (PropertyRNA *)&rna_RenderResult_resolution_y,
	-1, "layers", 0, 0, 0, "layers",
	"",
	0, "*",
	PROP_COLLECTION, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderResult_layers_begin, RenderResult_layers_next, RenderResult_layers_end, RenderResult_layers_get, NULL, NULL, NULL, NULL, &RNA_RenderLayer
};

CollectionPropertyRNA rna_RenderResult_views = {
	{NULL, (PropertyRNA *)&rna_RenderResult_layers,
	-1, "views", 0, 0, 0, "views",
	"",
	0, "*",
	PROP_COLLECTION, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderResult_views_begin, RenderResult_views_next, RenderResult_views_end, RenderResult_views_get, NULL, NULL, NULL, NULL, &RNA_RenderView
};

StringPropertyRNA rna_RenderResult_load_from_file_filename = {
	{NULL, NULL,
	-1, "filename", 262145, 1, 0, "File Name",
	"Filename to load into this render tile, must be no smaller than the render result",
	0, "*",
	PROP_STRING, PROP_FILENAME | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL, NULL, NULL, 1024, ""
};

FunctionRNA rna_RenderResult_load_from_file_func = {
	{NULL, NULL,
	NULL,
	{(PropertyRNA *)&rna_RenderResult_load_from_file_filename, (PropertyRNA *)&rna_RenderResult_load_from_file_filename}},
	"load_from_file", 16, "Copies the pixels of this render result from an image file",
	RenderResult_load_from_file_call,
	NULL
};

StructRNA RNA_RenderResult = {
	{(ContainerRNA *)&RNA_RenderView, (ContainerRNA *)&RNA_RenderEngine,
	NULL,
	{(PropertyRNA *)&rna_RenderResult_rna_properties, (PropertyRNA *)&rna_RenderResult_views}},
	"RenderResult", NULL, NULL, 4, "Render Result",
	"Result of rendering, including all layers and passes",
	"*", 17,
	NULL, (PropertyRNA *)&rna_RenderResult_rna_properties,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	{(FunctionRNA *)&rna_RenderResult_load_from_file_func, (FunctionRNA *)&rna_RenderResult_load_from_file_func}
};

/* Render View */
CollectionPropertyRNA rna_RenderView_rna_properties = {
	{(PropertyRNA *)&rna_RenderView_rna_type, NULL,
	-1, "rna_properties", 0, 0, 1, "Properties",
	"RNA property collection",
	0, "*",
	PROP_COLLECTION, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderView_rna_properties_begin, RenderView_rna_properties_next, RenderView_rna_properties_end, RenderView_rna_properties_get, NULL, NULL, RenderView_rna_properties_lookup_string, NULL, &RNA_Property
};

PointerPropertyRNA rna_RenderView_rna_type = {
	{(PropertyRNA *)&rna_RenderView_name, (PropertyRNA *)&rna_RenderView_rna_properties,
	-1, "rna_type", 8912896, 0, 0, "RNA",
	"RNA type definition",
	0, "*",
	PROP_POINTER, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderView_rna_type_get, NULL, NULL, NULL,&RNA_Struct
};

StringPropertyRNA rna_RenderView_name = {
	{NULL, (PropertyRNA *)&rna_RenderView_rna_type,
	-1, "name", 262144, 0, 0, "name",
	"",
	0, "*",
	PROP_STRING, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderView_name_get, RenderView_name_length, NULL, NULL, NULL, NULL, 0, ""
};

StructRNA RNA_RenderView = {
	{(ContainerRNA *)&RNA_RenderLayer, (ContainerRNA *)&RNA_RenderResult,
	NULL,
	{(PropertyRNA *)&rna_RenderView_rna_properties, (PropertyRNA *)&rna_RenderView_name}},
	"RenderView", NULL, NULL, 4, "Render View",
	"",
	"*", 17,
	(PropertyRNA *)&rna_RenderView_name, (PropertyRNA *)&rna_RenderView_rna_properties,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	{NULL, NULL}
};

/* Render Layer */
CollectionPropertyRNA rna_RenderLayer_rna_properties = {
	{(PropertyRNA *)&rna_RenderLayer_rna_type, NULL,
	-1, "rna_properties", 0, 0, 1, "Properties",
	"RNA property collection",
	0, "*",
	PROP_COLLECTION, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_rna_properties_begin, RenderLayer_rna_properties_next, RenderLayer_rna_properties_end, RenderLayer_rna_properties_get, NULL, NULL, RenderLayer_rna_properties_lookup_string, NULL, &RNA_Property
};

PointerPropertyRNA rna_RenderLayer_rna_type = {
	{(PropertyRNA *)&rna_RenderLayer_name, (PropertyRNA *)&rna_RenderLayer_rna_properties,
	-1, "rna_type", 8912896, 0, 0, "RNA",
	"RNA type definition",
	0, "*",
	PROP_POINTER, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_rna_type_get, NULL, NULL, NULL,&RNA_Struct
};

StringPropertyRNA rna_RenderLayer_name = {
	{(PropertyRNA *)&rna_RenderLayer_material_override, (PropertyRNA *)&rna_RenderLayer_rna_type,
	-1, "name", 262144, 0, 0, "Name",
	"Render layer name",
	0, "*",
	PROP_STRING, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_name_get, RenderLayer_name_length, NULL, NULL, NULL, NULL, 0, ""
};

PointerPropertyRNA rna_RenderLayer_material_override = {
	{(PropertyRNA *)&rna_RenderLayer_light_override, (PropertyRNA *)&rna_RenderLayer_name,
	-1, "material_override", 8388608, 0, 0, "Material Override",
	"Material to override all other materials in this render layer",
	0, "*",
	PROP_POINTER, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_material_override_get, NULL, NULL, NULL,&RNA_Material
};

PointerPropertyRNA rna_RenderLayer_light_override = {
	{(PropertyRNA *)&rna_RenderLayer_layers, (PropertyRNA *)&rna_RenderLayer_material_override,
	-1, "light_override", 8388608, 0, 0, "Light Override",
	"Group to override all other lights in this render layer",
	0, "*",
	PROP_POINTER, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_light_override_get, NULL, NULL, NULL,&RNA_Group
};

static int rna_RenderLayer_layers_default[20] = {
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0
};

BoolPropertyRNA rna_RenderLayer_layers = {
	{(PropertyRNA *)&rna_RenderLayer_layers_zmask, (PropertyRNA *)&rna_RenderLayer_light_override,
	-1, "layers", 0, 0, 0, "Visible Layers",
	"Scene layers included in this render layer",
	0, "*",
	PROP_BOOLEAN, PROP_LAYER_MEMBER | PROP_UNIT_NONE, NULL, 1, {20, 0, 0}, 20,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, RenderLayer_layers_get, NULL, NULL, NULL, NULL, NULL, 0, rna_RenderLayer_layers_default
};

static int rna_RenderLayer_layers_zmask_default[20] = {
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0
};

BoolPropertyRNA rna_RenderLayer_layers_zmask = {
	{(PropertyRNA *)&rna_RenderLayer_layers_exclude, (PropertyRNA *)&rna_RenderLayer_layers,
	-1, "layers_zmask", 2, 0, 0, "Zmask Layers",
	"Zmask scene layers for solid faces",
	0, "*",
	PROP_BOOLEAN, PROP_LAYER | PROP_UNIT_NONE, NULL, 1, {20, 0, 0}, 20,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, RenderLayer_layers_zmask_get, NULL, NULL, NULL, NULL, NULL, 0, rna_RenderLayer_layers_zmask_default
};

static int rna_RenderLayer_layers_exclude_default[20] = {
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0,
	0
};

BoolPropertyRNA rna_RenderLayer_layers_exclude = {
	{(PropertyRNA *)&rna_RenderLayer_use, (PropertyRNA *)&rna_RenderLayer_layers_zmask,
	-1, "layers_exclude", 2, 0, 0, "Exclude Layers",
	"Exclude scene layers from having any influence",
	0, "*",
	PROP_BOOLEAN, PROP_LAYER | PROP_UNIT_NONE, NULL, 1, {20, 0, 0}, 20,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, RenderLayer_layers_exclude_get, NULL, NULL, NULL, NULL, NULL, 0, rna_RenderLayer_layers_exclude_default
};

BoolPropertyRNA rna_RenderLayer_use = {
	{(PropertyRNA *)&rna_RenderLayer_use_zmask, (PropertyRNA *)&rna_RenderLayer_layers_exclude,
	-1, "use", 2, 0, 0, "Enabled",
	"Disable or enable the render layer",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_zmask = {
	{(PropertyRNA *)&rna_RenderLayer_invert_zmask, (PropertyRNA *)&rna_RenderLayer_use,
	-1, "use_zmask", 2, 0, 0, "Zmask",
	"Only render what\'s in front of the solid z values",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_zmask_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_invert_zmask = {
	{(PropertyRNA *)&rna_RenderLayer_use_all_z, (PropertyRNA *)&rna_RenderLayer_use_zmask,
	-1, "invert_zmask", 2, 0, 0, "Zmask Negate",
	"For Zmask, only render what is behind solid z values instead of in front",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_invert_zmask_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_all_z = {
	{(PropertyRNA *)&rna_RenderLayer_use_solid, (PropertyRNA *)&rna_RenderLayer_invert_zmask,
	-1, "use_all_z", 2, 0, 0, "All Z",
	"Fill in Z values for solid faces in invisible layers, for masking",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_all_z_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_solid = {
	{(PropertyRNA *)&rna_RenderLayer_use_halo, (PropertyRNA *)&rna_RenderLayer_use_all_z,
	-1, "use_solid", 2, 0, 0, "Solid",
	"Render Solid faces in this Layer",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_solid_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_halo = {
	{(PropertyRNA *)&rna_RenderLayer_use_ztransp, (PropertyRNA *)&rna_RenderLayer_use_solid,
	-1, "use_halo", 2, 0, 0, "Halo",
	"Render Halos in this Layer (on top of Solid)",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_halo_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_ztransp = {
	{(PropertyRNA *)&rna_RenderLayer_use_sky, (PropertyRNA *)&rna_RenderLayer_use_halo,
	-1, "use_ztransp", 2, 0, 0, "ZTransp",
	"Render Z-Transparent faces in this Layer (on top of Solid and Halos)",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_ztransp_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_sky = {
	{(PropertyRNA *)&rna_RenderLayer_use_ao, (PropertyRNA *)&rna_RenderLayer_use_ztransp,
	-1, "use_sky", 2, 0, 0, "Sky",
	"Render Sky in this Layer",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_sky_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_ao = {
	{(PropertyRNA *)&rna_RenderLayer_use_edge_enhance, (PropertyRNA *)&rna_RenderLayer_use_sky,
	-1, "use_ao", 2, 0, 0, "AO",
	"Render AO in this Layer",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_ao_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_edge_enhance = {
	{(PropertyRNA *)&rna_RenderLayer_use_strand, (PropertyRNA *)&rna_RenderLayer_use_ao,
	-1, "use_edge_enhance", 2, 0, 0, "Edge",
	"Render Edge-enhance in this Layer (only works for Solid faces)",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_edge_enhance_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_strand = {
	{(PropertyRNA *)&rna_RenderLayer_use_freestyle, (PropertyRNA *)&rna_RenderLayer_use_edge_enhance,
	-1, "use_strand", 2, 0, 0, "Strand",
	"Render Strands in this Layer",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_strand_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_freestyle = {
	{(PropertyRNA *)&rna_RenderLayer_use_pass_combined, (PropertyRNA *)&rna_RenderLayer_use_strand,
	-1, "use_freestyle", 2, 0, 0, "Freestyle",
	"Render stylized strokes in this Layer",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_freestyle_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_pass_combined = {
	{(PropertyRNA *)&rna_RenderLayer_use_pass_z, (PropertyRNA *)&rna_RenderLayer_use_freestyle,
	-1, "use_pass_combined", 2, 0, 0, "Combined",
	"Deliver full combined RGBA buffer",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_pass_combined_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_pass_z = {
	{(PropertyRNA *)&rna_RenderLayer_use_pass_vector, (PropertyRNA *)&rna_RenderLayer_use_pass_combined,
	-1, "use_pass_z", 2, 0, 0, "Z",
	"Deliver Z values pass",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_pass_z_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_pass_vector = {
	{(PropertyRNA *)&rna_RenderLayer_use_pass_normal, (PropertyRNA *)&rna_RenderLayer_use_pass_z,
	-1, "use_pass_vector", 2, 0, 0, "Vector",
	"Deliver speed vector pass",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_pass_vector_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_pass_normal = {
	{(PropertyRNA *)&rna_RenderLayer_use_pass_uv, (PropertyRNA *)&rna_RenderLayer_use_pass_vector,
	-1, "use_pass_normal", 2, 0, 0, "Normal",
	"Deliver normal pass",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_pass_normal_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_pass_uv = {
	{(PropertyRNA *)&rna_RenderLayer_use_pass_mist, (PropertyRNA *)&rna_RenderLayer_use_pass_normal,
	-1, "use_pass_uv", 2, 0, 0, "UV",
	"Deliver texture UV pass",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_pass_uv_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_pass_mist = {
	{(PropertyRNA *)&rna_RenderLayer_use_pass_object_index, (PropertyRNA *)&rna_RenderLayer_use_pass_uv,
	-1, "use_pass_mist", 2, 0, 0, "Mist",
	"Deliver mist factor pass (0.0-1.0)",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_pass_mist_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_pass_object_index = {
	{(PropertyRNA *)&rna_RenderLayer_use_pass_material_index, (PropertyRNA *)&rna_RenderLayer_use_pass_mist,
	-1, "use_pass_object_index", 2, 0, 0, "Object Index",
	"Deliver object index pass",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_pass_object_index_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_pass_material_index = {
	{(PropertyRNA *)&rna_RenderLayer_use_pass_color, (PropertyRNA *)&rna_RenderLayer_use_pass_object_index,
	-1, "use_pass_material_index", 2, 0, 0, "Material Index",
	"Deliver material index pass",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_pass_material_index_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_pass_color = {
	{(PropertyRNA *)&rna_RenderLayer_use_pass_diffuse, (PropertyRNA *)&rna_RenderLayer_use_pass_material_index,
	-1, "use_pass_color", 2, 0, 0, "Color",
	"Deliver shade-less color pass",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_pass_color_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_pass_diffuse = {
	{(PropertyRNA *)&rna_RenderLayer_use_pass_specular, (PropertyRNA *)&rna_RenderLayer_use_pass_color,
	-1, "use_pass_diffuse", 2, 0, 0, "Diffuse",
	"Deliver diffuse pass",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_pass_diffuse_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_pass_specular = {
	{(PropertyRNA *)&rna_RenderLayer_use_pass_shadow, (PropertyRNA *)&rna_RenderLayer_use_pass_diffuse,
	-1, "use_pass_specular", 2, 0, 0, "Specular",
	"Deliver specular pass",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_pass_specular_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_pass_shadow = {
	{(PropertyRNA *)&rna_RenderLayer_use_pass_ambient_occlusion, (PropertyRNA *)&rna_RenderLayer_use_pass_specular,
	-1, "use_pass_shadow", 2, 0, 0, "Shadow",
	"Deliver shadow pass",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_pass_shadow_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_pass_ambient_occlusion = {
	{(PropertyRNA *)&rna_RenderLayer_use_pass_reflection, (PropertyRNA *)&rna_RenderLayer_use_pass_shadow,
	-1, "use_pass_ambient_occlusion", 2, 0, 0, "AO",
	"Deliver AO pass",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_pass_ambient_occlusion_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_pass_reflection = {
	{(PropertyRNA *)&rna_RenderLayer_use_pass_refraction, (PropertyRNA *)&rna_RenderLayer_use_pass_ambient_occlusion,
	-1, "use_pass_reflection", 2, 0, 0, "Reflection",
	"Deliver raytraced reflection pass",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_pass_reflection_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_pass_refraction = {
	{(PropertyRNA *)&rna_RenderLayer_use_pass_emit, (PropertyRNA *)&rna_RenderLayer_use_pass_reflection,
	-1, "use_pass_refraction", 2, 0, 0, "Refraction",
	"Deliver raytraced refraction pass",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_pass_refraction_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_pass_emit = {
	{(PropertyRNA *)&rna_RenderLayer_use_pass_environment, (PropertyRNA *)&rna_RenderLayer_use_pass_refraction,
	-1, "use_pass_emit", 2, 0, 0, "Emit",
	"Deliver emission pass",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_pass_emit_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_pass_environment = {
	{(PropertyRNA *)&rna_RenderLayer_use_pass_indirect, (PropertyRNA *)&rna_RenderLayer_use_pass_emit,
	-1, "use_pass_environment", 2, 0, 0, "Environment",
	"Deliver environment lighting pass",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_pass_environment_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_pass_indirect = {
	{(PropertyRNA *)&rna_RenderLayer_exclude_specular, (PropertyRNA *)&rna_RenderLayer_use_pass_environment,
	-1, "use_pass_indirect", 2, 0, 0, "Indirect",
	"Deliver indirect lighting pass",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_pass_indirect_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_exclude_specular = {
	{(PropertyRNA *)&rna_RenderLayer_exclude_shadow, (PropertyRNA *)&rna_RenderLayer_use_pass_indirect,
	-1, "exclude_specular", 4098, 0, 0, "Specular Exclude",
	"Exclude specular pass from combined",
	257, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_exclude_specular_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_exclude_shadow = {
	{(PropertyRNA *)&rna_RenderLayer_exclude_ambient_occlusion, (PropertyRNA *)&rna_RenderLayer_exclude_specular,
	-1, "exclude_shadow", 4098, 0, 0, "Shadow Exclude",
	"Exclude shadow pass from combined",
	257, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_exclude_shadow_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_exclude_ambient_occlusion = {
	{(PropertyRNA *)&rna_RenderLayer_exclude_reflection, (PropertyRNA *)&rna_RenderLayer_exclude_shadow,
	-1, "exclude_ambient_occlusion", 4098, 0, 0, "AO Exclude",
	"Exclude AO pass from combined",
	257, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_exclude_ambient_occlusion_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_exclude_reflection = {
	{(PropertyRNA *)&rna_RenderLayer_exclude_refraction, (PropertyRNA *)&rna_RenderLayer_exclude_ambient_occlusion,
	-1, "exclude_reflection", 4098, 0, 0, "Reflection Exclude",
	"Exclude raytraced reflection pass from combined",
	257, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_exclude_reflection_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_exclude_refraction = {
	{(PropertyRNA *)&rna_RenderLayer_exclude_emit, (PropertyRNA *)&rna_RenderLayer_exclude_reflection,
	-1, "exclude_refraction", 4098, 0, 0, "Refraction Exclude",
	"Exclude raytraced refraction pass from combined",
	257, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_exclude_refraction_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_exclude_emit = {
	{(PropertyRNA *)&rna_RenderLayer_exclude_environment, (PropertyRNA *)&rna_RenderLayer_exclude_refraction,
	-1, "exclude_emit", 4098, 0, 0, "Emit Exclude",
	"Exclude emission pass from combined",
	257, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_exclude_emit_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_exclude_environment = {
	{(PropertyRNA *)&rna_RenderLayer_exclude_indirect, (PropertyRNA *)&rna_RenderLayer_exclude_emit,
	-1, "exclude_environment", 4098, 0, 0, "Environment Exclude",
	"Exclude environment pass from combined",
	257, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_exclude_environment_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_exclude_indirect = {
	{(PropertyRNA *)&rna_RenderLayer_use_pass_diffuse_direct, (PropertyRNA *)&rna_RenderLayer_exclude_environment,
	-1, "exclude_indirect", 4098, 0, 0, "Indirect Exclude",
	"Exclude indirect pass from combined",
	257, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_exclude_indirect_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_pass_diffuse_direct = {
	{(PropertyRNA *)&rna_RenderLayer_use_pass_diffuse_indirect, (PropertyRNA *)&rna_RenderLayer_exclude_indirect,
	-1, "use_pass_diffuse_direct", 2, 0, 0, "Diffuse Direct",
	"Deliver diffuse direct pass",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_pass_diffuse_direct_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_pass_diffuse_indirect = {
	{(PropertyRNA *)&rna_RenderLayer_use_pass_diffuse_color, (PropertyRNA *)&rna_RenderLayer_use_pass_diffuse_direct,
	-1, "use_pass_diffuse_indirect", 2, 0, 0, "Diffuse Indirect",
	"Deliver diffuse indirect pass",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_pass_diffuse_indirect_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_pass_diffuse_color = {
	{(PropertyRNA *)&rna_RenderLayer_use_pass_glossy_direct, (PropertyRNA *)&rna_RenderLayer_use_pass_diffuse_indirect,
	-1, "use_pass_diffuse_color", 2, 0, 0, "Diffuse Color",
	"Deliver diffuse color pass",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_pass_diffuse_color_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_pass_glossy_direct = {
	{(PropertyRNA *)&rna_RenderLayer_use_pass_glossy_indirect, (PropertyRNA *)&rna_RenderLayer_use_pass_diffuse_color,
	-1, "use_pass_glossy_direct", 2, 0, 0, "Glossy Direct",
	"Deliver glossy direct pass",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_pass_glossy_direct_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_pass_glossy_indirect = {
	{(PropertyRNA *)&rna_RenderLayer_use_pass_glossy_color, (PropertyRNA *)&rna_RenderLayer_use_pass_glossy_direct,
	-1, "use_pass_glossy_indirect", 2, 0, 0, "Glossy Indirect",
	"Deliver glossy indirect pass",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_pass_glossy_indirect_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_pass_glossy_color = {
	{(PropertyRNA *)&rna_RenderLayer_use_pass_transmission_direct, (PropertyRNA *)&rna_RenderLayer_use_pass_glossy_indirect,
	-1, "use_pass_glossy_color", 2, 0, 0, "Glossy Color",
	"Deliver glossy color pass",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_pass_glossy_color_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_pass_transmission_direct = {
	{(PropertyRNA *)&rna_RenderLayer_use_pass_transmission_indirect, (PropertyRNA *)&rna_RenderLayer_use_pass_glossy_color,
	-1, "use_pass_transmission_direct", 2, 0, 0, "Transmission Direct",
	"Deliver transmission direct pass",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_pass_transmission_direct_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_pass_transmission_indirect = {
	{(PropertyRNA *)&rna_RenderLayer_use_pass_transmission_color, (PropertyRNA *)&rna_RenderLayer_use_pass_transmission_direct,
	-1, "use_pass_transmission_indirect", 2, 0, 0, "Transmission Indirect",
	"Deliver transmission indirect pass",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_pass_transmission_indirect_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_pass_transmission_color = {
	{(PropertyRNA *)&rna_RenderLayer_use_pass_subsurface_direct, (PropertyRNA *)&rna_RenderLayer_use_pass_transmission_indirect,
	-1, "use_pass_transmission_color", 2, 0, 0, "Transmission Color",
	"Deliver transmission color pass",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_pass_transmission_color_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_pass_subsurface_direct = {
	{(PropertyRNA *)&rna_RenderLayer_use_pass_subsurface_indirect, (PropertyRNA *)&rna_RenderLayer_use_pass_transmission_color,
	-1, "use_pass_subsurface_direct", 2, 0, 0, "Subsurface Direct",
	"Deliver subsurface direct pass",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_pass_subsurface_direct_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_pass_subsurface_indirect = {
	{(PropertyRNA *)&rna_RenderLayer_use_pass_subsurface_color, (PropertyRNA *)&rna_RenderLayer_use_pass_subsurface_direct,
	-1, "use_pass_subsurface_indirect", 2, 0, 0, "Subsurface Indirect",
	"Deliver subsurface indirect pass",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_pass_subsurface_indirect_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

BoolPropertyRNA rna_RenderLayer_use_pass_subsurface_color = {
	{(PropertyRNA *)&rna_RenderLayer_passes, (PropertyRNA *)&rna_RenderLayer_use_pass_subsurface_indirect,
	-1, "use_pass_subsurface_color", 2, 0, 0, "Subsurface Color",
	"Deliver subsurface color pass",
	0, "*",
	PROP_BOOLEAN, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderLayer_use_pass_subsurface_color_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL
};

CollectionPropertyRNA rna_RenderLayer_passes = {
	{NULL, (PropertyRNA *)&rna_RenderLayer_use_pass_subsurface_color,
	-1, "passes", 0, 0, 0, "passes",
	"",
	0, "*",
	PROP_COLLECTION, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, &RNA_RenderPasses},
	RenderLayer_passes_begin, RenderLayer_passes_next, RenderLayer_passes_end, RenderLayer_passes_get, NULL, NULL, NULL, NULL, &RNA_RenderPass
};

StringPropertyRNA rna_RenderLayer_load_from_file_filename = {
	{(PropertyRNA *)&rna_RenderLayer_load_from_file_x, NULL,
	-1, "filename", 262145, 1, 0, "Filename",
	"Filename to load into this render tile, must be no smaller than the renderlayer",
	0, "*",
	PROP_STRING, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL, NULL, NULL, 0, ""
};

IntPropertyRNA rna_RenderLayer_load_from_file_x = {
	{(PropertyRNA *)&rna_RenderLayer_load_from_file_y, (PropertyRNA *)&rna_RenderLayer_load_from_file_filename,
	-1, "x", 3, 0, 0, "Offset X",
	"Offset the position to copy from if the image is larger than the render layer",
	0, "*",
	PROP_INT, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
	0, INT_MAX, 0, INT_MAX, 1, 0, NULL
};

IntPropertyRNA rna_RenderLayer_load_from_file_y = {
	{NULL, (PropertyRNA *)&rna_RenderLayer_load_from_file_x,
	-1, "y", 3, 0, 0, "Offset Y",
	"Offset the position to copy from if the image is larger than the render layer",
	0, "*",
	PROP_INT, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
	0, INT_MAX, 0, INT_MAX, 1, 0, NULL
};

FunctionRNA rna_RenderLayer_load_from_file_func = {
	{NULL, NULL,
	NULL,
	{(PropertyRNA *)&rna_RenderLayer_load_from_file_filename, (PropertyRNA *)&rna_RenderLayer_load_from_file_y}},
	"load_from_file", 16, "Copies the pixels of this renderlayer from an image file",
	RenderLayer_load_from_file_call,
	NULL
};

StructRNA RNA_RenderLayer = {
	{(ContainerRNA *)&RNA_RenderPasses, (ContainerRNA *)&RNA_RenderView,
	NULL,
	{(PropertyRNA *)&rna_RenderLayer_rna_properties, (PropertyRNA *)&rna_RenderLayer_passes}},
	"RenderLayer", NULL, NULL, 4, "Render Layer",
	"",
	"*", 17,
	(PropertyRNA *)&rna_RenderLayer_name, (PropertyRNA *)&rna_RenderLayer_rna_properties,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	{(FunctionRNA *)&rna_RenderLayer_load_from_file_func, (FunctionRNA *)&rna_RenderLayer_load_from_file_func}
};

/* Render Passes */
CollectionPropertyRNA rna_RenderPasses_rna_properties = {
	{(PropertyRNA *)&rna_RenderPasses_rna_type, NULL,
	-1, "rna_properties", 0, 0, 1, "Properties",
	"RNA property collection",
	0, "*",
	PROP_COLLECTION, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderPasses_rna_properties_begin, RenderPasses_rna_properties_next, RenderPasses_rna_properties_end, RenderPasses_rna_properties_get, NULL, NULL, RenderPasses_rna_properties_lookup_string, NULL, &RNA_Property
};

PointerPropertyRNA rna_RenderPasses_rna_type = {
	{NULL, (PropertyRNA *)&rna_RenderPasses_rna_properties,
	-1, "rna_type", 8912896, 0, 0, "RNA",
	"RNA type definition",
	0, "*",
	PROP_POINTER, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderPasses_rna_type_get, NULL, NULL, NULL,&RNA_Struct
};

static EnumPropertyItem rna_RenderPasses_find_by_type_pass_type_items[30] = {
	{1, "COMBINED", 0, "Combined", ""},
	{2, "Z", 0, "Z", ""},
	{4, "COLOR", 0, "Color", ""},
	{8, "DIFFUSE", 0, "Diffuse", ""},
	{16, "SPECULAR", 0, "Specular", ""},
	{32, "SHADOW", 0, "Shadow", ""},
	{64, "AO", 0, "AO", ""},
	{128, "REFLECTION", 0, "Reflection", ""},
	{256, "NORMAL", 0, "Normal", ""},
	{512, "VECTOR", 0, "Vector", ""},
	{1024, "REFRACTION", 0, "Refraction", ""},
	{2048, "OBJECT_INDEX", 0, "Object Index", ""},
	{4096, "UV", 0, "UV", ""},
	{16384, "MIST", 0, "Mist", ""},
	{65536, "EMIT", 0, "Emit", ""},
	{131072, "ENVIRONMENT", 0, "Environment", ""},
	{262144, "MATERIAL_INDEX", 0, "Material Index", ""},
	{524288, "DIFFUSE_DIRECT", 0, "Diffuse Direct", ""},
	{1048576, "DIFFUSE_INDIRECT", 0, "Diffuse Indirect", ""},
	{2097152, "DIFFUSE_COLOR", 0, "Diffuse Color", ""},
	{4194304, "GLOSSY_DIRECT", 0, "Glossy Direct", ""},
	{8388608, "GLOSSY_INDIRECT", 0, "Glossy Indirect", ""},
	{16777216, "GLOSSY_COLOR", 0, "Glossy Color", ""},
	{33554432, "TRANSMISSION_DIRECT", 0, "Transmission Direct", ""},
	{67108864, "TRANSMISSION_INDIRECT", 0, "Transmission Indirect", ""},
	{134217728, "TRANSMISSION_COLOR", 0, "Transmission Color", ""},
	{268435456, "SUBSURFACE_DIRECT", 0, "Subsurface Direct", ""},
	{536870912, "SUBSURFACE_INDIRECT", 0, "Subsurface Indirect", ""},
	{1073741824, "SUBSURFACE_COLOR", 0, "Subsurface Color", ""},
	{0, NULL, 0, NULL, NULL}
};

EnumPropertyRNA rna_RenderPasses_find_by_type_pass_type = {
	{(PropertyRNA *)&rna_RenderPasses_find_by_type_view, NULL,
	-1, "pass_type", 3, 1, 0, "Pass",
	"",
	0, "*",
	PROP_ENUM, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL, NULL, NULL, rna_RenderPasses_find_by_type_pass_type_items, 29, 1
};

StringPropertyRNA rna_RenderPasses_find_by_type_view = {
	{(PropertyRNA *)&rna_RenderPasses_find_by_type_render_pass, (PropertyRNA *)&rna_RenderPasses_find_by_type_pass_type,
	-1, "view", 262145, 1, 0, "View",
	"Render view to get pass from",
	0, "*",
	PROP_STRING, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL, NULL, NULL, 0, ""
};

PointerPropertyRNA rna_RenderPasses_find_by_type_render_pass = {
	{NULL, (PropertyRNA *)&rna_RenderPasses_find_by_type_view,
	-1, "render_pass", 8388608, 2, 0, "",
	"The matching render pass",
	0, "*",
	PROP_POINTER, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, NULL, NULL,&RNA_RenderPass
};

FunctionRNA rna_RenderPasses_find_by_type_func = {
	{NULL, NULL,
	NULL,
	{(PropertyRNA *)&rna_RenderPasses_find_by_type_pass_type, (PropertyRNA *)&rna_RenderPasses_find_by_type_render_pass}},
	"find_by_type", 0, "Get the render pass for a given type and view",
	RenderPasses_find_by_type_call,
	(PropertyRNA *)&rna_RenderPasses_find_by_type_render_pass
};

StructRNA RNA_RenderPasses = {
	{(ContainerRNA *)&RNA_RenderPass, (ContainerRNA *)&RNA_RenderLayer,
	NULL,
	{(PropertyRNA *)&rna_RenderPasses_rna_properties, (PropertyRNA *)&rna_RenderPasses_rna_type}},
	"RenderPasses", NULL, NULL, 4, "Render Passes",
	"Collection of render passes",
	"*", 17,
	NULL, (PropertyRNA *)&rna_RenderPasses_rna_properties,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	{(FunctionRNA *)&rna_RenderPasses_find_by_type_func, (FunctionRNA *)&rna_RenderPasses_find_by_type_func}
};

/* Render Pass */
CollectionPropertyRNA rna_RenderPass_rna_properties = {
	{(PropertyRNA *)&rna_RenderPass_rna_type, NULL,
	-1, "rna_properties", 0, 0, 1, "Properties",
	"RNA property collection",
	0, "*",
	PROP_COLLECTION, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderPass_rna_properties_begin, RenderPass_rna_properties_next, RenderPass_rna_properties_end, RenderPass_rna_properties_get, NULL, NULL, RenderPass_rna_properties_lookup_string, NULL, &RNA_Property
};

PointerPropertyRNA rna_RenderPass_rna_type = {
	{(PropertyRNA *)&rna_RenderPass_name, (PropertyRNA *)&rna_RenderPass_rna_properties,
	-1, "rna_type", 8912896, 0, 0, "RNA",
	"RNA type definition",
	0, "*",
	PROP_POINTER, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderPass_rna_type_get, NULL, NULL, NULL,&RNA_Struct
};

StringPropertyRNA rna_RenderPass_name = {
	{(PropertyRNA *)&rna_RenderPass_channel_id, (PropertyRNA *)&rna_RenderPass_rna_type,
	-1, "name", 262144, 0, 0, "name",
	"",
	0, "*",
	PROP_STRING, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderPass_name_get, RenderPass_name_length, NULL, NULL, NULL, NULL, 0, ""
};

StringPropertyRNA rna_RenderPass_channel_id = {
	{(PropertyRNA *)&rna_RenderPass_channels, (PropertyRNA *)&rna_RenderPass_name,
	-1, "channel_id", 262144, 0, 0, "channel_id",
	"",
	0, "*",
	PROP_STRING, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderPass_channel_id_get, RenderPass_channel_id_length, NULL, NULL, NULL, NULL, 0, ""
};

IntPropertyRNA rna_RenderPass_channels = {
	{(PropertyRNA *)&rna_RenderPass_type, (PropertyRNA *)&rna_RenderPass_channel_id,
	-1, "channels", 2, 0, 0, "channels",
	"",
	0, "*",
	PROP_INT, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderPass_channels_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
	-10000, 10000, INT_MIN, INT_MAX, 1, 0, NULL
};

static EnumPropertyItem rna_RenderPass_type_items[30] = {
	{1, "COMBINED", 0, "Combined", ""},
	{2, "Z", 0, "Z", ""},
	{4, "COLOR", 0, "Color", ""},
	{8, "DIFFUSE", 0, "Diffuse", ""},
	{16, "SPECULAR", 0, "Specular", ""},
	{32, "SHADOW", 0, "Shadow", ""},
	{64, "AO", 0, "AO", ""},
	{128, "REFLECTION", 0, "Reflection", ""},
	{256, "NORMAL", 0, "Normal", ""},
	{512, "VECTOR", 0, "Vector", ""},
	{1024, "REFRACTION", 0, "Refraction", ""},
	{2048, "OBJECT_INDEX", 0, "Object Index", ""},
	{4096, "UV", 0, "UV", ""},
	{16384, "MIST", 0, "Mist", ""},
	{65536, "EMIT", 0, "Emit", ""},
	{131072, "ENVIRONMENT", 0, "Environment", ""},
	{262144, "MATERIAL_INDEX", 0, "Material Index", ""},
	{524288, "DIFFUSE_DIRECT", 0, "Diffuse Direct", ""},
	{1048576, "DIFFUSE_INDIRECT", 0, "Diffuse Indirect", ""},
	{2097152, "DIFFUSE_COLOR", 0, "Diffuse Color", ""},
	{4194304, "GLOSSY_DIRECT", 0, "Glossy Direct", ""},
	{8388608, "GLOSSY_INDIRECT", 0, "Glossy Indirect", ""},
	{16777216, "GLOSSY_COLOR", 0, "Glossy Color", ""},
	{33554432, "TRANSMISSION_DIRECT", 0, "Transmission Direct", ""},
	{67108864, "TRANSMISSION_INDIRECT", 0, "Transmission Indirect", ""},
	{134217728, "TRANSMISSION_COLOR", 0, "Transmission Color", ""},
	{268435456, "SUBSURFACE_DIRECT", 0, "Subsurface Direct", ""},
	{536870912, "SUBSURFACE_INDIRECT", 0, "Subsurface Indirect", ""},
	{1073741824, "SUBSURFACE_COLOR", 0, "Subsurface Color", ""},
	{0, NULL, 0, NULL, NULL}
};

EnumPropertyRNA rna_RenderPass_type = {
	{(PropertyRNA *)&rna_RenderPass_rect, (PropertyRNA *)&rna_RenderPass_channels,
	-1, "type", 2, 0, 0, "type",
	"",
	0, "*",
	PROP_ENUM, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderPass_type_get, NULL, NULL, NULL, NULL, NULL, rna_RenderPass_type_items, 29, 1
};

FloatPropertyRNA rna_RenderPass_rect = {
	{(PropertyRNA *)&rna_RenderPass_view_id, (PropertyRNA *)&rna_RenderPass_type,
	-1, "rect", 131075, 0, 0, "rect",
	"",
	0, "*",
	PROP_FLOAT, PROP_NONE | PROP_UNIT_NONE, rna_RenderPass_rect_get_length, 2, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, RenderPass_rect_get, RenderPass_rect_set, NULL, NULL, NULL, NULL, NULL, NULL, -10000.0f, 10000.0f, -FLT_MAX, FLT_MAX, 10.0f, 3, 0.0f, NULL
};

IntPropertyRNA rna_RenderPass_view_id = {
	{(PropertyRNA *)&rna_RenderPass_debug_type, (PropertyRNA *)&rna_RenderPass_rect,
	-1, "view_id", 2, 0, 0, "view_id",
	"",
	0, "*",
	PROP_INT, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderPass_view_id_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
	-10000, 10000, INT_MIN, INT_MAX, 1, 0, NULL
};

static EnumPropertyItem rna_RenderPass_debug_type_items[5] = {
	{0, "BVH_TRAVERSED_NODES", 0, "BVH Traversed Nodes", "Number of nodes traversed in BVH for the camera rays"},
	{1, "BVH_TRAVERSED_INSTANCES", 0, "BVH Traversed Instances", "Number of BVH instances traversed by camera rays"},
	{3, "BVH_INTERSECTIONS", 0, "BVH Intersections", "Number of primitive intersections performed by the camera rays"},
	{2, "RAY_BOUNCES", 0, "Ray Steps", "Number of bounces done by the main integration loop"},
	{0, NULL, 0, NULL, NULL}
};

EnumPropertyRNA rna_RenderPass_debug_type = {
	{NULL, (PropertyRNA *)&rna_RenderPass_view_id,
	-1, "debug_type", 2, 0, 0, "debug_type",
	"",
	0, "*",
	PROP_ENUM, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	RenderPass_debug_type_get, NULL, NULL, NULL, NULL, NULL, rna_RenderPass_debug_type_items, 4, 0
};

StructRNA RNA_RenderPass = {
	{(ContainerRNA *)&RNA_BakePixel, (ContainerRNA *)&RNA_RenderPasses,
	NULL,
	{(PropertyRNA *)&rna_RenderPass_rna_properties, (PropertyRNA *)&rna_RenderPass_debug_type}},
	"RenderPass", NULL, NULL, 4, "Render Pass",
	"",
	"*", 17,
	(PropertyRNA *)&rna_RenderPass_name, (PropertyRNA *)&rna_RenderPass_rna_properties,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	{NULL, NULL}
};

/* Bake Pixel */
CollectionPropertyRNA rna_BakePixel_rna_properties = {
	{(PropertyRNA *)&rna_BakePixel_rna_type, NULL,
	-1, "rna_properties", 0, 0, 1, "Properties",
	"RNA property collection",
	0, "*",
	PROP_COLLECTION, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	BakePixel_rna_properties_begin, BakePixel_rna_properties_next, BakePixel_rna_properties_end, BakePixel_rna_properties_get, NULL, NULL, BakePixel_rna_properties_lookup_string, NULL, &RNA_Property
};

PointerPropertyRNA rna_BakePixel_rna_type = {
	{(PropertyRNA *)&rna_BakePixel_primitive_id, (PropertyRNA *)&rna_BakePixel_rna_properties,
	-1, "rna_type", 8912896, 0, 0, "RNA",
	"RNA type definition",
	0, "*",
	PROP_POINTER, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	BakePixel_rna_type_get, NULL, NULL, NULL,&RNA_Struct
};

IntPropertyRNA rna_BakePixel_primitive_id = {
	{(PropertyRNA *)&rna_BakePixel_object_id, (PropertyRNA *)&rna_BakePixel_rna_type,
	-1, "primitive_id", 2, 0, 0, "primitive_id",
	"",
	0, "*",
	PROP_INT, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	BakePixel_primitive_id_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
	-10000, 10000, INT_MIN, INT_MAX, 1, 0, NULL
};

IntPropertyRNA rna_BakePixel_object_id = {
	{(PropertyRNA *)&rna_BakePixel_uv, (PropertyRNA *)&rna_BakePixel_primitive_id,
	-1, "object_id", 2, 0, 0, "object_id",
	"",
	0, "*",
	PROP_INT, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	BakePixel_object_id_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
	-10000, 10000, INT_MIN, INT_MAX, 1, 0, NULL
};

static float rna_BakePixel_uv_default[2] = {
	0.0f,
	0.0f
};

FloatPropertyRNA rna_BakePixel_uv = {
	{(PropertyRNA *)&rna_BakePixel_du_dx, (PropertyRNA *)&rna_BakePixel_object_id,
	-1, "uv", 2, 0, 0, "uv",
	"",
	0, "*",
	PROP_FLOAT, PROP_NONE | PROP_UNIT_NONE, NULL, 1, {2, 0, 0}, 2,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	NULL, NULL, BakePixel_uv_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, -10000.0f, 10000.0f, -FLT_MAX, FLT_MAX, 10.0f, 3, 0.0f, rna_BakePixel_uv_default
};

FloatPropertyRNA rna_BakePixel_du_dx = {
	{(PropertyRNA *)&rna_BakePixel_du_dy, (PropertyRNA *)&rna_BakePixel_uv,
	-1, "du_dx", 2, 0, 0, "du_dx",
	"",
	0, "*",
	PROP_FLOAT, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	BakePixel_du_dx_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, -10000.0f, 10000.0f, -FLT_MAX, FLT_MAX, 10.0f, 3, 0.0f, NULL
};

FloatPropertyRNA rna_BakePixel_du_dy = {
	{(PropertyRNA *)&rna_BakePixel_dv_dx, (PropertyRNA *)&rna_BakePixel_du_dx,
	-1, "du_dy", 2, 0, 0, "du_dy",
	"",
	0, "*",
	PROP_FLOAT, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	BakePixel_du_dy_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, -10000.0f, 10000.0f, -FLT_MAX, FLT_MAX, 10.0f, 3, 0.0f, NULL
};

FloatPropertyRNA rna_BakePixel_dv_dx = {
	{(PropertyRNA *)&rna_BakePixel_dv_dy, (PropertyRNA *)&rna_BakePixel_du_dy,
	-1, "dv_dx", 2, 0, 0, "dv_dx",
	"",
	0, "*",
	PROP_FLOAT, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	BakePixel_dv_dx_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, -10000.0f, 10000.0f, -FLT_MAX, FLT_MAX, 10.0f, 3, 0.0f, NULL
};

FloatPropertyRNA rna_BakePixel_dv_dy = {
	{(PropertyRNA *)&rna_BakePixel_next, (PropertyRNA *)&rna_BakePixel_dv_dx,
	-1, "dv_dy", 2, 0, 0, "dv_dy",
	"",
	0, "*",
	PROP_FLOAT, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	BakePixel_dv_dy_get, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, -10000.0f, 10000.0f, -FLT_MAX, FLT_MAX, 10.0f, 3, 0.0f, NULL
};

PointerPropertyRNA rna_BakePixel_next = {
	{NULL, (PropertyRNA *)&rna_BakePixel_dv_dy,
	-1, "next", 8388608, 0, 0, "next",
	"",
	0, "*",
	PROP_POINTER, PROP_NONE | PROP_UNIT_NONE, NULL, 0, {0, 0, 0}, 0,
	NULL, 0, NULL, NULL,
	0, -1, NULL},
	BakePixel_next_get, NULL, NULL, NULL,&RNA_BakePixel
};

StructRNA RNA_BakePixel = {
	{(ContainerRNA *)&RNA_RigidBodyWorld, (ContainerRNA *)&RNA_RenderPass,
	NULL,
	{(PropertyRNA *)&rna_BakePixel_rna_properties, (PropertyRNA *)&rna_BakePixel_next}},
	"BakePixel", NULL, NULL, 4, "Bake Pixel",
	"",
	"*", 17,
	NULL, (PropertyRNA *)&rna_BakePixel_rna_properties,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	{NULL, NULL}
};

