d3d_primitive_begin_texture(kind,texid)
From YoYoGames Wiki
Arguments
- kind = A primitive type
- texid = The id of a texture to use for texturing this primitive.
Details
This function is used when you want to draw a textured custom shape in 3d, by giving your own set of vertices to create one or more polygons. Primitive types can be found here. This function would be put before you start to define the vertices. To add vetices to your primitive, you must use one of the following commands:
- d3d_vertex_texture(x,y,z,xtex,ytex)
- d3d_vertex_texture_color(x,y,z,xtex,ytex,col,alpha)
- d3d_vertex_normal_texture(x,y,z,nx,ny,nz,xtex,ytex)
- d3d_vertex_normal_texture_color(x,y,z,nx,ny,nz,xtex,ytex,col,alpha)
Remarks
Requires a registered copy of Game Maker.
See Also
Content from GMKB, was used to expand this article. The content was contributed by monkey dude.

