<?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.3";
<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>Mipmapping</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 Mipmapping functions and variables"/>
<meta name="rh-index-keywords" content=""/>
<meta name="search-keywords" content="Mipmapping"/>
</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="Mipmapping">
<span>Mipmapping</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>Mipmapping</h1>
<p>This section contains all the functions related to using the <a href="https://en.wikipedia.org/wiki/Mipmap" target="_blank">mipmapping</a> functions. Before using these functions you should have enabled mipmapping for the required
texture pages in the <a href="../../../../Settings/Texture_Groups.htm">Texture Group Editor</a> and/or enabled mipmapping for those sprites that have been set to use only a single texture page from the <a href="../../../../Settings/Game_Options.htm">General Game Options</a>.
The image below shows the difference mipmapping can make when rendering your project:</p>
<p><img alt="Mipmapping example" class="center" src="../../../../assets/Images/Scripting_Reference/GML/Reference/Drawing/Mipmapping_Example.png"/>Once you have enabled mipmapping for the project or a texture page, you can then use the following functions
to get and set values which will change how things will look in your project when run.</p>
<p>The functions listed below can be used to get the different values associated with mipmapping in GameMaker Studio 2:</p>
<p> </p>
<ul class="colour">
<li><a href="gpu_get_tex_mip_filter.htm">gpu_get_tex_mip_filter</a></li>
<li><a href="gpu_get_tex_mip_filter_ext.htm">gpu_get_tex_mip_filter_ext</a></li>
<li><a href="gpu_get_tex_mip_bias.htm">gpu_get_tex_mip_bias</a></li>
<li><a href="gpu_get_tex_mip_bias_ext.htm">gpu_get_tex_mip_bias_ext</a></li>
<li><a href="gpu_get_tex_min_mip.htm">gpu_get_tex_min_mip</a></li>
<li><a href="gpu_get_tex_min_mip_ext.htm">gpu_get_tex_min_mip_ext</a></li>
<li><a href="gpu_get_tex_max_mip.htm">gpu_get_tex_max_mip</a></li>
<li><a href="gpu_get_tex_max_mip_ext.htm">gpu_get_tex_max_mip_ext</a></li>
<li><a href="gpu_get_tex_max_aniso.htm">gpu_get_tex_max_aniso</a></li>
<li><a href="gpu_get_tex_max_aniso_ext.htm">gpu_get_tex_max_aniso_ext</a></li>
<li><a href="gpu_get_tex_mip_enable.htm">gpu_get_tex_mip_enable</a></li>
<li><a href="gpu_get_tex_mip_enable_ext.htm">gpu_get_tex_mip_enable_ext</a></li>
</ul>
<p> </p>
<p>The functions listed below can be used to set the different values associated with mipmapping in GameMaker Studio 2:</p>
<p> </p>
<ul class="colour">
<li><a href="gpu_set_tex_mip_filter.htm">gpu_set_tex_mip_filter</a></li>
<li><a href="gpu_set_tex_mip_filter_ext.htm">gpu_set_tex_mip_filter_ext</a></li>
<li><a href="gpu_set_tex_mip_bias.htm">gpu_set_tex_mip_bias</a></li>
<li><a href="gpu_set_tex_mip_bias_ext.htm">gpu_set_tex_mip_bias_ext</a></li>
<li><a href="gpu_set_tex_min_mip.htm">gpu_set_tex_min_mip</a></li>
<li><a href="gpu_set_tex_min_mip_ext.htm">gpu_set_tex_min_mip_ext</a></li>
<li><a href="gpu_set_tex_max_mip.htm">gpu_set_tex_max_mip</a></li>
<li><a href="gpu_set_tex_max_mip_ext.htm">gpu_set_tex_max_mip_ext</a></li>
<li><a href="gpu_set_tex_max_aniso.htm">gpu_set_tex_max_aniso</a></li>
<li><a href="gpu_set_tex_max_aniso_ext.htm">gpu_set_tex_max_aniso_ext</a></li>
<li><a href="gpu_set_tex_mip_enable.htm">gpu_set_tex_mip_enable</a></li>
<li><a href="gpu_set_tex_mip_enable_ext.htm">gpu_set_tex_mip_enable_ext</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="../Drawing.htm">Drawing</a></div>
<div style="float:right">Next: <a href="../Basic_Forms/Basic_Forms.htm">Basic Forms</a></div>
</div>
</div>
<h5>© Copyright YoYo Games Ltd. 2020 All Rights Reserved</h5>
</div>
</body></html>