Description

State of the Evas 3D

Since 1.10

Fields

  • max - Evas 3D state: max
  • any - Evas 3D state: any
  • scene_root_node - Evas 3D state: scene root node
  • scene_camera_node - Evas 3D state: scene camera node
  • scene_background_color - Evas 3D state: scene background color
  • scene_size - Evas 3D state: scene size
  • scene_shadows_enabled - Evas 3D state: scene shadows enabled
  • scene_updated - Evas 3D state: scene updated
  • scene_shadows_depth - Evas 3D state: scene shadows depth
  • scene_render_to_texture - Evas 3D state: scene render to texture
  • texture_data - Evas 3D state: texture data
  • texture_wrap - Evas 3D state: texture wrap
  • texture_filter - Evas 3D state: texture filter
  • material_id - Evas 3D state: material ID
  • material_color - Evas 3D state: material color
  • material_texture - Evas 3D state: material texture
  • mesh_vertex_count - Evas 3D state: mesh vertex count
  • mesh_frame - Evas 3D state: mesh frame
  • mesh_material - Evas 3D state: mesh material
  • mesh_transform - Evas 3D state: mesh transform
  • mesh_vertex_data - Evas 3D state: mesh vertex data
  • mesh_index_data - Evas 3D state: mesh index data
  • mesh_vertex_assembly - Evas 3D state: mesh vertex assembly
  • mesh_shader_mode - Evas 3D state: mesh shader mode
  • mesh_fog - Evas 3D state: mesh fog
  • mesh_blending - Evas 3D state: mesh blending
  • mesh_alpha_test - Evas 3D state: mesh alpha test
  • mesh_color_pick - Evas 3D state: mesh color pick
  • mesh_shadows_edges_filtering - Evas 3D state: mesh shadows edges filtering
  • mesh_shadows_constant_bias - Evas 3D state: mesh shadows constant bias
  • camera_projection - Evas 3D state: camera projection
  • light_ambient - Evas 3D state: light ambient
  • light_diffuse - Evas 3D state: light diffuse
  • light_specular - Evas 3D state: light specular
  • light_spot_dir - Evas 3D state: light spot dir
  • light_spot_exp - Evas 3D state: light spot exp
  • light_spot_cutoff - Evas 3D state: light spot cutoff
  • light_attenuation - Evas 3D state: light attenuation
  • light_projection - Evas 3D state: light projection
  • node_transform_position - Evas 3D state: node transform position
  • node_transform_orientation - Evas 3D state: node transform orientation
  • node_transform_scale - Evas 3D state: node transform scale
  • node_mesh_geometry - Evas 3D state: node mesh geometry
  • node_mesh_material - Evas 3D state: node mesh material
  • node_mesh_frame - Evas 3D state: node mesh frame
  • node_mesh_shader_mode - Evas 3D state: node mesh shader mode
  • node_mesh_material_id - Evas 3D state: node mesh material ID
  • node_light - Evas 3D state: node light
  • node_camera - Evas 3D state: node camera
  • node_parent_position - Evas 3D state: node parent position
  • node_parent_orientation - Evas 3D state: node parent orientation
  • node_parent_scale - Evas 3D state: node parent scale
  • node_member - Evas 3D state: node member
  • node_parent_billboard - Evas 3D state: node parent billboard
  • node_lod - Evas 3D state: node lod

Signature

enum Evas.Canvas3D.State {
    max: 16,
    any: 0,
    scene_root_node: 1,
    scene_camera_node,
    scene_background_color,
    scene_size,
    scene_shadows_enabled,
    scene_updated,
    scene_shadows_depth,
    scene_render_to_texture,
    texture_data: 1,
    texture_wrap,
    texture_filter,
    material_id: 1,
    material_color,
    material_texture,
    mesh_vertex_count: 1,
    mesh_frame,
    mesh_material,
    mesh_transform,
    mesh_vertex_data,
    mesh_index_data,
    mesh_vertex_assembly,
    mesh_shader_mode,
    mesh_fog,
    mesh_blending,
    mesh_alpha_test,
    mesh_color_pick,
    mesh_shadows_edges_filtering,
    mesh_shadows_constant_bias,
    camera_projection: 1,
    light_ambient: 1,
    light_diffuse,
    light_specular,
    light_spot_dir,
    light_spot_exp,
    light_spot_cutoff,
    light_attenuation,
    light_projection,
    node_transform_position: 1,
    node_transform_orientation,
    node_transform_scale,
    node_mesh_geometry,
    node_mesh_material,
    node_mesh_frame,
    node_mesh_shader_mode,
    node_mesh_material_id,
    node_light,
    node_camera,
    node_parent_position,
    node_parent_orientation,
    node_parent_scale,
    node_member,
    node_parent_billboard,
    node_lod
}

C signature

typedef enum {
    EVAS_CANVAS3D_STATE_MAX = 16,
    EVAS_CANVAS3D_STATE_ANY = 0,
    EVAS_CANVAS3D_STATE_SCENE_ROOT_NODE = 1,
    EVAS_CANVAS3D_STATE_SCENE_CAMERA_NODE,
    EVAS_CANVAS3D_STATE_SCENE_BACKGROUND_COLOR,
    EVAS_CANVAS3D_STATE_SCENE_SIZE,
    EVAS_CANVAS3D_STATE_SCENE_SHADOWS_ENABLED,
    EVAS_CANVAS3D_STATE_SCENE_UPDATED,
    EVAS_CANVAS3D_STATE_SCENE_SHADOWS_DEPTH,
    EVAS_CANVAS3D_STATE_SCENE_RENDER_TO_TEXTURE,
    EVAS_CANVAS3D_STATE_TEXTURE_DATA = 1,
    EVAS_CANVAS3D_STATE_TEXTURE_WRAP,
    EVAS_CANVAS3D_STATE_TEXTURE_FILTER,
    EVAS_CANVAS3D_STATE_MATERIAL_ID = 1,
    EVAS_CANVAS3D_STATE_MATERIAL_COLOR,
    EVAS_CANVAS3D_STATE_MATERIAL_TEXTURE,
    EVAS_CANVAS3D_STATE_MESH_VERTEX_COUNT = 1,
    EVAS_CANVAS3D_STATE_MESH_FRAME,
    EVAS_CANVAS3D_STATE_MESH_MATERIAL,
    EVAS_CANVAS3D_STATE_MESH_TRANSFORM,
    EVAS_CANVAS3D_STATE_MESH_VERTEX_DATA,
    EVAS_CANVAS3D_STATE_MESH_INDEX_DATA,
    EVAS_CANVAS3D_STATE_MESH_VERTEX_ASSEMBLY,
    EVAS_CANVAS3D_STATE_MESH_SHADER_MODE,
    EVAS_CANVAS3D_STATE_MESH_FOG,
    EVAS_CANVAS3D_STATE_MESH_BLENDING,
    EVAS_CANVAS3D_STATE_MESH_ALPHA_TEST,
    EVAS_CANVAS3D_STATE_MESH_COLOR_PICK,
    EVAS_CANVAS3D_STATE_MESH_SHADOWS_EDGES_FILTERING,
    EVAS_CANVAS3D_STATE_MESH_SHADOWS_CONSTANT_BIAS,
    EVAS_CANVAS3D_STATE_CAMERA_PROJECTION = 1,
    EVAS_CANVAS3D_STATE_LIGHT_AMBIENT = 1,
    EVAS_CANVAS3D_STATE_LIGHT_DIFFUSE,
    EVAS_CANVAS3D_STATE_LIGHT_SPECULAR,
    EVAS_CANVAS3D_STATE_LIGHT_SPOT_DIR,
    EVAS_CANVAS3D_STATE_LIGHT_SPOT_EXP,
    EVAS_CANVAS3D_STATE_LIGHT_SPOT_CUTOFF,
    EVAS_CANVAS3D_STATE_LIGHT_ATTENUATION,
    EVAS_CANVAS3D_STATE_LIGHT_PROJECTION,
    EVAS_CANVAS3D_STATE_NODE_TRANSFORM_POSITION = 1,
    EVAS_CANVAS3D_STATE_NODE_TRANSFORM_ORIENTATION,
    EVAS_CANVAS3D_STATE_NODE_TRANSFORM_SCALE,
    EVAS_CANVAS3D_STATE_NODE_MESH_GEOMETRY,
    EVAS_CANVAS3D_STATE_NODE_MESH_MATERIAL,
    EVAS_CANVAS3D_STATE_NODE_MESH_FRAME,
    EVAS_CANVAS3D_STATE_NODE_MESH_SHADER_MODE,
    EVAS_CANVAS3D_STATE_NODE_MESH_MATERIAL_ID,
    EVAS_CANVAS3D_STATE_NODE_LIGHT,
    EVAS_CANVAS3D_STATE_NODE_CAMERA,
    EVAS_CANVAS3D_STATE_NODE_PARENT_POSITION,
    EVAS_CANVAS3D_STATE_NODE_PARENT_ORIENTATION,
    EVAS_CANVAS3D_STATE_NODE_PARENT_SCALE,
    EVAS_CANVAS3D_STATE_NODE_MEMBER,
    EVAS_CANVAS3D_STATE_NODE_PARENT_BILLBOARD,
    EVAS_CANVAS3D_STATE_NODE_LOD
} Evas_Canvas3D_State;