Source

clutter-ocaml / html / Cogl.Texture.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link rel="previous" href="Cogl.Util.html">
<link rel="next" href="Cogl.Path.html">
<link rel="Up" href="Cogl.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of exceptions" rel=Appendix href="index_exceptions.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of class attributes" rel=Appendix href="index_attributes.html">
<link title="Index of class methods" rel=Appendix href="index_methods.html">
<link title="Index of classes" rel=Appendix href="index_classes.html">
<link title="Index of class types" rel=Appendix href="index_class_types.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Clutter" rel="Chapter" href="Clutter.html">
<link title="ClutterEnums" rel="Chapter" href="ClutterEnums.html">
<link title="PangolibEnums" rel="Chapter" href="PangolibEnums.html">
<link title="ClutterData" rel="Chapter" href="ClutterData.html">
<link title="Event" rel="Chapter" href="Event.html">
<link title="Structs" rel="Chapter" href="Structs.html">
<link title="ClutterProps" rel="Chapter" href="ClutterProps.html">
<link title="OclutterProps" rel="Chapter" href="OclutterProps.html">
<link title="ClutterActor" rel="Chapter" href="ClutterActor.html">
<link title="ClutterContainer" rel="Chapter" href="ClutterContainer.html">
<link title="ClutterTexture" rel="Chapter" href="ClutterTexture.html">
<link title="ClutterBehaviour" rel="Chapter" href="ClutterBehaviour.html">
<link title="ClutterGroup" rel="Chapter" href="ClutterGroup.html">
<link title="ClutterStage" rel="Chapter" href="ClutterStage.html">
<link title="ClutterRectangle" rel="Chapter" href="ClutterRectangle.html">
<link title="ClutterTimeline" rel="Chapter" href="ClutterTimeline.html">
<link title="ClutterAlpha" rel="Chapter" href="ClutterAlpha.html">
<link title="ClutterEffects" rel="Chapter" href="ClutterEffects.html">
<link title="ClutterLabel" rel="Chapter" href="ClutterLabel.html">
<link title="ClutterScore" rel="Chapter" href="ClutterScore.html">
<link title="ClutterCairo" rel="Chapter" href="ClutterCairo.html">
<link title="CoglEnums" rel="Chapter" href="CoglEnums.html">
<link title="Cogl" rel="Chapter" href="Cogl.html"><title>ClutterOcaml : Cogl.Texture</title>
</head>
<body>
<div class="navbar"><a href="Cogl.Util.html">Previous</a>
&nbsp;<a href="Cogl.html">Up</a>
&nbsp;<a href="Cogl.Path.html">Next</a>
</div>
<center><h1>Module <a href="type_Cogl.Texture.html">Cogl.Texture</a></h1></center>
<br>
<pre><span class="keyword">module</span> Texture: <code class="code">sig</code> <a href="Cogl.Texture.html">..</a> <code class="code">end</code></pre><hr width="100%">
<pre><span class="keyword">type</span> <a name="TYPEvertex"></a><code class="type"></code>vertex </pre>

<pre><span class="keyword">type</span> <a name="TYPEregion"></a><code class="type"></code>region </pre>

<pre><span class="keyword">exception</span> <a name="EXCEPTIONCogl_InvalidHandle"></a>Cogl_InvalidHandle</pre>
<pre><span class="keyword">exception</span> <a name="EXCEPTIONGerror"></a>Gerror</pre>
<pre><span class="keyword">val</span> <a name="VALnew_with_size"></a><a href="code_VALCogl.Texture.new_with_size.html">new_with_size</a> : <code class="type">width:int -><br>       height:int -><br>       max_waste:int -><br>       auto_mipmap:bool -> format:<a href="CoglEnums.html#TYPEpixel_format">CoglEnums.pixel_format</a> -> <a href="Cogl.html#TYPEhandle">Cogl.handle</a></code></pre><pre><span class="keyword">val</span> <a name="VALnew_from_file"></a><a href="code_VALCogl.Texture.new_from_file.html">new_from_file</a> : <code class="type">filename:string -><br>       max_waste:int -><br>       auto_mipmap:bool -> format:<a href="CoglEnums.html#TYPEpixel_format">CoglEnums.pixel_format</a> -> <a href="Cogl.html#TYPEhandle">Cogl.handle</a></code></pre><pre><span class="keyword">val</span> <a name="VALnew_from_data"></a><a href="code_VALCogl.Texture.new_from_data.html">new_from_data</a> : <code class="type">width:int -><br>       height:int -><br>       max_waste:int -><br>       auto_mipmap:bool -><br>       format:<a href="CoglEnums.html#TYPEpixel_format">CoglEnums.pixel_format</a> -><br>       internal_format:<a href="CoglEnums.html#TYPEpixel_format">CoglEnums.pixel_format</a> -><br>       rowstride:int -> data:<a href="Cogl.Texture.html#TYPEregion">region</a> -> <a href="Cogl.html#TYPEhandle">Cogl.handle</a></code></pre><pre><span class="keyword">val</span> <a name="VALis_texture"></a><a href="code_VALCogl.Texture.is_texture.html">is_texture</a> : <code class="type"><a href="Cogl.html#TYPEhandle">Cogl.handle</a> -> bool</code></pre><pre><span class="keyword">val</span> <a name="VALwidth"></a><a href="code_VALCogl.Texture.width.html">width</a> : <code class="type"><a href="Cogl.html#TYPEhandle">Cogl.handle</a> -> int</code></pre><pre><span class="keyword">val</span> <a name="VALheight"></a><a href="code_VALCogl.Texture.height.html">height</a> : <code class="type"><a href="Cogl.html#TYPEhandle">Cogl.handle</a> -> int</code></pre><pre><span class="keyword">val</span> <a name="VALformat"></a><a href="code_VALCogl.Texture.format.html">format</a> : <code class="type"><a href="Cogl.html#TYPEhandle">Cogl.handle</a> -> <a href="CoglEnums.html#TYPEpixel_format">CoglEnums.pixel_format</a></code></pre><pre><span class="keyword">val</span> <a name="VALget_rowstride"></a><a href="code_VALCogl.Texture.get_rowstride.html">get_rowstride</a> : <code class="type"><a href="Cogl.html#TYPEhandle">Cogl.handle</a> -> int</code></pre><pre><span class="keyword">val</span> <a name="VALget_max_waste"></a><a href="code_VALCogl.Texture.get_max_waste.html">get_max_waste</a> : <code class="type"><a href="Cogl.html#TYPEhandle">Cogl.handle</a> -> int</code></pre><pre><span class="keyword">val</span> <a name="VAL_ref"></a><a href="code_VALCogl.Texture._ref.html">_ref</a> : <code class="type"><a href="Cogl.html#TYPEhandle">Cogl.handle</a> -> <a href="Cogl.html#TYPEhandle">Cogl.handle</a></code></pre><pre><span class="keyword">val</span> <a name="VAL_unref"></a><a href="code_VALCogl.Texture._unref.html">_unref</a> : <code class="type"><a href="Cogl.html#TYPEhandle">Cogl.handle</a> -> unit</code></pre><pre><span class="keyword">val</span> <a name="VALrectangle"></a><a href="code_VALCogl.Texture.rectangle.html">rectangle</a> : <code class="type"><a href="Cogl.html#TYPEhandle">Cogl.handle</a> -><br>       x1:<a href="Cogl.html#TYPEunits">Cogl.units</a> -><br>       y1:<a href="Cogl.html#TYPEunits">Cogl.units</a> -><br>       x2:<a href="Cogl.html#TYPEunits">Cogl.units</a> -><br>       y2:<a href="Cogl.html#TYPEunits">Cogl.units</a> -><br>       tx1:<a href="Cogl.html#TYPEunits">Cogl.units</a> -> ty1:<a href="Cogl.html#TYPEunits">Cogl.units</a> -> tx2:<a href="Cogl.html#TYPEunits">Cogl.units</a> -> ty2:<a href="Cogl.html#TYPEunits">Cogl.units</a> -> unit</code></pre><pre><span class="keyword">val</span> <a name="VALpolygon"></a><a href="code_VALCogl.Texture.polygon.html">polygon</a> : <code class="type"><a href="Cogl.html#TYPEhandle">Cogl.handle</a> -><br>       n:int -> vertices:<a href="Cogl.Texture.html#TYPEvertex">vertex</a> array -> use_color:bool -> unit</code></pre></body></html>