\hypertarget{group__Evas__3D__Material}{}\section{Material Object}
\label{group__Evas__3D__Material}\index{Material Object@{Material Object}}


A material object represents properties of surfaces.  


\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef \hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo} \hyperlink{group__Evas__3D__Material_gad8f420b74bb0981283eada646231e21d}{Evas\+\_\+3\+D\+\_\+\+Material}
\begin{DoxyCompactList}\small\item\em Material object handle. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
E\+O\+A\+P\+I void \hyperlink{group__Evas__3D__Material_gabe446dc2261d726f1a67af23e053dd84}{evas\+\_\+3d\+\_\+material\+\_\+texture\+\_\+set} (\hyperlink{group__Evas__3D__Types_ga921231ab8757b87cff251326db89084a}{Evas\+\_\+3\+D\+\_\+\+Material\+\_\+\+Attrib} attrib, \hyperlink{group__Evas__3D__Texture_ga521c08531a0e8b320324061d8bb3fd60}{Evas\+\_\+3\+D\+\_\+\+Texture} $\ast$texture)
\begin{DoxyCompactList}\small\item\em Set the texture of the given material. \end{DoxyCompactList}\item 
void \hyperlink{group__Evas__3D__Material_gacfd02768370652f29f7c6bf86243b84b}{evas\+\_\+3d\+\_\+material\+::texture\+\_\+set} (\hyperlink{group__Evas__3D__Types_ga921231ab8757b87cff251326db89084a}{Evas\+\_\+3\+D\+\_\+\+Material\+\_\+\+Attrib} attrib\+\_\+, \hyperlink{group__Evas__3D__Texture_ga521c08531a0e8b320324061d8bb3fd60}{Evas\+\_\+3\+D\+\_\+\+Texture} $\ast$texture\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Set the texture of the given material. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
A material object represents properties of surfaces. 

Evas 3\+D defines the properties with 5 material attributes, ambient, diffuse, specular emission and normal. Each attribute have its color value and texture map. Materials are used to determine the color of mesh surfaces. 

\subsection{Typedef Documentation}
\hypertarget{group__Evas__3D__Material_gad8f420b74bb0981283eada646231e21d}{}\index{Material Object@{Material Object}!Evas\+\_\+3\+D\+\_\+\+Material@{Evas\+\_\+3\+D\+\_\+\+Material}}
\index{Evas\+\_\+3\+D\+\_\+\+Material@{Evas\+\_\+3\+D\+\_\+\+Material}!Material Object@{Material Object}}
\subsubsection[{Evas\+\_\+3\+D\+\_\+\+Material}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Evas\+\_\+3\+D\+\_\+\+Material}}\label{group__Evas__3D__Material_gad8f420b74bb0981283eada646231e21d}


Material object handle. 

\begin{DoxySince}{Since}
1.\+10 
\end{DoxySince}


\subsection{Function Documentation}
\hypertarget{group__Evas__3D__Material_gabe446dc2261d726f1a67af23e053dd84}{}\index{Material Object@{Material Object}!evas\+\_\+3d\+\_\+material\+\_\+texture\+\_\+set@{evas\+\_\+3d\+\_\+material\+\_\+texture\+\_\+set}}
\index{evas\+\_\+3d\+\_\+material\+\_\+texture\+\_\+set@{evas\+\_\+3d\+\_\+material\+\_\+texture\+\_\+set}!Material Object@{Material Object}}
\subsubsection[{evas\+\_\+3d\+\_\+material\+\_\+texture\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}E\+O\+A\+P\+I void evas\+\_\+3d\+\_\+material\+\_\+texture\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+3\+D\+\_\+\+Material\+\_\+\+Attrib}}]{attrib, }
\item[{{\bf Evas\+\_\+3\+D\+\_\+\+Texture} $\ast$}]{texture}
\end{DoxyParamCaption}
)}\label{group__Evas__3D__Material_gabe446dc2261d726f1a67af23e053dd84}


Set the texture of the given material. 

You have to enable the desired attribute first.

\begin{DoxySeeAlso}{See also}
evas\+\_\+3d\+\_\+material\+\_\+enable\+\_\+set()
\end{DoxySeeAlso}

\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em attrib} & Material attribute I\+D. \\
\hline
\mbox{\tt in}  & {\em texture} & No description supplied. \\
\hline
\end{DoxyParams}
\hypertarget{group__Evas__3D__Material_gacfd02768370652f29f7c6bf86243b84b}{}\index{Material Object@{Material Object}!texture\+\_\+set@{texture\+\_\+set}}
\index{texture\+\_\+set@{texture\+\_\+set}!Material Object@{Material Object}}
\subsubsection[{texture\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void evas\+\_\+3d\+\_\+material\+::texture\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+3\+D\+\_\+\+Material\+\_\+\+Attrib}}]{attrib\+\_\+, }
\item[{{\bf Evas\+\_\+3\+D\+\_\+\+Texture} $\ast$}]{texture\+\_\+}
\end{DoxyParamCaption}
) const}\label{group__Evas__3D__Material_gacfd02768370652f29f7c6bf86243b84b}


Set the texture of the given material. 

You have to enable the desired attribute first.

\begin{DoxySeeAlso}{See also}
evas\+\_\+3d\+\_\+material\+\_\+enable\+\_\+set()
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em texture} & \\
\hline
\end{DoxyParams}
