Skip to content
reduz edited this page Jun 20, 2014 · 15 revisions

VisualServer

####Inherits: Object ####Category: Core

Brief Description

Server for anything visible.

Member Functions

Numeric Constants

  • NO_INDEX_ARRAY = -1
  • CUSTOM_ARRAY_SIZE = 8
  • ARRAY_WEIGHTS_SIZE = 4
  • MAX_PARTICLE_COLOR_PHASES = 4
  • MAX_PARTICLE_ATTRACTORS = 4
  • MAX_CURSORS = 8
  • TEXTURE_FLAG_MIPMAPS = 1
  • TEXTURE_FLAG_REPEAT = 2
  • TEXTURE_FLAG_FILTER = 4
  • TEXTURE_FLAG_CUBEMAP = 8
  • TEXTURE_FLAGS_DEFAULT = 7
  • CUBEMAP_LEFT = 0
  • CUBEMAP_RIGHT = 1
  • CUBEMAP_BOTTOM = 2
  • CUBEMAP_TOP = 3
  • CUBEMAP_FRONT = 4
  • CUBEMAP_BACK = 5
  • SHADER_MATERIAL = 0
  • SHADER_POST_PROCESS = 2
  • MATERIAL_FLAG_VISIBLE = 0
  • MATERIAL_FLAG_DOUBLE_SIDED = 1
  • MATERIAL_FLAG_INVERT_FACES = 2
  • MATERIAL_FLAG_UNSHADED = 3
  • MATERIAL_FLAG_ONTOP = 4
  • MATERIAL_FLAG_WIREFRAME = 5
  • MATERIAL_FLAG_BILLBOARD = 6
  • MATERIAL_FLAG_MAX = 7
  • MATERIAL_BLEND_MODE_MIX = 0
  • MATERIAL_BLEND_MODE_ADD = 1
  • MATERIAL_BLEND_MODE_SUB = 2
  • MATERIAL_BLEND_MODE_MUL = 3
  • FIXED_MATERIAL_PARAM_DIFFUSE = 0
  • FIXED_MATERIAL_PARAM_DETAIL = 1
  • FIXED_MATERIAL_PARAM_SPECULAR = 2
  • FIXED_MATERIAL_PARAM_EMISSION = 3
  • FIXED_MATERIAL_PARAM_SPECULAR_EXP = 4
  • FIXED_MATERIAL_PARAM_GLOW = 5
  • FIXED_MATERIAL_PARAM_NORMAL = 6
  • FIXED_MATERIAL_PARAM_SHADE_PARAM = 7
  • FIXED_MATERIAL_PARAM_MAX = 8
  • FIXED_MATERIAL_TEXCOORD_SPHERE = 3
  • FIXED_MATERIAL_TEXCOORD_UV = 0
  • FIXED_MATERIAL_TEXCOORD_UV_TRANSFORM = 1
  • FIXED_MATERIAL_TEXCOORD_UV2 = 2
  • ARRAY_VERTEX = 0
  • ARRAY_NORMAL = 1
  • ARRAY_TANGENT = 2
  • ARRAY_COLOR = 3
  • ARRAY_TEX_UV = 4
  • ARRAY_BONES = 6
  • ARRAY_WEIGHTS = 7
  • ARRAY_INDEX = 8
  • ARRAY_MAX = 9
  • ARRAY_FORMAT_VERTEX = 1
  • ARRAY_FORMAT_NORMAL = 2
  • ARRAY_FORMAT_TANGENT = 4
  • ARRAY_FORMAT_COLOR = 8
  • ARRAY_FORMAT_TEX_UV = 16
  • ARRAY_FORMAT_BONES = 64
  • ARRAY_FORMAT_WEIGHTS = 128
  • ARRAY_FORMAT_INDEX = 256
  • PRIMITIVE_POINTS = 0
  • PRIMITIVE_LINES = 1
  • PRIMITIVE_LINE_STRIP = 2
  • PRIMITIVE_LINE_LOOP = 3
  • PRIMITIVE_TRIANGLES = 4
  • PRIMITIVE_TRIANGLE_STRIP = 5
  • PRIMITIVE_TRIANGLE_FAN = 6
  • PRIMITIVE_MAX = 7
  • PARTICLE_LIFETIME = 0
  • PARTICLE_SPREAD = 1
  • PARTICLE_GRAVITY = 2
  • PARTICLE_LINEAR_VELOCITY = 3
  • PARTICLE_ANGULAR_VELOCITY = 4
  • PARTICLE_LINEAR_ACCELERATION = 5
  • PARTICLE_RADIAL_ACCELERATION = 6
  • PARTICLE_TANGENTIAL_ACCELERATION = 7
  • PARTICLE_INITIAL_SIZE = 9
  • PARTICLE_FINAL_SIZE = 10
  • PARTICLE_INITIAL_ANGLE = 11
  • PARTICLE_HEIGHT = 12
  • PARTICLE_HEIGHT_SPEED_SCALE = 13
  • PARTICLE_VAR_MAX = 14
  • LIGHT_DIRECTIONAL = 0
  • LIGHT_OMNI = 1
  • LIGHT_SPOT = 2
  • LIGHT_COLOR_AMBIENT = 0
  • LIGHT_COLOR_DIFFUSE = 1
  • LIGHT_COLOR_SPECULAR = 2
  • LIGHT_PARAM_SPOT_ATTENUATION = 0
  • LIGHT_PARAM_SPOT_ANGLE = 1
  • LIGHT_PARAM_RADIUS = 2
  • LIGHT_PARAM_ENERGY = 3
  • LIGHT_PARAM_ATTENUATION = 4
  • LIGHT_PARAM_MAX = 10
  • SCENARIO_DEBUG_DISABLED = 0
  • SCENARIO_DEBUG_WIREFRAME = 1
  • SCENARIO_DEBUG_OVERDRAW = 2
  • INSTANCE_MESH = 1
  • INSTANCE_MULTIMESH = 2
  • INSTANCE_PARTICLES = 4
  • INSTANCE_LIGHT = 5
  • INSTANCE_ROOM = 6
  • INSTANCE_PORTAL = 7
  • INSTANCE_GEOMETRY_MASK = 30
  • INFO_OBJECTS_IN_FRAME = 0
  • INFO_VERTICES_IN_FRAME = 1
  • INFO_MATERIAL_CHANGES_IN_FRAME = 2
  • INFO_SHADER_CHANGES_IN_FRAME = 3
  • INFO_SURFACE_CHANGES_IN_FRAME = 4
  • INFO_DRAW_CALLS_IN_FRAME = 5
  • INFO_USAGE_VIDEO_MEM_TOTAL = 6
  • INFO_VIDEO_MEM_USED = 7
  • INFO_TEXTURE_MEM_USED = 8
  • INFO_VERTEX_MEM_USED = 9

Description

Server for anything visible. The visual server is the API backend for everything visible. The whole scene system mounts on it to display.

The visual server is completely opaque, the internals are entirely implementation specific and cannot be accessed.

Member Function Description

Clone this wiki locally