-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[General]draw_vertex_texture primitives have confusing UV behaviour c…
…ompared to vertex buffers YoYoGames/GameMaker-Bugs#2536 * Updated the "Primitives and Vertex Formats" page: * Defined a bit better what a primitive is * Inserted image with the pr_* constants on this page (since they're shared between primitives and vertex buffers) * Added an introduction to both primitives and vertex buffers, most basic use with copy-pastable examples * Added a section on Texture Coordinates after the introductions to both to point out the difference in uvs * Moved the "enable WebGL on HTML5" note to a snippet
- Loading branch information
Showing
2 changed files
with
78 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
Manual/contents/assets/snippets/Note_Primitives_Enable_WebGL_On_HTML5.hts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<meta name="generator" content="Adobe RoboHelp 2022" /> | ||
<meta name="topic-comment" content="A warning note to enable WebGL to use primitives on HTML5" /> | ||
<title>Note_Primitives_Enable_WebGL_On_HTML5</title> | ||
<link rel="stylesheet" type="text/css" href="../css/default.css" /> | ||
</head> | ||
<body> | ||
<p class="note"><b><span data-conref="Tag_warning.hts"> </span> </b>These functions do not work with the HTML5 module unless you have enabled OpenGL in the <a href="../../Settings/Game_Options/HTML5.htm">Game Options</a>.</p> | ||
</body> | ||
</html> |