Graphics API Reference (libobs/graphics)
- Effects (Shaders)
gs_effect_tgs_technique_tgs_eparam_tgs_effect_create_from_file()gs_effect_create()gs_effect_destroy()gs_effect_get_technique()gs_effect_get_current_technique()gs_technique_begin()gs_technique_end()gs_technique_begin_pass()gs_technique_begin_pass_by_name()gs_technique_end_pass()gs_effect_get_num_params()gs_effect_get_param_by_idx()gs_effect_get_param_by_name()gs_param_get_num_annotations()gs_param_get_annotation_by_idx()gs_param_get_annotation_by_name()gs_effect_loop()gs_effect_get_viewproj_matrix()gs_effect_get_world_matrix()gs_effect_get_param_info()gs_effect_set_bool()gs_effect_set_float()gs_effect_set_int()gs_effect_set_matrix4()gs_effect_set_vec2()gs_effect_set_vec3()gs_effect_set_vec4()gs_effect_set_color()gs_effect_set_texture()gs_effect_set_texture_srgb()gs_effect_set_val()gs_effect_set_default()gs_effect_set_next_sampler()gs_effect_get_val()gs_effect_get_default_val()gs_effect_get_val_size()gs_effect_get_default_val_size()
- 2-Component Vector
- 3-Component Vector
vec3xyzptrvec3_zero()vec3_set()vec3_copy()vec3_from_vec4()vec3_add()vec3_sub()vec3_mul()vec3_div()vec3_addf()vec3_subf()vec3_mulf()vec3_divf()vec3_neg()vec3_dot()vec3_cross()vec3_len()vec3_dist()vec3_minf()vec3_min()vec3_maxf()vec3_max()vec3_abs()vec3_floor()vec3_ceil()vec3_close()vec3_norm()vec3_transform()vec3_rotate()vec3_rand()
- 4-Component Vector
vec4xyzwptrvec4_zero()vec4_set()vec4_copy()vec4_from_vec3()vec4_add()vec4_sub()vec4_mul()vec4_div()vec4_addf()vec4_subf()vec4_mulf()vec4_divf()vec4_neg()vec4_dot()vec4_len()vec4_dist()vec4_minf()vec4_min()vec4_maxf()vec4_max()vec4_abs()vec4_floor()vec4_ceil()vec4_close()vec4_norm()vec4_transform()
- Quaternion
quatxyzwptrquat_identity()quat_set()quat_copy()quat_add()quat_sub()quat_mul()quat_addf()quat_subf()quat_mulf()quat_inv()quat_dot()quat_len()quat_dist()quat_from_axisang()quat_from_matrix4()quat_get_dir()quat_set_look_dir()quat_interpolate()quat_get_tangent()quat_interpolate_cubic()
- Matrix
matrix4xyzwmatrix4_copy()matrix4_identity()matrix4_from_quat()matrix4_from_axisang()matrix4_mul()matrix4_determinant()matrix4_translate3v()matrix4_translate3f()matrix4_translate4v()matrix4_rotate()matrix4_rotate_aa()matrix4_rotate_aa4f()matrix4_scale()matrix4_scale3f()matrix4_inv()matrix4_transpose()
- Extra Math Functions/Macros
- Image File Helper
- Axis Angle
- Core Graphics API
- Graphics Enumerations
- Graphics Structures
- Initialization Functions
- Matrix Stack Functions
- Draw Functions
- Swap Chains
- Resource Loading
- Draw Functions
- Texture Functions
- Cube Texture Functions
- Staging Surface Functions
- Z-Stencil Functions
- Sampler State Functions
- Vertex Buffer Functions
- Index Buffer Functions
- Display Duplicator (Windows Only)
- Monitor Functions
- Render Helper Functions
- Graphics Types