<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Eigene Namen für Grafikmodi]]></title><description><![CDATA[<p>Hey!</p>
<p>Ich würde meiner DrawDevice::Create(HWND&amp;)-Funktion gerne weitere Parameter verpassen. Diese sollen auch die direct3DPresentParameters einstellen. Nur möchte ich nicht die Namen von DirectX verwenden, sondern eigene.</p>
<p>Create(x8r8g8b8, discard, immediate, ...);</p>
<p>Würde das irgendwie machbar sein?</p>
<p>MfG</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/175556/eigene-namen-für-grafikmodi</link><generator>RSS for Node</generator><lastBuildDate>Sat, 19 Sep 2026 05:45:06 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/175556.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 11 Mar 2007 22:56:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Eigene Namen für Grafikmodi on Sun, 11 Mar 2007 22:56:53 GMT]]></title><description><![CDATA[<p>Hey!</p>
<p>Ich würde meiner DrawDevice::Create(HWND&amp;)-Funktion gerne weitere Parameter verpassen. Diese sollen auch die direct3DPresentParameters einstellen. Nur möchte ich nicht die Namen von DirectX verwenden, sondern eigene.</p>
<p>Create(x8r8g8b8, discard, immediate, ...);</p>
<p>Würde das irgendwie machbar sein?</p>
<p>MfG</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1243690</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1243690</guid><dc:creator><![CDATA[ceplusplus]]></dc:creator><pubDate>Sun, 11 Mar 2007 22:56:53 GMT</pubDate></item><item><title><![CDATA[Reply to Eigene Namen für Grafikmodi on Sun, 11 Mar 2007 23:12:11 GMT]]></title><description><![CDATA[<p>erstellen von enums oder anderen typen ist eine grundlegende programmierfrage und nicht d3d9 oder graphikprogrammierungsspezifisch.</p>
<p>kurz: ja, klar geht das, wieso sollte es das nicht?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1243697</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1243697</guid><dc:creator><![CDATA[rapso]]></dc:creator><pubDate>Sun, 11 Mar 2007 23:12:11 GMT</pubDate></item><item><title><![CDATA[Reply to Eigene Namen für Grafikmodi on Sun, 11 Mar 2007 23:12:26 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile-var-mode-is-viewprofile-and-u-is-5577.html" rel="nofollow">rapso</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-7.html" rel="nofollow">Spiele-/Grafikprogrammierung</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-15.html" rel="nofollow">C++</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-39405.html" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1243698</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1243698</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Sun, 11 Mar 2007 23:12:26 GMT</pubDate></item><item><title><![CDATA[Reply to Eigene Namen für Grafikmodi on Mon, 12 Mar 2007 02:12:11 GMT]]></title><description><![CDATA[<p>Und wie?</p>
<pre><code class="language-cpp">enum SwapEffect { discard = D3DSWAPEFFECT_DISCARD };
</code></pre>
<pre><code>error C2440: '=' : cannot convert from 'SwapEffect' to 'D3DSWAPEFFECT'
</code></pre>
<p>MfG</p>
<p>EDIT:<br />
Das möchte ich erreichen, aber nicht durch #define 's.</p>
<pre><code class="language-cpp">#define discard D3DSWAPEFFECT_DISCARD
#define flip D3DSWAPEFFECT_FLIP

#define immediate D3DPRESENT_INTERVAL_IMMEDIATE
...
</code></pre>
<p>Wenn möglich, möchte ich als Parametertyp <strong>nicht</strong> D3DSWAPEFFECT verwenden:</p>
<pre><code class="language-cpp">void Create(D3DSWAPEFFECT, HWND&amp;);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1243713</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1243713</guid><dc:creator><![CDATA[ceplusplus]]></dc:creator><pubDate>Mon, 12 Mar 2007 02:12:11 GMT</pubDate></item><item><title><![CDATA[Reply to Eigene Namen für Grafikmodi on Mon, 12 Mar 2007 07:41:01 GMT]]></title><description><![CDATA[<p>ceplusplus schrieb:</p>
<blockquote>
<p>#define 's.</p>
</blockquote>
<p>#defines</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1243752</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1243752</guid><dc:creator><![CDATA[Entenwickler wieder da]]></dc:creator><pubDate>Mon, 12 Mar 2007 07:41:01 GMT</pubDate></item><item><title><![CDATA[Reply to Eigene Namen für Grafikmodi on Mon, 12 Mar 2007 10:08:47 GMT]]></title><description><![CDATA[<p>Schreib dir doch einfach eine (interne) Funktion, welche deine enums auf die DirectX-defines abbildet. Nach außen benutzt du dann deine enums und intern übergibst du dann die DX-defines an die DirectX-Funktionen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1243832</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1243832</guid><dc:creator><![CDATA[Th]]></dc:creator><pubDate>Mon, 12 Mar 2007 10:08:47 GMT</pubDate></item><item><title><![CDATA[Reply to Eigene Namen für Grafikmodi on Mon, 12 Mar 2007 13:39:36 GMT]]></title><description><![CDATA[<p>Gibst du mir ein Beispiel?<br />
Geht das auch noch anders? (Einfacher/schneller?)</p>
<p>MfG</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1243875</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1243875</guid><dc:creator><![CDATA[ceplusplus]]></dc:creator><pubDate>Mon, 12 Mar 2007 13:39:36 GMT</pubDate></item></channel></rss>