GM: d3d primitive begin texture

From GMpedia.org Wiki

Jump to: navigation, search
The correct title of this article is d3d_primitive_begin_texture(kind,texid). It appears incorrectly here because of technical restrictions.
The correct title of this article is d3d_primitive_begin_texture(). It appears incorrectly here because of technical restrictions.


Arguments

kind = A primitive type

texid = The id of a texture to use for texturing this primitive.

Limitations

Registered

Note: Please remove limitations and port them in the "Remarks" section at the end of the article.

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:

[edit] See Also

This article was originally found at the Game Maker Knowledge Base, contributed by monkey dude.
See the talk page for details
Personal tools