<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<script type="text/javascript" language="JavaScript">
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
</script>
<style type="text/css">
< !-- div.WebHelpPopupMenu {
position: absolute;
left: 0px;
top: 0px;
z-index: 4;
visibility: hidden;
}
p.WebHelpNavBar {
text-align: right;
}
-->
</style>
<script type="text/javascript">
gRootRelPath = "../../..";
gCommonRootRelPath = "../../..";
gTopicId = "9.2.5";
<script type="text/javascript" src="../../../template/scripts/rh.min.js"></script>
<script type="text/javascript" src="../../../template/scripts/common.min.js"></script>
<script type="text/javascript" src="../../../template/scripts/topic.min.js"></script>
<script type="text/javascript" src="../../../template/scripts/topicwidgets.min.js"></script>
<script type="text/javascript" src="../../../whxdata/projectsettings.js"></script>
<link rel="stylesheet" type="text/css" href="../../../template/styles/topic.min.css"/>
<link rel="stylesheet" type="text/css" href="../../../template/Charcoal_Grey/topicheader.css"/>
<meta name="topic-status" content="Draft"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Drawing</title>
<meta name="generator" content="Adobe RoboHelp 2019"/>
<link rel="stylesheet" href="../../../assets/css/default.css" type="text/css"/>
<meta name="rh-authors" content="Mark Alexander"/>
<meta name="topic-comment" content="Reference section for the Drawing functions and variables"/>
<meta name="rh-index-keywords" content=""/>
<meta name="search-keywords" content="Drawing"/>
</head>
<body>
<div class="topic-header rh-hide" id="rh-topic-header" onclick="rh._.goToFullLayout()">
<div class="logo">
</div>
<div class="nav">
<div class="title" title="Drawing">
<span>Drawing</span>
</div>
<div class="gotohome" title="Click here to see this page in full context">
<span>Click here to see this page in full context</span>
</div>
</div>
</div>
<div class="topic-header-shadow rh-hide" id="rh-topic-header-shadow"></div>
<h1>Drawing</h1>
<p>This section contains all the functions related to drawing within the game room, as well as for controlling <i>how</i> things will be drawn (blending, alpha, culling, etc...). There are a great number of different functions for drawing, and they are
split over the following categories to make it easier to find what you need:</p>
<p> </p>
<ul class="colour">
<li><a href="Colour_And_Alpha/Colour_And_Alpha.htm">Colour And Alpha</a></li>
<li><a href="GPU_Control/GPU_Control.htm"><span>GPU Control</span></a></li>
<li><a href="Mipmapping/Mipmapping.htm">Mipmapping</a></li>
<li><a href="Basic_Forms/Basic_Forms.htm"><span>Basic Forms</span></a></li>
<li><a href="Sprites_And_Tiles/Sprites_And_Tiles.htm"><span>Sprites And Tiles</span></a></li>
<li><a href="Text/Text.htm"><span>Text</span></a></li>
<li><a href="Primitives/Primitives_And_Vertex_Formats.htm"><span>Primitives And Vertex Formats</span></a></li>
<li><a href="Surfaces/Surfaces.htm"><span>Surfaces</span></a></li>
<li><a href="Lighting/Lighting.htm"><span>Lighting</span></a></li>
<li><a href="Particles/Particles.htm"><span>Particles</span></a></li>
<li><a href="Textures/Textures.htm"><span>Textures</span></a></li>
<li><a href="../Asset_Management/Shaders/Shaders.htm">Shaders</a></li>
</ul>
<p> </p>
<p>There are two special functions available too, one which is used for enabling or disabling the <b>Draw Event</b> for your project, and the other for flushing the entire draw pipeline:</p>
<p> </p>
<ul class="colour">
<li><a href="draw_enable_drawevent.htm">draw_enable_drawevent</a></li>
<li><a href="draw_flush.htm">draw_flush</a></li>
</ul>
<p> </p>
<p> </p>
<p> </p>
<div class="footer">
<div class="buttons">
<div class="clear">
<div style="float:left">Back: <a href="../GML_Reference.htm">GML Reference</a></div>
<div style="float:right">Next: <a href="../Cameras_And_Display/Cameras_And_Display.htm">Cameras And Display</a></div>
</div>
</div>
<h5>© Copyright YoYo Games Ltd. 2020 All Rights Reserved</h5>
</div>
</body></html>