cf_material_set_texture_cs¶
Category: graphics
GitHub: cute_graphics.h
Sets up a sampled texture for the compute shader stage.
| Parameters | Description |
|---|---|
material |
The material. |
name |
The name of the texture as it appears in the compute shader. |
texture |
Data (usually an image) for a shader to access. |