\hypertarget{class_ogre_1_1_d3_d9_depth_buffer}{}\section{Ogre\+:\+:D3\+D9\+Depth\+Buffer Class Reference}
\label{class_ogre_1_1_d3_d9_depth_buffer}\index{Ogre\+::\+D3\+D9\+Depth\+Buffer@{Ogre\+::\+D3\+D9\+Depth\+Buffer}}


{\ttfamily \#include $<$Ogre\+D3\+D9\+Depth\+Buffer.\+h$>$}



Inheritance diagram for Ogre\+:\+:D3\+D9\+Depth\+Buffer\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=211pt]{class_ogre_1_1_d3_d9_depth_buffer__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{group___render_system_ga9854c57374adef41216bae68544a5b7e}{Pool\+Id} \{ \hyperlink{group___render_system_gga9854c57374adef41216bae68544a5b7ea569228ed0fdd8d428a5117026b6d010e}{P\+O\+O\+L\+\_\+\+N\+O\+\_\+\+D\+E\+P\+TH} = 0, 
\hyperlink{group___render_system_gga9854c57374adef41216bae68544a5b7ea2d5409ddce167e1db415f09ee2160440}{P\+O\+O\+L\+\_\+\+M\+A\+N\+U\+A\+L\+\_\+\+U\+S\+A\+GE} = 0, 
\hyperlink{group___render_system_gga9854c57374adef41216bae68544a5b7ea00a687046bfe7a9ebd7f34256d3fbcca}{P\+O\+O\+L\+\_\+\+D\+E\+F\+A\+U\+LT} = 1
 \}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_d3_d9_depth_buffer_a2bfd06803e6627d29b6eef9fd6bc6319}{D3\+D9\+Depth\+Buffer} (\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16} pool\+Id, \hyperlink{class_ogre_1_1_d3_d9_render_system}{D3\+D9\+Render\+System} $\ast$render\+System, I\+Direct3\+D\+Device9 $\ast$creator, I\+Direct3\+D\+Surface9 $\ast$depth\+Buffer\+Surf, D3\+D\+F\+O\+R\+M\+AT fmt, \hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} width, \hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} height, \hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} fsaa, \hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} multi\+Sample\+Quality, bool \hyperlink{group___render_system_ga4a3de78684016598642ad2d00e5caa86}{is\+Manual})
\item 
\hyperlink{class_ogre_1_1_d3_d9_depth_buffer_ad0bf97863bd3b2d70e3b46dea48ca8f7}{$\sim$\+D3\+D9\+Depth\+Buffer} ()
\item 
virtual void \hyperlink{group___render_system_ga26c4ce1003ddab1ed7e3befecb0888a1}{\+\_\+notify\+Render\+Target\+Attached} (\hyperlink{class_ogre_1_1_render_target}{Render\+Target} $\ast$render\+Target)
\begin{DoxyCompactList}\small\item\em Called when a \hyperlink{class_ogre_1_1_render_target}{Render\+Target} is attaches this \hyperlink{class_ogre_1_1_depth_buffer}{Depth\+Buffer}. \end{DoxyCompactList}\item 
virtual void \hyperlink{group___render_system_ga227b541ef2ae3de53334c10397a08f99}{\+\_\+notify\+Render\+Target\+Detached} (\hyperlink{class_ogre_1_1_render_target}{Render\+Target} $\ast$render\+Target)
\begin{DoxyCompactList}\small\item\em Called when a \hyperlink{class_ogre_1_1_render_target}{Render\+Target} is detaches from this \hyperlink{class_ogre_1_1_depth_buffer}{Depth\+Buffer}. \end{DoxyCompactList}\item 
void \hyperlink{group___render_system_ga7af5c611687492846891914dcac303d2}{\+\_\+set\+Pool\+Id} (\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16} pool\+Id)
\begin{DoxyCompactList}\small\item\em Sets the pool id in which this \hyperlink{class_ogre_1_1_depth_buffer}{Depth\+Buffer} lives. \end{DoxyCompactList}\item 
virtual \hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16} \hyperlink{group___render_system_ga0da54b20b25ac5313fc8c142e8b35168}{get\+Bit\+Depth} () const
\item 
I\+Direct3\+D\+Surface9 $\ast$ \hyperlink{class_ogre_1_1_d3_d9_depth_buffer_a52634647b72575019d3ef0396a92d624}{get\+Depth\+Buffer\+Surface} () const
\item 
I\+Direct3\+D\+Device9 $\ast$ \hyperlink{class_ogre_1_1_d3_d9_depth_buffer_a2c7495ae026d07ef5dd36741f1464941}{get\+Device\+Creator} () const
\item 
virtual \hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} \hyperlink{group___render_system_gafb31d279263557b92843f6715ba6e8c2}{get\+Fsaa} () const
\item 
virtual const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \& \hyperlink{group___render_system_ga2d44455830254b7da1058ad542f9a439}{get\+Fsaa\+Hint} () const
\item 
virtual \hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} \hyperlink{group___render_system_gaf95e6998e74db40257cb2ca5cab4bdf4}{get\+Height} () const
\item 
virtual \hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16} \hyperlink{group___render_system_ga82b30e2ad5de1ac4678fda52ccbaf28f}{get\+Pool\+Id} () const
\begin{DoxyCompactList}\small\item\em Gets the pool id in which this \hyperlink{class_ogre_1_1_depth_buffer}{Depth\+Buffer} lives. \end{DoxyCompactList}\item 
virtual \hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} \hyperlink{group___render_system_gae5095fe367bf95d08dee2da03810beb2}{get\+Width} () const
\item 
virtual bool \hyperlink{class_ogre_1_1_d3_d9_depth_buffer_a9ef76a9564375f4a6b795467000f4d52}{is\+Compatible} (\hyperlink{class_ogre_1_1_render_target}{Render\+Target} $\ast$render\+Target) const
\begin{DoxyCompactList}\small\item\em Returns whether the specified \hyperlink{class_ogre_1_1_render_target}{Render\+Target} is compatible with this \hyperlink{class_ogre_1_1_depth_buffer}{Depth\+Buffer} That is, this \hyperlink{class_ogre_1_1_depth_buffer}{Depth\+Buffer} can be attached to that \hyperlink{class_ogre_1_1_render_target}{Render\+Target}. \end{DoxyCompactList}\item 
bool \hyperlink{group___render_system_ga4a3de78684016598642ad2d00e5caa86}{is\+Manual} () const
\begin{DoxyCompactList}\small\item\em Manual Depth\+Buffers are cleared in \hyperlink{class_ogre_1_1_render_system}{Render\+System}\textquotesingle{}s destructor. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_d3_d9_depth_buffer_a2bfd06803e6627d29b6eef9fd6bc6319}\label{class_ogre_1_1_d3_d9_depth_buffer_a2bfd06803e6627d29b6eef9fd6bc6319}} 
\index{Ogre\+::\+D3\+D9\+Depth\+Buffer@{Ogre\+::\+D3\+D9\+Depth\+Buffer}!D3\+D9\+Depth\+Buffer@{D3\+D9\+Depth\+Buffer}}
\index{D3\+D9\+Depth\+Buffer@{D3\+D9\+Depth\+Buffer}!Ogre\+::\+D3\+D9\+Depth\+Buffer@{Ogre\+::\+D3\+D9\+Depth\+Buffer}}
\subsubsection{\texorpdfstring{D3\+D9\+Depth\+Buffer()}{D3D9DepthBuffer()}}
{\footnotesize\ttfamily Ogre\+::\+D3\+D9\+Depth\+Buffer\+::\+D3\+D9\+Depth\+Buffer (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16}}]{pool\+Id,  }\item[{\hyperlink{class_ogre_1_1_d3_d9_render_system}{D3\+D9\+Render\+System} $\ast$}]{render\+System,  }\item[{I\+Direct3\+D\+Device9 $\ast$}]{creator,  }\item[{I\+Direct3\+D\+Surface9 $\ast$}]{depth\+Buffer\+Surf,  }\item[{D3\+D\+F\+O\+R\+M\+AT}]{fmt,  }\item[{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}}]{width,  }\item[{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}}]{height,  }\item[{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}}]{fsaa,  }\item[{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}}]{multi\+Sample\+Quality,  }\item[{bool}]{is\+Manual }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_ogre_1_1_d3_d9_depth_buffer_ad0bf97863bd3b2d70e3b46dea48ca8f7}\label{class_ogre_1_1_d3_d9_depth_buffer_ad0bf97863bd3b2d70e3b46dea48ca8f7}} 
\index{Ogre\+::\+D3\+D9\+Depth\+Buffer@{Ogre\+::\+D3\+D9\+Depth\+Buffer}!````~D3\+D9\+Depth\+Buffer@{$\sim$\+D3\+D9\+Depth\+Buffer}}
\index{````~D3\+D9\+Depth\+Buffer@{$\sim$\+D3\+D9\+Depth\+Buffer}!Ogre\+::\+D3\+D9\+Depth\+Buffer@{Ogre\+::\+D3\+D9\+Depth\+Buffer}}
\subsubsection{\texorpdfstring{$\sim$\+D3\+D9\+Depth\+Buffer()}{~D3D9DepthBuffer()}}
{\footnotesize\ttfamily Ogre\+::\+D3\+D9\+Depth\+Buffer\+::$\sim$\+D3\+D9\+Depth\+Buffer (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_d3_d9_depth_buffer_a9ef76a9564375f4a6b795467000f4d52}\label{class_ogre_1_1_d3_d9_depth_buffer_a9ef76a9564375f4a6b795467000f4d52}} 
\index{Ogre\+::\+D3\+D9\+Depth\+Buffer@{Ogre\+::\+D3\+D9\+Depth\+Buffer}!is\+Compatible@{is\+Compatible}}
\index{is\+Compatible@{is\+Compatible}!Ogre\+::\+D3\+D9\+Depth\+Buffer@{Ogre\+::\+D3\+D9\+Depth\+Buffer}}
\subsubsection{\texorpdfstring{is\+Compatible()}{isCompatible()}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+D3\+D9\+Depth\+Buffer\+::is\+Compatible (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_render_target}{Render\+Target} $\ast$}]{render\+Target }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}



Returns whether the specified \hyperlink{class_ogre_1_1_render_target}{Render\+Target} is compatible with this \hyperlink{class_ogre_1_1_depth_buffer}{Depth\+Buffer} That is, this \hyperlink{class_ogre_1_1_depth_buffer}{Depth\+Buffer} can be attached to that \hyperlink{class_ogre_1_1_render_target}{Render\+Target}. 

\begin{DoxyRemark}{Remarks}
Most A\+P\+Is impose the following restrictions\+: Width \& height must be equal or higher than the render target\textquotesingle{}s They must be of the same bit depth. They need to have the same F\+S\+AA setting 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em render\+Target} & The render target to test against \\
\hline
\end{DoxyParams}


Reimplemented from \hyperlink{group___render_system_gae959f6dd77e0e8b6aa9b7c6a3d2d3f5d}{Ogre\+::\+Depth\+Buffer}.

\mbox{\Hypertarget{class_ogre_1_1_d3_d9_depth_buffer_a2c7495ae026d07ef5dd36741f1464941}\label{class_ogre_1_1_d3_d9_depth_buffer_a2c7495ae026d07ef5dd36741f1464941}} 
\index{Ogre\+::\+D3\+D9\+Depth\+Buffer@{Ogre\+::\+D3\+D9\+Depth\+Buffer}!get\+Device\+Creator@{get\+Device\+Creator}}
\index{get\+Device\+Creator@{get\+Device\+Creator}!Ogre\+::\+D3\+D9\+Depth\+Buffer@{Ogre\+::\+D3\+D9\+Depth\+Buffer}}
\subsubsection{\texorpdfstring{get\+Device\+Creator()}{getDeviceCreator()}}
{\footnotesize\ttfamily I\+Direct3\+D\+Device9$\ast$ Ogre\+::\+D3\+D9\+Depth\+Buffer\+::get\+Device\+Creator (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}

\mbox{\Hypertarget{class_ogre_1_1_d3_d9_depth_buffer_a52634647b72575019d3ef0396a92d624}\label{class_ogre_1_1_d3_d9_depth_buffer_a52634647b72575019d3ef0396a92d624}} 
\index{Ogre\+::\+D3\+D9\+Depth\+Buffer@{Ogre\+::\+D3\+D9\+Depth\+Buffer}!get\+Depth\+Buffer\+Surface@{get\+Depth\+Buffer\+Surface}}
\index{get\+Depth\+Buffer\+Surface@{get\+Depth\+Buffer\+Surface}!Ogre\+::\+D3\+D9\+Depth\+Buffer@{Ogre\+::\+D3\+D9\+Depth\+Buffer}}
\subsubsection{\texorpdfstring{get\+Depth\+Buffer\+Surface()}{getDepthBufferSurface()}}
{\footnotesize\ttfamily I\+Direct3\+D\+Surface9$\ast$ Ogre\+::\+D3\+D9\+Depth\+Buffer\+::get\+Depth\+Buffer\+Surface (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\hyperlink{_ogre_d3_d9_depth_buffer_8h}{Ogre\+D3\+D9\+Depth\+Buffer.\+h}\end{DoxyCompactItemize}
