Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
mesh_shader(3)			 Arcan Lua API			mesh_shader(3)

NAME
       mesh_shader - Change the	active shader for a submesh of a model

SYNOPSIS
       nil
       mesh_shader( mesh, shid,	slot )

DESCRIPTION
       Each  3D-model can have a number	of meshes (grouped primitives) associ-
       ated with it. Each such mesh can	also have a custom set	of  processing
       instructions  ("shader"). This function is used to associate a prebuilt
       shader with an individual mesh slot of a	3D model.

SEE ALSO:
       build_shader(3) image_shader(3) shader_ugroup(3)	shader_uniform(3)

3d				  April	2025			mesh_shader(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=mesh_shader&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help