\hypertarget{class_ogre_1_1_d3_d11_depth_buffer}{}\doxysection{Ogre\+::D3\+D11\+Depth\+Buffer Class Reference}
\label{class_ogre_1_1_d3_d11_depth_buffer}\index{Ogre::D3D11DepthBuffer@{Ogre::D3D11DepthBuffer}}


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



Inheritance diagram for Ogre\+::D3\+D11\+Depth\+Buffer\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=217pt]{class_ogre_1_1_d3_d11_depth_buffer__inherit__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{group___render_system_ga9854c57374adef41216bae68544a5b7e}{Pool\+Id}} \{ \mbox{\hyperlink{group___render_system_gga9854c57374adef41216bae68544a5b7ea569228ed0fdd8d428a5117026b6d010e}{P\+O\+O\+L\+\_\+\+N\+O\+\_\+\+D\+E\+P\+TH}} = 0, 
\mbox{\hyperlink{group___render_system_gga9854c57374adef41216bae68544a5b7ea2d5409ddce167e1db415f09ee2160440}{P\+O\+O\+L\+\_\+\+M\+A\+N\+U\+A\+L\+\_\+\+U\+S\+A\+GE}} = 0, 
\mbox{\hyperlink{group___render_system_gga9854c57374adef41216bae68544a5b7ea00a687046bfe7a9ebd7f34256d3fbcca}{P\+O\+O\+L\+\_\+\+D\+E\+F\+A\+U\+LT}} = 1
 \}
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_d3_d11_depth_buffer_a2354a6cd446662ad3afa6fbdf78bfab2}{D3\+D11\+Depth\+Buffer}} (\mbox{\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16}} pool\+Id, \mbox{\hyperlink{class_ogre_1_1_d3_d11_render_system}{D3\+D11\+Render\+System}} $\ast$render\+System, I\+D3\+D11\+Depth\+Stencil\+View $\ast$depth\+Buffer\+View, \mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} width, \mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} height, \mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} fsaa, \mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} multi\+Sample\+Quality, bool \mbox{\hyperlink{group___render_system_ga4a3de78684016598642ad2d00e5caa86}{is\+Manual}})
\item 
\mbox{\hyperlink{class_ogre_1_1_d3_d11_depth_buffer_ab280912d8a6ec47ad1de29ecd0f1f9af}{$\sim$\+D3\+D11\+Depth\+Buffer}} ()
\item 
virtual void \mbox{\hyperlink{group___render_system_ga26c4ce1003ddab1ed7e3befecb0888a1}{\+\_\+notify\+Render\+Target\+Attached}} (\mbox{\hyperlink{class_ogre_1_1_render_target}{Render\+Target}} $\ast$render\+Target)
\begin{DoxyCompactList}\small\item\em Called when a \mbox{\hyperlink{class_ogre_1_1_render_target}{Render\+Target}} is attaches this \mbox{\hyperlink{class_ogre_1_1_depth_buffer}{Depth\+Buffer}}. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{group___render_system_ga227b541ef2ae3de53334c10397a08f99}{\+\_\+notify\+Render\+Target\+Detached}} (\mbox{\hyperlink{class_ogre_1_1_render_target}{Render\+Target}} $\ast$render\+Target)
\begin{DoxyCompactList}\small\item\em Called when a \mbox{\hyperlink{class_ogre_1_1_render_target}{Render\+Target}} is detaches from this \mbox{\hyperlink{class_ogre_1_1_depth_buffer}{Depth\+Buffer}}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_d3_d11_depth_buffer_a028fe21bd20764de8c13862849d07622}{\+\_\+resized}} (I\+D3\+D11\+Depth\+Stencil\+View $\ast$depth\+Buffer\+View, \mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} width, \mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} height)
\begin{DoxyCompactList}\small\item\em internal method, gets called when the renderwindow was resized \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___render_system_ga7af5c611687492846891914dcac303d2}{\+\_\+set\+Pool\+Id}} (\mbox{\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16}} pool\+Id)
\begin{DoxyCompactList}\small\item\em Sets the pool id in which this \mbox{\hyperlink{class_ogre_1_1_depth_buffer}{Depth\+Buffer}} lives. \end{DoxyCompactList}\item 
virtual \mbox{\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16}} \mbox{\hyperlink{group___render_system_ga0da54b20b25ac5313fc8c142e8b35168}{get\+Bit\+Depth}} () const
\item 
I\+D3\+D11\+Depth\+Stencil\+View $\ast$ \mbox{\hyperlink{class_ogre_1_1_d3_d11_depth_buffer_a4f9a848277158894849dfcc7d8eeb183}{get\+Depth\+Stencil\+View}} () const
\item 
\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} \mbox{\hyperlink{group___render_system_ga37ddc9b5fc1fd8c5cf50e1b865d2b2fb}{get\+F\+S\+AA}} () const
\item 
\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} \mbox{\hyperlink{group___render_system_ga242e53843f55de3983e6f070e88c19ae}{get\+Fsaa}} () const
\item 
const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\hyperlink{group___render_system_ga9662342362034428346e0676fb9d1ac7}{get\+F\+S\+A\+A\+Hint}} () const
\item 
const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\hyperlink{group___render_system_ga1b4eca5bc2774b80081a2f5aba90c58c}{get\+Fsaa\+Hint}} () const
\item 
virtual \mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} \mbox{\hyperlink{group___render_system_gaf95e6998e74db40257cb2ca5cab4bdf4}{get\+Height}} () const
\item 
virtual \mbox{\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16}} \mbox{\hyperlink{group___render_system_ga82b30e2ad5de1ac4678fda52ccbaf28f}{get\+Pool\+Id}} () const
\begin{DoxyCompactList}\small\item\em Gets the pool id in which this \mbox{\hyperlink{class_ogre_1_1_depth_buffer}{Depth\+Buffer}} lives. \end{DoxyCompactList}\item 
virtual \mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} \mbox{\hyperlink{group___render_system_gae5095fe367bf95d08dee2da03810beb2}{get\+Width}} () const
\item 
virtual bool \mbox{\hyperlink{class_ogre_1_1_d3_d11_depth_buffer_af61d91ccf324612a7cc95f93cf16c97f}{is\+Compatible}} (\mbox{\hyperlink{class_ogre_1_1_render_target}{Render\+Target}} $\ast$render\+Target) const
\begin{DoxyCompactList}\small\item\em Returns whether the specified \mbox{\hyperlink{class_ogre_1_1_render_target}{Render\+Target}} is compatible with this \mbox{\hyperlink{class_ogre_1_1_depth_buffer}{Depth\+Buffer}} That is, this \mbox{\hyperlink{class_ogre_1_1_depth_buffer}{Depth\+Buffer}} can be attached to that \mbox{\hyperlink{class_ogre_1_1_render_target}{Render\+Target}}. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{group___render_system_ga4a3de78684016598642ad2d00e5caa86}{is\+Manual}} () const
\begin{DoxyCompactList}\small\item\em Manual Depth\+Buffers are cleared in \mbox{\hyperlink{class_ogre_1_1_render_system}{Render\+System}}\textquotesingle{}s destructor. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_d3_d11_depth_buffer_a2354a6cd446662ad3afa6fbdf78bfab2}\label{class_ogre_1_1_d3_d11_depth_buffer_a2354a6cd446662ad3afa6fbdf78bfab2}} 
\index{Ogre::D3D11DepthBuffer@{Ogre::D3D11DepthBuffer}!D3D11DepthBuffer@{D3D11DepthBuffer}}
\index{D3D11DepthBuffer@{D3D11DepthBuffer}!Ogre::D3D11DepthBuffer@{Ogre::D3D11DepthBuffer}}
\doxysubsubsection{\texorpdfstring{D3D11DepthBuffer()}{D3D11DepthBuffer()}}
{\footnotesize\ttfamily Ogre\+::\+D3\+D11\+Depth\+Buffer\+::\+D3\+D11\+Depth\+Buffer (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16}}}]{pool\+Id,  }\item[{\mbox{\hyperlink{class_ogre_1_1_d3_d11_render_system}{D3\+D11\+Render\+System}} $\ast$}]{render\+System,  }\item[{I\+D3\+D11\+Depth\+Stencil\+View $\ast$}]{depth\+Buffer\+View,  }\item[{\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}}}]{width,  }\item[{\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}}}]{height,  }\item[{\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}}}]{fsaa,  }\item[{\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}}}]{multi\+Sample\+Quality,  }\item[{bool}]{is\+Manual }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_ogre_1_1_d3_d11_depth_buffer_ab280912d8a6ec47ad1de29ecd0f1f9af}\label{class_ogre_1_1_d3_d11_depth_buffer_ab280912d8a6ec47ad1de29ecd0f1f9af}} 
\index{Ogre::D3D11DepthBuffer@{Ogre::D3D11DepthBuffer}!````~D3D11DepthBuffer@{$\sim$D3D11DepthBuffer}}
\index{````~D3D11DepthBuffer@{$\sim$D3D11DepthBuffer}!Ogre::D3D11DepthBuffer@{Ogre::D3D11DepthBuffer}}
\doxysubsubsection{\texorpdfstring{$\sim$D3D11DepthBuffer()}{~D3D11DepthBuffer()}}
{\footnotesize\ttfamily Ogre\+::\+D3\+D11\+Depth\+Buffer\+::$\sim$\+D3\+D11\+Depth\+Buffer (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



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



Returns whether the specified \mbox{\hyperlink{class_ogre_1_1_render_target}{Render\+Target}} is compatible with this \mbox{\hyperlink{class_ogre_1_1_depth_buffer}{Depth\+Buffer}} That is, this \mbox{\hyperlink{class_ogre_1_1_depth_buffer}{Depth\+Buffer}} can be attached to that \mbox{\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 \mbox{\hyperlink{group___render_system_gae959f6dd77e0e8b6aa9b7c6a3d2d3f5d}{Ogre\+::\+Depth\+Buffer}}.

\mbox{\Hypertarget{class_ogre_1_1_d3_d11_depth_buffer_a4f9a848277158894849dfcc7d8eeb183}\label{class_ogre_1_1_d3_d11_depth_buffer_a4f9a848277158894849dfcc7d8eeb183}} 
\index{Ogre::D3D11DepthBuffer@{Ogre::D3D11DepthBuffer}!getDepthStencilView@{getDepthStencilView}}
\index{getDepthStencilView@{getDepthStencilView}!Ogre::D3D11DepthBuffer@{Ogre::D3D11DepthBuffer}}
\doxysubsubsection{\texorpdfstring{getDepthStencilView()}{getDepthStencilView()}}
{\footnotesize\ttfamily I\+D3\+D11\+Depth\+Stencil\+View$\ast$ Ogre\+::\+D3\+D11\+Depth\+Buffer\+::get\+Depth\+Stencil\+View (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}

\mbox{\Hypertarget{class_ogre_1_1_d3_d11_depth_buffer_a028fe21bd20764de8c13862849d07622}\label{class_ogre_1_1_d3_d11_depth_buffer_a028fe21bd20764de8c13862849d07622}} 
\index{Ogre::D3D11DepthBuffer@{Ogre::D3D11DepthBuffer}!\_resized@{\_resized}}
\index{\_resized@{\_resized}!Ogre::D3D11DepthBuffer@{Ogre::D3D11DepthBuffer}}
\doxysubsubsection{\texorpdfstring{\_resized()}{\_resized()}}
{\footnotesize\ttfamily void Ogre\+::\+D3\+D11\+Depth\+Buffer\+::\+\_\+resized (\begin{DoxyParamCaption}\item[{I\+D3\+D11\+Depth\+Stencil\+View $\ast$}]{depth\+Buffer\+View,  }\item[{\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}}}]{width,  }\item[{\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}}}]{height }\end{DoxyParamCaption})}



internal method, gets called when the renderwindow was resized 



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