\hypertarget{class_ogre_1_1_d3_d9_resource}{}\doxysection{Ogre\+::D3\+D9\+Resource Class Reference}
\label{class_ogre_1_1_d3_d9_resource}\index{Ogre::D3D9Resource@{Ogre::D3D9Resource}}


Represents a Direct3D rendering resource.  




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



Inheritance diagram for Ogre\+::D3\+D9\+Resource\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_ogre_1_1_d3_d9_resource__inherit__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_d3_d9_resource_a365b849131099fbb397203fff8eebae6}{D3\+D9\+Resource}} ()
\item 
virtual \mbox{\hyperlink{class_ogre_1_1_d3_d9_resource_a1ecf872a0653d44f6078a57a17fd9eea}{$\sim$\+D3\+D9\+Resource}} ()
\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_d3_d9_resource_ac2b865b0cd4754552c38fd6c6f83064f}{notify\+On\+Device\+Create}} (I\+Direct3\+D\+Device9 $\ast$d3d9\+Device)
\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_d3_d9_resource_a1ceaf6c7f17b55a2dfb818360bb8a97b}{notify\+On\+Device\+Destroy}} (I\+Direct3\+D\+Device9 $\ast$d3d9\+Device)
\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_d3_d9_resource_a8d55f1d5ce61a1b796d8d86dd3c69fdb}{notify\+On\+Device\+Lost}} (I\+Direct3\+D\+Device9 $\ast$d3d9\+Device)
\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_d3_d9_resource_a9008da922e8b8762ac284cc1f08a0749}{notify\+On\+Device\+Reset}} (I\+Direct3\+D\+Device9 $\ast$d3d9\+Device)
\end{DoxyCompactItemize}
\doxysubsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static void \mbox{\hyperlink{class_ogre_1_1_d3_d9_resource_aa97afae987b0c0f16c3e232a7317fad5}{lock\+Device\+Access}} ()
\item 
static void \mbox{\hyperlink{class_ogre_1_1_d3_d9_resource_a6fc9c0ebe4a4c559b172f25f3b5dc9d8}{unlock\+Device\+Access}} ()
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Represents a Direct3D rendering resource. 

Provide unified interface to handle various device states. 

\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_d3_d9_resource_a365b849131099fbb397203fff8eebae6}\label{class_ogre_1_1_d3_d9_resource_a365b849131099fbb397203fff8eebae6}} 
\index{Ogre::D3D9Resource@{Ogre::D3D9Resource}!D3D9Resource@{D3D9Resource}}
\index{D3D9Resource@{D3D9Resource}!Ogre::D3D9Resource@{Ogre::D3D9Resource}}
\doxysubsubsection{\texorpdfstring{D3D9Resource()}{D3D9Resource()}}
{\footnotesize\ttfamily Ogre\+::\+D3\+D9\+Resource\+::\+D3\+D9\+Resource (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_ogre_1_1_d3_d9_resource_a1ecf872a0653d44f6078a57a17fd9eea}\label{class_ogre_1_1_d3_d9_resource_a1ecf872a0653d44f6078a57a17fd9eea}} 
\index{Ogre::D3D9Resource@{Ogre::D3D9Resource}!````~D3D9Resource@{$\sim$D3D9Resource}}
\index{````~D3D9Resource@{$\sim$D3D9Resource}!Ogre::D3D9Resource@{Ogre::D3D9Resource}}
\doxysubsubsection{\texorpdfstring{$\sim$D3D9Resource()}{~D3D9Resource()}}
{\footnotesize\ttfamily virtual Ogre\+::\+D3\+D9\+Resource\+::$\sim$\+D3\+D9\+Resource (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_d3_d9_resource_ac2b865b0cd4754552c38fd6c6f83064f}\label{class_ogre_1_1_d3_d9_resource_ac2b865b0cd4754552c38fd6c6f83064f}} 
\index{Ogre::D3D9Resource@{Ogre::D3D9Resource}!notifyOnDeviceCreate@{notifyOnDeviceCreate}}
\index{notifyOnDeviceCreate@{notifyOnDeviceCreate}!Ogre::D3D9Resource@{Ogre::D3D9Resource}}
\doxysubsubsection{\texorpdfstring{notifyOnDeviceCreate()}{notifyOnDeviceCreate()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+D3\+D9\+Resource\+::notify\+On\+Device\+Create (\begin{DoxyParamCaption}\item[{I\+Direct3\+D\+Device9 $\ast$}]{d3d9\+Device }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Reimplemented in \mbox{\hyperlink{class_ogre_1_1_d3_d9_texture_afb69d75b785af9cb8698f310bd0907cc}{Ogre\+::\+D3\+D9\+Texture}}, \mbox{\hyperlink{class_ogre_1_1_d3_d9_gpu_fragment_program_aa1ab1e6ed3e073267ef5a49042e9320c}{Ogre\+::\+D3\+D9\+Gpu\+Fragment\+Program}}, \mbox{\hyperlink{class_ogre_1_1_d3_d9_gpu_vertex_program_ac5600ce345e8dbeda7ba76b6c778ec7d}{Ogre\+::\+D3\+D9\+Gpu\+Vertex\+Program}}, \mbox{\hyperlink{class_ogre_1_1_d3_d9_hardware_occlusion_query_a7b0b0ad594195deeb8e5ef40aaa7bce8}{Ogre\+::\+D3\+D9\+Hardware\+Occlusion\+Query}}, \mbox{\hyperlink{class_ogre_1_1_d3_d9_hardware_index_buffer_a4ca429980801a294cfd1a1d130069a17}{Ogre\+::\+D3\+D9\+Hardware\+Index\+Buffer}}, \mbox{\hyperlink{class_ogre_1_1_d3_d9_hardware_vertex_buffer_a5d8a47914f14a9cdbb82a0cdc376d089}{Ogre\+::\+D3\+D9\+Hardware\+Vertex\+Buffer}}, and \mbox{\hyperlink{class_ogre_1_1_d3_d9_vertex_declaration_afe9b5394456063cae5b95d512cc54cc0}{Ogre\+::\+D3\+D9\+Vertex\+Declaration}}.

\mbox{\Hypertarget{class_ogre_1_1_d3_d9_resource_a1ceaf6c7f17b55a2dfb818360bb8a97b}\label{class_ogre_1_1_d3_d9_resource_a1ceaf6c7f17b55a2dfb818360bb8a97b}} 
\index{Ogre::D3D9Resource@{Ogre::D3D9Resource}!notifyOnDeviceDestroy@{notifyOnDeviceDestroy}}
\index{notifyOnDeviceDestroy@{notifyOnDeviceDestroy}!Ogre::D3D9Resource@{Ogre::D3D9Resource}}
\doxysubsubsection{\texorpdfstring{notifyOnDeviceDestroy()}{notifyOnDeviceDestroy()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+D3\+D9\+Resource\+::notify\+On\+Device\+Destroy (\begin{DoxyParamCaption}\item[{I\+Direct3\+D\+Device9 $\ast$}]{d3d9\+Device }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Reimplemented in \mbox{\hyperlink{class_ogre_1_1_d3_d9_texture_a5c6c0349c15cc698f016fa4fe9e0846b}{Ogre\+::\+D3\+D9\+Texture}}, \mbox{\hyperlink{class_ogre_1_1_d3_d9_gpu_fragment_program_a009e381b04334a97e0a405a292f42c87}{Ogre\+::\+D3\+D9\+Gpu\+Fragment\+Program}}, \mbox{\hyperlink{class_ogre_1_1_d3_d9_gpu_vertex_program_a006fd3fc3c4dc9ade4624525a613afa5}{Ogre\+::\+D3\+D9\+Gpu\+Vertex\+Program}}, \mbox{\hyperlink{class_ogre_1_1_d3_d9_hardware_occlusion_query_a408cfb33ff98feb4f3f0b7941f746614}{Ogre\+::\+D3\+D9\+Hardware\+Occlusion\+Query}}, \mbox{\hyperlink{class_ogre_1_1_d3_d9_hardware_index_buffer_a1b0eff3e5d307580fd3ca069a92555a4}{Ogre\+::\+D3\+D9\+Hardware\+Index\+Buffer}}, \mbox{\hyperlink{class_ogre_1_1_d3_d9_hardware_vertex_buffer_a6186505fded3423ad279e8a9671481d6}{Ogre\+::\+D3\+D9\+Hardware\+Vertex\+Buffer}}, and \mbox{\hyperlink{class_ogre_1_1_d3_d9_vertex_declaration_a5a91d9a841eca45392494b2444968029}{Ogre\+::\+D3\+D9\+Vertex\+Declaration}}.

\mbox{\Hypertarget{class_ogre_1_1_d3_d9_resource_a8d55f1d5ce61a1b796d8d86dd3c69fdb}\label{class_ogre_1_1_d3_d9_resource_a8d55f1d5ce61a1b796d8d86dd3c69fdb}} 
\index{Ogre::D3D9Resource@{Ogre::D3D9Resource}!notifyOnDeviceLost@{notifyOnDeviceLost}}
\index{notifyOnDeviceLost@{notifyOnDeviceLost}!Ogre::D3D9Resource@{Ogre::D3D9Resource}}
\doxysubsubsection{\texorpdfstring{notifyOnDeviceLost()}{notifyOnDeviceLost()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+D3\+D9\+Resource\+::notify\+On\+Device\+Lost (\begin{DoxyParamCaption}\item[{I\+Direct3\+D\+Device9 $\ast$}]{d3d9\+Device }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Reimplemented in \mbox{\hyperlink{class_ogre_1_1_d3_d9_texture_a87c0bc1fea93de0e2cd65fa2dc374fd8}{Ogre\+::\+D3\+D9\+Texture}}, \mbox{\hyperlink{class_ogre_1_1_d3_d9_hardware_occlusion_query_a6dea06e309f77051404ae1e0fb761e39}{Ogre\+::\+D3\+D9\+Hardware\+Occlusion\+Query}}, \mbox{\hyperlink{class_ogre_1_1_d3_d9_hardware_index_buffer_ab23fb340055333aee5801dbabea1fd6d}{Ogre\+::\+D3\+D9\+Hardware\+Index\+Buffer}}, and \mbox{\hyperlink{class_ogre_1_1_d3_d9_hardware_vertex_buffer_ae3e1077c9d54bb6bcb9f8cdc68da1dd1}{Ogre\+::\+D3\+D9\+Hardware\+Vertex\+Buffer}}.

\mbox{\Hypertarget{class_ogre_1_1_d3_d9_resource_a9008da922e8b8762ac284cc1f08a0749}\label{class_ogre_1_1_d3_d9_resource_a9008da922e8b8762ac284cc1f08a0749}} 
\index{Ogre::D3D9Resource@{Ogre::D3D9Resource}!notifyOnDeviceReset@{notifyOnDeviceReset}}
\index{notifyOnDeviceReset@{notifyOnDeviceReset}!Ogre::D3D9Resource@{Ogre::D3D9Resource}}
\doxysubsubsection{\texorpdfstring{notifyOnDeviceReset()}{notifyOnDeviceReset()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+D3\+D9\+Resource\+::notify\+On\+Device\+Reset (\begin{DoxyParamCaption}\item[{I\+Direct3\+D\+Device9 $\ast$}]{d3d9\+Device }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Reimplemented in \mbox{\hyperlink{class_ogre_1_1_d3_d9_texture_adc3440ed2fd6447de424908e650b86ae}{Ogre\+::\+D3\+D9\+Texture}}, \mbox{\hyperlink{class_ogre_1_1_d3_d9_hardware_occlusion_query_a25a10de153b672d9a7a64278cd57eeae}{Ogre\+::\+D3\+D9\+Hardware\+Occlusion\+Query}}, \mbox{\hyperlink{class_ogre_1_1_d3_d9_hardware_index_buffer_a739f49c9d66d04445cb306cf548fed06}{Ogre\+::\+D3\+D9\+Hardware\+Index\+Buffer}}, and \mbox{\hyperlink{class_ogre_1_1_d3_d9_hardware_vertex_buffer_aa0edb44f392cdaacb8f77acebd16b739}{Ogre\+::\+D3\+D9\+Hardware\+Vertex\+Buffer}}.

\mbox{\Hypertarget{class_ogre_1_1_d3_d9_resource_aa97afae987b0c0f16c3e232a7317fad5}\label{class_ogre_1_1_d3_d9_resource_aa97afae987b0c0f16c3e232a7317fad5}} 
\index{Ogre::D3D9Resource@{Ogre::D3D9Resource}!lockDeviceAccess@{lockDeviceAccess}}
\index{lockDeviceAccess@{lockDeviceAccess}!Ogre::D3D9Resource@{Ogre::D3D9Resource}}
\doxysubsubsection{\texorpdfstring{lockDeviceAccess()}{lockDeviceAccess()}}
{\footnotesize\ttfamily static void Ogre\+::\+D3\+D9\+Resource\+::lock\+Device\+Access (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}

\mbox{\Hypertarget{class_ogre_1_1_d3_d9_resource_a6fc9c0ebe4a4c559b172f25f3b5dc9d8}\label{class_ogre_1_1_d3_d9_resource_a6fc9c0ebe4a4c559b172f25f3b5dc9d8}} 
\index{Ogre::D3D9Resource@{Ogre::D3D9Resource}!unlockDeviceAccess@{unlockDeviceAccess}}
\index{unlockDeviceAccess@{unlockDeviceAccess}!Ogre::D3D9Resource@{Ogre::D3D9Resource}}
\doxysubsubsection{\texorpdfstring{unlockDeviceAccess()}{unlockDeviceAccess()}}
{\footnotesize\ttfamily static void Ogre\+::\+D3\+D9\+Resource\+::unlock\+Device\+Access (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



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