\hypertarget{class_vertex_shader_bump_mapping}{}\section{Vertex\+Shader\+Bump\+Mapping クラス}
\label{class_vertex_shader_bump_mapping}\index{Vertex\+Shader\+Bump\+Mapping@{Vertex\+Shader\+Bump\+Mapping}}


バンプマッピング頂点シェーダー\+Class  




{\ttfamily \#include $<$Vertex\+Shader\+Bump\+Mapping.\+h$>$}



Vertex\+Shader\+Bump\+Mapping 連携図\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=550pt]{class_vertex_shader_bump_mapping__coll__graph}
\end{center}
\end{figure}
\subsection*{公開メンバ関数}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{class_vertex_shader_bump_mapping_a6c0f59d1f29fd883943a66bfe61b6b03}{Init}} ()
\begin{DoxyCompactList}\small\item\em 初期化関数 \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_vertex_shader_bump_mapping_abed4e0aa9655fa7a7a21e03d00e7c0e5}{Uninit}} ()
\begin{DoxyCompactList}\small\item\em 終了関数 \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_vertex_shader_bump_mapping_a29aa8761a52dbd79b7cd3063027e67db}{Object\+Setting}} (\mbox{\hyperlink{class_draw_base}{Draw\+Base}} $\ast$draw, \mbox{\hyperlink{class_camera}{Camera}} $\ast$camera, unsigned object\+\_\+index)
\begin{DoxyCompactList}\small\item\em オブジェクト設定関数 \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_vertex_shader_bump_mapping_aea3347e35f823d5272b4adcd2ca9724a}{Mesh\+Setting}} (\mbox{\hyperlink{class_draw_base}{Draw\+Base}} $\ast$draw, \mbox{\hyperlink{class_camera}{Camera}} $\ast$camera, unsigned object\+\_\+index, unsigned mesh\+\_\+index)
\begin{DoxyCompactList}\small\item\em メッシュ設定関数 \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{静的公開メンバ関数}
\begin{DoxyCompactItemize}
\item 
static void \mbox{\hyperlink{class_vertex_shader_bump_mapping_a659d50e57533b9cd0204fc169985f1e0}{Update\+Mesh\+Declaration}} (\mbox{\hyperlink{class_model_x_object}{Model\+X\+Object}} $\ast$model\+\_\+x)
\begin{DoxyCompactList}\small\item\em 頂点宣言用メッシュ更新関数 \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{非公開変数類}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{_matrix_8h_a032295cd9fb1b711757c90667278e744}{M\+A\+T\+R\+IX}} \mbox{\hyperlink{class_vertex_shader_bump_mapping_a2d2de356dd9f615ed927f8ff315f8ad0}{math\+\_\+matrix\+\_\+}}
\begin{DoxyCompactList}\small\item\em 計算用行列 \end{DoxyCompactList}\item 
I\+Direct3\+D\+Vertex\+Declaration9 $\ast$ \mbox{\hyperlink{class_vertex_shader_bump_mapping_a6e45d81a2a9c8ba7071b7f2686264a49}{declaration\+\_\+object\+\_\+}} = nullptr
\begin{DoxyCompactList}\small\item\em 頂点宣言 \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{静的非公開変数類}
\begin{DoxyCompactItemize}
\item 
static const D3\+D\+V\+E\+R\+T\+E\+X\+E\+L\+E\+M\+E\+N\+T9 \mbox{\hyperlink{class_vertex_shader_bump_mapping_ae4b0d38d68dc86b47ae17693cb214e06}{D\+E\+C\+L\+A\+R\+A\+T\+I\+ON}} \mbox{[}$\,$\mbox{]}
\begin{DoxyCompactList}\small\item\em 頂点宣言 \end{DoxyCompactList}\item 
static const char $\ast$ \mbox{\hyperlink{class_vertex_shader_bump_mapping_aa4b686f9aeb9e327ca79adf5974bc86d}{P\+A\+TH}} = \char`\"{}resource/H\+L\+SL/Effect/Vertex\+Shader/Bump\+Mapping.\+vsh\char`\"{}
\begin{DoxyCompactList}\small\item\em ファイルパス \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{その他の継承メンバ}


\subsection{詳解}
バンプマッピング頂点シェーダー\+Class 

バンプマッピングの頂点シェーダー\+Class 

 Vertex\+Shader\+Bump\+Mapping.\+h の 31 行目に定義があります。



\subsection{関数詳解}
\mbox{\Hypertarget{class_vertex_shader_bump_mapping_a6c0f59d1f29fd883943a66bfe61b6b03}\label{class_vertex_shader_bump_mapping_a6c0f59d1f29fd883943a66bfe61b6b03}} 
\index{Vertex\+Shader\+Bump\+Mapping@{Vertex\+Shader\+Bump\+Mapping}!Init@{Init}}
\index{Init@{Init}!Vertex\+Shader\+Bump\+Mapping@{Vertex\+Shader\+Bump\+Mapping}}
\subsubsection{\texorpdfstring{Init()}{Init()}}
{\footnotesize\ttfamily void Vertex\+Shader\+Bump\+Mapping\+::\+Init (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



初期化関数 


\begin{DoxyParams}{引数}
{\em void} & なし \\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{戻り値}
{\em void} & なし \\
\hline
\end{DoxyRetVals}


\mbox{\hyperlink{class_vertex_shader_null_a4d79b358dab49c840345d74823a16840}{Vertex\+Shader\+Null}}を再実装しています。



 Vertex\+Shader\+Bump\+Mapping.\+cpp の 48 行目に定義があります。

\mbox{\Hypertarget{class_vertex_shader_bump_mapping_aea3347e35f823d5272b4adcd2ca9724a}\label{class_vertex_shader_bump_mapping_aea3347e35f823d5272b4adcd2ca9724a}} 
\index{Vertex\+Shader\+Bump\+Mapping@{Vertex\+Shader\+Bump\+Mapping}!Mesh\+Setting@{Mesh\+Setting}}
\index{Mesh\+Setting@{Mesh\+Setting}!Vertex\+Shader\+Bump\+Mapping@{Vertex\+Shader\+Bump\+Mapping}}
\subsubsection{\texorpdfstring{Mesh\+Setting()}{MeshSetting()}}
{\footnotesize\ttfamily void Vertex\+Shader\+Bump\+Mapping\+::\+Mesh\+Setting (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_draw_base}{Draw\+Base}} $\ast$}]{draw,  }\item[{\mbox{\hyperlink{class_camera}{Camera}} $\ast$}]{camera,  }\item[{unsigned}]{object\+\_\+index,  }\item[{unsigned}]{mesh\+\_\+index }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



メッシュ設定関数 


\begin{DoxyParams}{引数}
{\em $\ast$draw} & 描画基底クラス \\
\hline
{\em $\ast$camera} & カメラ \\
\hline
{\em object\+\_\+index} & 描画オブジェクトインデックス \\
\hline
{\em mesh\+\_\+index} & メッシュインデックス \\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{戻り値}
{\em void} & なし \\
\hline
\end{DoxyRetVals}


\mbox{\hyperlink{class_vertex_shader_null_a7bd853b15ab81cec44f1b6a1ea70a3a9}{Vertex\+Shader\+Null}}を再実装しています。



 Vertex\+Shader\+Bump\+Mapping.\+cpp の 118 行目に定義があります。

\mbox{\Hypertarget{class_vertex_shader_bump_mapping_a29aa8761a52dbd79b7cd3063027e67db}\label{class_vertex_shader_bump_mapping_a29aa8761a52dbd79b7cd3063027e67db}} 
\index{Vertex\+Shader\+Bump\+Mapping@{Vertex\+Shader\+Bump\+Mapping}!Object\+Setting@{Object\+Setting}}
\index{Object\+Setting@{Object\+Setting}!Vertex\+Shader\+Bump\+Mapping@{Vertex\+Shader\+Bump\+Mapping}}
\subsubsection{\texorpdfstring{Object\+Setting()}{ObjectSetting()}}
{\footnotesize\ttfamily void Vertex\+Shader\+Bump\+Mapping\+::\+Object\+Setting (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_draw_base}{Draw\+Base}} $\ast$}]{draw,  }\item[{\mbox{\hyperlink{class_camera}{Camera}} $\ast$}]{camera,  }\item[{unsigned}]{object\+\_\+index }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



オブジェクト設定関数 


\begin{DoxyParams}{引数}
{\em $\ast$draw} & 描画基底クラス \\
\hline
{\em $\ast$camera} & カメラ \\
\hline
{\em object\+\_\+index} & 描画オブジェクトインデックス \\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{戻り値}
{\em void} & なし \\
\hline
\end{DoxyRetVals}


\mbox{\hyperlink{class_vertex_shader_null_aae3231bb3fa5df2578ba89701867ffb3}{Vertex\+Shader\+Null}}を再実装しています。



 Vertex\+Shader\+Bump\+Mapping.\+cpp の 72 行目に定義があります。

\mbox{\Hypertarget{class_vertex_shader_bump_mapping_abed4e0aa9655fa7a7a21e03d00e7c0e5}\label{class_vertex_shader_bump_mapping_abed4e0aa9655fa7a7a21e03d00e7c0e5}} 
\index{Vertex\+Shader\+Bump\+Mapping@{Vertex\+Shader\+Bump\+Mapping}!Uninit@{Uninit}}
\index{Uninit@{Uninit}!Vertex\+Shader\+Bump\+Mapping@{Vertex\+Shader\+Bump\+Mapping}}
\subsubsection{\texorpdfstring{Uninit()}{Uninit()}}
{\footnotesize\ttfamily void Vertex\+Shader\+Bump\+Mapping\+::\+Uninit (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



終了関数 


\begin{DoxyParams}{引数}
{\em void} & なし \\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{戻り値}
{\em void} & なし \\
\hline
\end{DoxyRetVals}


\mbox{\hyperlink{class_vertex_shader_null_adf758f295d2803c6d8bd7e05e461abec}{Vertex\+Shader\+Null}}を再実装しています。



 Vertex\+Shader\+Bump\+Mapping.\+cpp の 62 行目に定義があります。

\mbox{\Hypertarget{class_vertex_shader_bump_mapping_a659d50e57533b9cd0204fc169985f1e0}\label{class_vertex_shader_bump_mapping_a659d50e57533b9cd0204fc169985f1e0}} 
\index{Vertex\+Shader\+Bump\+Mapping@{Vertex\+Shader\+Bump\+Mapping}!Update\+Mesh\+Declaration@{Update\+Mesh\+Declaration}}
\index{Update\+Mesh\+Declaration@{Update\+Mesh\+Declaration}!Vertex\+Shader\+Bump\+Mapping@{Vertex\+Shader\+Bump\+Mapping}}
\subsubsection{\texorpdfstring{Update\+Mesh\+Declaration()}{UpdateMeshDeclaration()}}
{\footnotesize\ttfamily void Vertex\+Shader\+Bump\+Mapping\+::\+Update\+Mesh\+Declaration (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_model_x_object}{Model\+X\+Object}} $\ast$}]{model\+\_\+x }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



頂点宣言用メッシュ更新関数 


\begin{DoxyParams}{引数}
{\em model\+\_\+x} & Xモデルオブジェクト \\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{戻り値}
{\em void} & なし \\
\hline
\end{DoxyRetVals}


 Vertex\+Shader\+Bump\+Mapping.\+cpp の 36 行目に定義があります。



\subsection{メンバ詳解}
\mbox{\Hypertarget{class_vertex_shader_bump_mapping_ae4b0d38d68dc86b47ae17693cb214e06}\label{class_vertex_shader_bump_mapping_ae4b0d38d68dc86b47ae17693cb214e06}} 
\index{Vertex\+Shader\+Bump\+Mapping@{Vertex\+Shader\+Bump\+Mapping}!D\+E\+C\+L\+A\+R\+A\+T\+I\+ON@{D\+E\+C\+L\+A\+R\+A\+T\+I\+ON}}
\index{D\+E\+C\+L\+A\+R\+A\+T\+I\+ON@{D\+E\+C\+L\+A\+R\+A\+T\+I\+ON}!Vertex\+Shader\+Bump\+Mapping@{Vertex\+Shader\+Bump\+Mapping}}
\subsubsection{\texorpdfstring{D\+E\+C\+L\+A\+R\+A\+T\+I\+ON}{DECLARATION}}
{\footnotesize\ttfamily const D3\+D\+V\+E\+R\+T\+E\+X\+E\+L\+E\+M\+E\+N\+T9 Vertex\+Shader\+Bump\+Mapping\+::\+D\+E\+C\+L\+A\+R\+A\+T\+I\+ON\hspace{0.3cm}{\ttfamily [static]}, {\ttfamily [private]}}

{\bfseries 初期値\+:}
\begin{DoxyCode}
=
\{
    \{0,  0, D3DDECLTYPE\_FLOAT3, D3DDECLMETHOD\_DEFAULT, D3DDECLUSAGE\_POSITION, 0\},
    \{0, 12, D3DDECLTYPE\_FLOAT3, D3DDECLMETHOD\_DEFAULT, D3DDECLUSAGE\_NORMAL,   0\},
    \{0, 24, D3DDECLTYPE\_FLOAT3, D3DDECLMETHOD\_DEFAULT, D3DDECLUSAGE\_TANGENT,  0\},
    \{0, 36, D3DDECLTYPE\_FLOAT2, D3DDECLMETHOD\_DEFAULT, D3DDECLUSAGE\_TEXCOORD, 0\},

\}
\end{DoxyCode}


頂点宣言 



 Vertex\+Shader\+Bump\+Mapping.\+h の 37 行目に定義があります。

\mbox{\Hypertarget{class_vertex_shader_bump_mapping_a6e45d81a2a9c8ba7071b7f2686264a49}\label{class_vertex_shader_bump_mapping_a6e45d81a2a9c8ba7071b7f2686264a49}} 
\index{Vertex\+Shader\+Bump\+Mapping@{Vertex\+Shader\+Bump\+Mapping}!declaration\+\_\+object\+\_\+@{declaration\+\_\+object\+\_\+}}
\index{declaration\+\_\+object\+\_\+@{declaration\+\_\+object\+\_\+}!Vertex\+Shader\+Bump\+Mapping@{Vertex\+Shader\+Bump\+Mapping}}
\subsubsection{\texorpdfstring{declaration\+\_\+object\+\_\+}{declaration\_object\_}}
{\footnotesize\ttfamily I\+Direct3\+D\+Vertex\+Declaration9$\ast$ Vertex\+Shader\+Bump\+Mapping\+::declaration\+\_\+object\+\_\+ = nullptr\hspace{0.3cm}{\ttfamily [private]}}



頂点宣言 



 Vertex\+Shader\+Bump\+Mapping.\+h の 59 行目に定義があります。

\mbox{\Hypertarget{class_vertex_shader_bump_mapping_a2d2de356dd9f615ed927f8ff315f8ad0}\label{class_vertex_shader_bump_mapping_a2d2de356dd9f615ed927f8ff315f8ad0}} 
\index{Vertex\+Shader\+Bump\+Mapping@{Vertex\+Shader\+Bump\+Mapping}!math\+\_\+matrix\+\_\+@{math\+\_\+matrix\+\_\+}}
\index{math\+\_\+matrix\+\_\+@{math\+\_\+matrix\+\_\+}!Vertex\+Shader\+Bump\+Mapping@{Vertex\+Shader\+Bump\+Mapping}}
\subsubsection{\texorpdfstring{math\+\_\+matrix\+\_\+}{math\_matrix\_}}
{\footnotesize\ttfamily \mbox{\hyperlink{_matrix_8h_a032295cd9fb1b711757c90667278e744}{M\+A\+T\+R\+IX}} Vertex\+Shader\+Bump\+Mapping\+::math\+\_\+matrix\+\_\+\hspace{0.3cm}{\ttfamily [private]}}



計算用行列 



 Vertex\+Shader\+Bump\+Mapping.\+h の 58 行目に定義があります。

\mbox{\Hypertarget{class_vertex_shader_bump_mapping_aa4b686f9aeb9e327ca79adf5974bc86d}\label{class_vertex_shader_bump_mapping_aa4b686f9aeb9e327ca79adf5974bc86d}} 
\index{Vertex\+Shader\+Bump\+Mapping@{Vertex\+Shader\+Bump\+Mapping}!P\+A\+TH@{P\+A\+TH}}
\index{P\+A\+TH@{P\+A\+TH}!Vertex\+Shader\+Bump\+Mapping@{Vertex\+Shader\+Bump\+Mapping}}
\subsubsection{\texorpdfstring{P\+A\+TH}{PATH}}
{\footnotesize\ttfamily const char $\ast$ Vertex\+Shader\+Bump\+Mapping\+::\+P\+A\+TH = \char`\"{}resource/H\+L\+SL/Effect/Vertex\+Shader/Bump\+Mapping.\+vsh\char`\"{}\hspace{0.3cm}{\ttfamily [static]}, {\ttfamily [private]}}



ファイルパス 



 Vertex\+Shader\+Bump\+Mapping.\+h の 38 行目に定義があります。



このクラス詳解は次のファイルから抽出されました\+:\begin{DoxyCompactItemize}
\item 
C\+:/\+H\+A\+L/\+P\+G関係/03\+\_\+作成プログラム/03\+\_\+\+H\+A\+L授業/就職作品/\+Project/source/\+Framework/\+Game\+Engine/\+Draw/\+Draw\+Manager/\+Shader/\+Vertex\+Shader/\mbox{\hyperlink{_vertex_shader_bump_mapping_8h}{Vertex\+Shader\+Bump\+Mapping.\+h}}\item 
C\+:/\+H\+A\+L/\+P\+G関係/03\+\_\+作成プログラム/03\+\_\+\+H\+A\+L授業/就職作品/\+Project/source/\+Framework/\+Game\+Engine/\+Draw/\+Draw\+Manager/\+Shader/\+Vertex\+Shader/\+Source/\mbox{\hyperlink{_vertex_shader_bump_mapping_8cpp}{Vertex\+Shader\+Bump\+Mapping.\+cpp}}\end{DoxyCompactItemize}
