Set texture and rectangle to be used on shapes drawing.
Note
This function has been auto-generated from the following Raylib function definition:
SetShapesTexture(Texture2D texture, Rectangle source); void
See also
texture()
for creating texture objects.
rectangle()
for creating rectangle objects.
Other texture functions:
begin_texture_mode()
,
draw_cube_texture_rec()
,
draw_cube_texture()
,
draw_texture_ex()
,
draw_texture_npatch()
,
draw_texture_poly()
,
draw_texture_pro()
,
draw_texture_quad()
,
draw_texture_rec()
,
draw_texture_tiled()
,
draw_texture_v()
,
draw_texture()
,
end_texture_mode()
,
gen_texture_mipmaps()
,
load_image_from_texture()
,
load_render_texture()
,
load_texture_from_image()
,
load_texture()
,
set_shader_value_texture()
,
set_texture_filter()
,
set_texture_wrap()
,
texture()
,
unload_render_texture()
,
unload_texture()