RetroArch
Public Attributes | List of all members
shader_backend Struct Reference

#include <video_driver.h>

Collaboration diagram for shader_backend:
[legend]

Public Attributes

void *(* init )(void *data, const char *path)
 
void(* init_menu_shaders )(void *data)
 
void(* deinit )(void *data)
 
void(* set_params )(void *data, void *shader_data)
 
void(* set_uniform_parameter )(void *data, struct uniform_info *param, void *uniform_data)
 
bool(* compile_program )(void *data, unsigned idx, void *program_data, struct shader_program_info *program_info)
 
void(* use )(void *data, void *shader_data, unsigned index, bool set_active)
 
unsigned(* num_shaders )(void *data)
 
bool(* filter_type )(void *data, unsigned index, bool *smooth)
 
enum gfx_wrap_type(* wrap_type )(void *data, unsigned index)
 
void(* shader_scale )(void *data, unsigned index, struct gfx_fbo_scale *scale)
 
bool(* set_coords )(void *handle_data, void *shader_data, const struct video_coords *coords)
 
bool(* set_mvp )(void *data, void *shader_data, const void *mat_data)
 
unsigned(* get_prev_textures )(void *data)
 
bool(* get_feedback_pass )(void *data, unsigned *pass)
 
bool(* mipmap_input )(void *data, unsigned index)
 
struct video_shader *(* get_current_shader )(void *data)
 
enum rarch_shader_type type
 
const char * ident
 

Member Data Documentation

◆ compile_program

bool(* shader_backend::compile_program) (void *data, unsigned idx, void *program_data, struct shader_program_info *program_info)

◆ deinit

void(* shader_backend::deinit) (void *data)

◆ filter_type

bool(* shader_backend::filter_type) (void *data, unsigned index, bool *smooth)

◆ get_current_shader

struct video_shader*(* shader_backend::get_current_shader) (void *data)

◆ get_feedback_pass

bool(* shader_backend::get_feedback_pass) (void *data, unsigned *pass)

◆ get_prev_textures

unsigned(* shader_backend::get_prev_textures) (void *data)

◆ ident

const char* shader_backend::ident

◆ init

void*(* shader_backend::init) (void *data, const char *path)

◆ init_menu_shaders

void(* shader_backend::init_menu_shaders) (void *data)

◆ mipmap_input

bool(* shader_backend::mipmap_input) (void *data, unsigned index)

◆ num_shaders

unsigned(* shader_backend::num_shaders) (void *data)

◆ set_coords

bool(* shader_backend::set_coords) (void *handle_data, void *shader_data, const struct video_coords *coords)

◆ set_mvp

bool(* shader_backend::set_mvp) (void *data, void *shader_data, const void *mat_data)

◆ set_params

void(* shader_backend::set_params) (void *data, void *shader_data)

◆ set_uniform_parameter

void(* shader_backend::set_uniform_parameter) (void *data, struct uniform_info *param, void *uniform_data)

◆ shader_scale

void(* shader_backend::shader_scale) (void *data, unsigned index, struct gfx_fbo_scale *scale)

◆ type

enum rarch_shader_type shader_backend::type

◆ use

void(* shader_backend::use) (void *data, void *shader_data, unsigned index, bool set_active)

◆ wrap_type

enum gfx_wrap_type(* shader_backend::wrap_type) (void *data, unsigned index)

The documentation for this struct was generated from the following file: