---
name: "al_set_shader_float_vector"
section: "3"
platform: "linux"
package: "allegro"
version: "5.2.11.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/al_set_shader_float_vector"
---

# al\_set\_shader\_float\_vector(3)

Allegro 5 API

## NAME

al\_set\_shader\_float\_vector - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro.h>
  bool al_set_shader_float_vector(const char *name,
     int num_components, const float *f, int num_elems)
  ```

## DESCRIPTION

Same as [al\_set\_shader\_int\_vector(3)](/al_set_shader_int_vector/3.md) except all values are float instead of int.

## SINCE

5\.1.0

## SEE ALSO

[al\_set\_shader\_int\_vector(3)](/al_set_shader_int_vector/3.md), [al\_use\_shader(3)](/al_use_shader/3.md)
