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


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}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_d3_d9_resource_a365b849131099fbb397203fff8eebae6}{D3\+D9\+Resource} ()
\item 
virtual \hyperlink{class_ogre_1_1_d3_d9_resource_a1ecf872a0653d44f6078a57a17fd9eea}{$\sim$\+D3\+D9\+Resource} ()
\item 
virtual void \hyperlink{class_ogre_1_1_d3_d9_resource_ac2b865b0cd4754552c38fd6c6f83064f}{notify\+On\+Device\+Create} (I\+Direct3\+D\+Device9 $\ast$d3d9\+Device)
\item 
virtual void \hyperlink{class_ogre_1_1_d3_d9_resource_a1ceaf6c7f17b55a2dfb818360bb8a97b}{notify\+On\+Device\+Destroy} (I\+Direct3\+D\+Device9 $\ast$d3d9\+Device)
\item 
virtual void \hyperlink{class_ogre_1_1_d3_d9_resource_a8d55f1d5ce61a1b796d8d86dd3c69fdb}{notify\+On\+Device\+Lost} (I\+Direct3\+D\+Device9 $\ast$d3d9\+Device)
\item 
virtual void \hyperlink{class_ogre_1_1_d3_d9_resource_a9008da922e8b8762ac284cc1f08a0749}{notify\+On\+Device\+Reset} (I\+Direct3\+D\+Device9 $\ast$d3d9\+Device)
\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static void \hyperlink{class_ogre_1_1_d3_d9_resource_aa97afae987b0c0f16c3e232a7317fad5}{lock\+Device\+Access} ()
\item 
static void \hyperlink{class_ogre_1_1_d3_d9_resource_a6fc9c0ebe4a4c559b172f25f3b5dc9d8}{unlock\+Device\+Access} ()
\end{DoxyCompactItemize}


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

Provide unified interface to handle various device states. 

\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_d3_d9_resource_a365b849131099fbb397203fff8eebae6}\label{class_ogre_1_1_d3_d9_resource_a365b849131099fbb397203fff8eebae6}} 
\index{Ogre\+::\+D3\+D9\+Resource@{Ogre\+::\+D3\+D9\+Resource}!D3\+D9\+Resource@{D3\+D9\+Resource}}
\index{D3\+D9\+Resource@{D3\+D9\+Resource}!Ogre\+::\+D3\+D9\+Resource@{Ogre\+::\+D3\+D9\+Resource}}
\subsubsection{\texorpdfstring{D3\+D9\+Resource()}{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\+::\+D3\+D9\+Resource@{Ogre\+::\+D3\+D9\+Resource}!````~D3\+D9\+Resource@{$\sim$\+D3\+D9\+Resource}}
\index{````~D3\+D9\+Resource@{$\sim$\+D3\+D9\+Resource}!Ogre\+::\+D3\+D9\+Resource@{Ogre\+::\+D3\+D9\+Resource}}
\subsubsection{\texorpdfstring{$\sim$\+D3\+D9\+Resource()}{~D3D9Resource()}}
{\footnotesize\ttfamily virtual Ogre\+::\+D3\+D9\+Resource\+::$\sim$\+D3\+D9\+Resource (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_d3_d9_resource_ac2b865b0cd4754552c38fd6c6f83064f}\label{class_ogre_1_1_d3_d9_resource_ac2b865b0cd4754552c38fd6c6f83064f}} 
\index{Ogre\+::\+D3\+D9\+Resource@{Ogre\+::\+D3\+D9\+Resource}!notify\+On\+Device\+Create@{notify\+On\+Device\+Create}}
\index{notify\+On\+Device\+Create@{notify\+On\+Device\+Create}!Ogre\+::\+D3\+D9\+Resource@{Ogre\+::\+D3\+D9\+Resource}}
\subsubsection{\texorpdfstring{notify\+On\+Device\+Create()}{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 \hyperlink{class_ogre_1_1_d3_d9_texture_afb69d75b785af9cb8698f310bd0907cc}{Ogre\+::\+D3\+D9\+Texture}, \hyperlink{class_ogre_1_1_d3_d9_gpu_fragment_program_aa1ab1e6ed3e073267ef5a49042e9320c}{Ogre\+::\+D3\+D9\+Gpu\+Fragment\+Program}, \hyperlink{class_ogre_1_1_d3_d9_gpu_vertex_program_ac5600ce345e8dbeda7ba76b6c778ec7d}{Ogre\+::\+D3\+D9\+Gpu\+Vertex\+Program}, \hyperlink{class_ogre_1_1_d3_d9_hardware_occlusion_query_a7b0b0ad594195deeb8e5ef40aaa7bce8}{Ogre\+::\+D3\+D9\+Hardware\+Occlusion\+Query}, \hyperlink{class_ogre_1_1_d3_d9_hardware_index_buffer_a4ca429980801a294cfd1a1d130069a17}{Ogre\+::\+D3\+D9\+Hardware\+Index\+Buffer}, \hyperlink{class_ogre_1_1_d3_d9_hardware_vertex_buffer_a5d8a47914f14a9cdbb82a0cdc376d089}{Ogre\+::\+D3\+D9\+Hardware\+Vertex\+Buffer}, and \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\+::\+D3\+D9\+Resource@{Ogre\+::\+D3\+D9\+Resource}!notify\+On\+Device\+Destroy@{notify\+On\+Device\+Destroy}}
\index{notify\+On\+Device\+Destroy@{notify\+On\+Device\+Destroy}!Ogre\+::\+D3\+D9\+Resource@{Ogre\+::\+D3\+D9\+Resource}}
\subsubsection{\texorpdfstring{notify\+On\+Device\+Destroy()}{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 \hyperlink{class_ogre_1_1_d3_d9_texture_a5c6c0349c15cc698f016fa4fe9e0846b}{Ogre\+::\+D3\+D9\+Texture}, \hyperlink{class_ogre_1_1_d3_d9_gpu_fragment_program_a009e381b04334a97e0a405a292f42c87}{Ogre\+::\+D3\+D9\+Gpu\+Fragment\+Program}, \hyperlink{class_ogre_1_1_d3_d9_gpu_vertex_program_a006fd3fc3c4dc9ade4624525a613afa5}{Ogre\+::\+D3\+D9\+Gpu\+Vertex\+Program}, \hyperlink{class_ogre_1_1_d3_d9_hardware_occlusion_query_a408cfb33ff98feb4f3f0b7941f746614}{Ogre\+::\+D3\+D9\+Hardware\+Occlusion\+Query}, \hyperlink{class_ogre_1_1_d3_d9_hardware_index_buffer_a1b0eff3e5d307580fd3ca069a92555a4}{Ogre\+::\+D3\+D9\+Hardware\+Index\+Buffer}, \hyperlink{class_ogre_1_1_d3_d9_hardware_vertex_buffer_a6186505fded3423ad279e8a9671481d6}{Ogre\+::\+D3\+D9\+Hardware\+Vertex\+Buffer}, and \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\+::\+D3\+D9\+Resource@{Ogre\+::\+D3\+D9\+Resource}!notify\+On\+Device\+Lost@{notify\+On\+Device\+Lost}}
\index{notify\+On\+Device\+Lost@{notify\+On\+Device\+Lost}!Ogre\+::\+D3\+D9\+Resource@{Ogre\+::\+D3\+D9\+Resource}}
\subsubsection{\texorpdfstring{notify\+On\+Device\+Lost()}{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 \hyperlink{class_ogre_1_1_d3_d9_texture_a87c0bc1fea93de0e2cd65fa2dc374fd8}{Ogre\+::\+D3\+D9\+Texture}, \hyperlink{class_ogre_1_1_d3_d9_hardware_occlusion_query_a6dea06e309f77051404ae1e0fb761e39}{Ogre\+::\+D3\+D9\+Hardware\+Occlusion\+Query}, \hyperlink{class_ogre_1_1_d3_d9_hardware_index_buffer_ab23fb340055333aee5801dbabea1fd6d}{Ogre\+::\+D3\+D9\+Hardware\+Index\+Buffer}, and \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\+::\+D3\+D9\+Resource@{Ogre\+::\+D3\+D9\+Resource}!notify\+On\+Device\+Reset@{notify\+On\+Device\+Reset}}
\index{notify\+On\+Device\+Reset@{notify\+On\+Device\+Reset}!Ogre\+::\+D3\+D9\+Resource@{Ogre\+::\+D3\+D9\+Resource}}
\subsubsection{\texorpdfstring{notify\+On\+Device\+Reset()}{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 \hyperlink{class_ogre_1_1_d3_d9_texture_adc3440ed2fd6447de424908e650b86ae}{Ogre\+::\+D3\+D9\+Texture}, \hyperlink{class_ogre_1_1_d3_d9_hardware_occlusion_query_a25a10de153b672d9a7a64278cd57eeae}{Ogre\+::\+D3\+D9\+Hardware\+Occlusion\+Query}, \hyperlink{class_ogre_1_1_d3_d9_hardware_index_buffer_a739f49c9d66d04445cb306cf548fed06}{Ogre\+::\+D3\+D9\+Hardware\+Index\+Buffer}, and \hyperlink{class_ogre_1_1_d3_d9_hardware_vertex_buffer_aa0edb44f392cdaacb8f77acebd16b739}{Ogre\+::\+D3\+D9\+Hardware\+Vertex\+Buffer}.



References O\+G\+R\+E\+\_\+\+S\+T\+A\+T\+I\+C\+\_\+\+M\+U\+T\+EX.

\mbox{\Hypertarget{class_ogre_1_1_d3_d9_resource_aa97afae987b0c0f16c3e232a7317fad5}\label{class_ogre_1_1_d3_d9_resource_aa97afae987b0c0f16c3e232a7317fad5}} 
\index{Ogre\+::\+D3\+D9\+Resource@{Ogre\+::\+D3\+D9\+Resource}!lock\+Device\+Access@{lock\+Device\+Access}}
\index{lock\+Device\+Access@{lock\+Device\+Access}!Ogre\+::\+D3\+D9\+Resource@{Ogre\+::\+D3\+D9\+Resource}}
\subsubsection{\texorpdfstring{lock\+Device\+Access()}{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\+::\+D3\+D9\+Resource@{Ogre\+::\+D3\+D9\+Resource}!unlock\+Device\+Access@{unlock\+Device\+Access}}
\index{unlock\+Device\+Access@{unlock\+Device\+Access}!Ogre\+::\+D3\+D9\+Resource@{Ogre\+::\+D3\+D9\+Resource}}
\subsubsection{\texorpdfstring{unlock\+Device\+Access()}{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 
\hyperlink{_ogre_d3_d9_resource_8h}{Ogre\+D3\+D9\+Resource.\+h}\end{DoxyCompactItemize}
