Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

HTML
<style>/* The standard CSS for doxygen 1.8.14 */

body, table, div, p, dl {
	font: 400 14px/22px Roboto,sans-serif;
}

p.reference, p.definition {
	font: 400 14px/22px Roboto,sans-serif;
}

/* @group Heading Levels */

h1.groupheader {
	font-size: 150%;
}

.title {
	font: 400 14px/28px Roboto,sans-serif;
	font-size: 150%;
	font-weight: bold;
	margin: 10px 2px;
}

h2.groupheader {
	border-bottom: 1px solid #879ECB;
	color: #354C7B;
	font-size: 150%;
	font-weight: normal;
	margin-top: 1.75em;
	padding-top: 8px;
	padding-bottom: 4px;
	width: 100%;
}

h3.groupheader {
	font-size: 100%;
}

h1, h2, h3, h4, h5, h6 {
	-webkit-transition: text-shadow 0.5s linear;
	-moz-transition: text-shadow 0.5s linear;
	-ms-transition: text-shadow 0.5s linear;
	-o-transition: text-shadow 0.5s linear;
	transition: text-shadow 0.5s linear;
	margin-right: 15px;
}

h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow {
	text-shadow: 0 0 15px cyan;
}

dt {
	font-weight: bold;
}

div.multicol {
	-moz-column-gap: 1em;
	-webkit-column-gap: 1em;
	-moz-column-count: 3;
	-webkit-column-count: 3;
}

p.startli, p.startdd {
	margin-top: 2px;
}

p.starttd {
	margin-top: 0px;
}

p.endli {
	margin-bottom: 0px;
}

p.enddd {
	margin-bottom: 4px;
}

p.endtd {
	margin-bottom: 2px;
}

/* @end */

caption {
	font-weight: bold;
}

span.legend {
        font-size: 70%;
        text-align: center;
}

h3.version {
        font-size: 90%;
        text-align: center;
}

div.qindex, div.navtab{
	background-color: #EBEFF6;
	border: 1px solid #A3B4D7;
	text-align: center;
}

div.qindex, div.navpath {
	width: 100%;
	line-height: 140%;
}

div.navtab {
	margin-right: 15px;
}

/* @group Link Styling */

a {
	color: #3D578C;
	font-weight: normal;
	text-decoration: none;
}

.contents a:visited {
	color: #4665A2;
}

a:hover {
	text-decoration: underline;
}

a.qindex {
	font-weight: bold;
}

a.qindexHL {
	font-weight: bold;
	background-color: #9CAFD4;
	color: #ffffff;
	border: 1px double #869DCA;
}

.contents a.qindexHL:visited {
        color: #ffffff;
}

a.el {
	font-weight: bold;
}

a.elRef {
}

a.code, a.code:visited, a.line, a.line:visited {
	color: #4665A2; 
}

a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef:visited {
	color: #4665A2; 
}

/* @end */

dl.el {
	margin-left: -1cm;
}

pre.fragment {
        border: 1px solid #C4CFE5;
        background-color: #FBFCFD;
        padding: 4px 6px;
        margin: 4px 8px 4px 2px;
        overflow: auto;
        word-wrap: break-word;
        font-size:  9pt;
        line-height: 125%;
        font-family: monospace, fixed;
        font-size: 105%;
}

div.fragment {
        padding: 0px;
        margin: 4px 8px 4px 2px;
	background-color: #FBFCFD;
	border: 1px solid #C4CFE5;
}

div.line {
	font-family: monospace, fixed;
        font-size: 13px;
	min-height: 13px;
	line-height: 1.0;
	text-wrap: unrestricted;
	white-space: -moz-pre-wrap; /* Moz */
	white-space: -pre-wrap;     /* Opera 4-6 */
	white-space: -o-pre-wrap;   /* Opera 7 */
	white-space: pre-wrap;      /* CSS3  */
	word-wrap: break-word;      /* IE 5.5+ */
	text-indent: -53px;
	padding-left: 53px;
	padding-bottom: 0px;
	margin: 0px;
	-webkit-transition-property: background-color, box-shadow;
	-webkit-transition-duration: 0.5s;
	-moz-transition-property: background-color, box-shadow;
	-moz-transition-duration: 0.5s;
	-ms-transition-property: background-color, box-shadow;
	-ms-transition-duration: 0.5s;
	-o-transition-property: background-color, box-shadow;
	-o-transition-duration: 0.5s;
	transition-property: background-color, box-shadow;
	transition-duration: 0.5s;
}

div.line:after {
    content:"\000A";
    white-space: pre;
}

div.line.glow {
	background-color: cyan;
	box-shadow: 0 0 10px cyan;
}


span.lineno {
	padding-right: 4px;
	text-align: right;
	border-right: 2px solid #0F0;
	background-color: #E8E8E8;
        white-space: pre;
}
span.lineno a {
	background-color: #D8D8D8;
}

span.lineno a:hover {
	background-color: #C8C8C8;
}

.lineno {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

div.ah, span.ah {
	background-color: black;
	font-weight: bold;
	color: #ffffff;
	margin-bottom: 3px;
	margin-top: 3px;
	padding: 0.2em;
	border: solid thin #333;
	border-radius: 0.5em;
	-webkit-border-radius: .5em;
	-moz-border-radius: .5em;
	box-shadow: 2px 2px 3px #999;
	-webkit-box-shadow: 2px 2px 3px #999;
	-moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444));
	background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000 110%);
}

div.classindex ul {
        list-style: none;
        padding-left: 0;
}

div.classindex span.ai {
        display: inline-block;
}

div.groupHeader {
	margin-left: 16px;
	margin-top: 12px;
	font-weight: bold;
}

div.groupText {
	margin-left: 16px;
	font-style: italic;
}

body {
	background-color: white;
	color: black;
        margin: 0;
}

div.contents {
	margin-top: 10px;
	margin-left: 12px;
	margin-right: 8px;
}

td.indexkey {
	background-color: #EBEFF6;
	font-weight: bold;
	border: 1px solid #C4CFE5;
	margin: 2px 0px 2px 0;
	padding: 2px 10px;
        white-space: nowrap;
        vertical-align: top;
}

td.indexvalue {
	background-color: #EBEFF6;
	border: 1px solid #C4CFE5;
	padding: 2px 10px;
	margin: 2px 0px;
}

tr.memlist {
	background-color: #EEF1F7;
}

p.formulaDsp {
	text-align: center;
}

img.formulaDsp {
	
}

img.formulaInl {
	vertical-align: middle;
}

div.center {
	text-align: center;
        margin-top: 0px;
        margin-bottom: 0px;
        padding: 0px;
}

div.center img {
	border: 0px;
}

address.footer {
	text-align: right;
	padding-right: 12px;
}

img.footer {
	border: 0px;
	vertical-align: middle;
}

/* @group Code Colorization */

span.keyword {
	color: #008000
}

span.keywordtype {
	color: #604020
}

span.keywordflow {
	color: #e08000
}

span.comment {
	color: #800000
}

span.preprocessor {
	color: #806020
}

span.stringliteral {
	color: #002080
}

span.charliteral {
	color: #008080
}

span.vhdldigit { 
	color: #ff00ff 
}

span.vhdlchar { 
	color: #000000 
}

span.vhdlkeyword { 
	color: #700070 
}

span.vhdllogic { 
	color: #ff0000 
}

blockquote {
        background-color: #F7F8FB;
        border-left: 2px solid #9CAFD4;
        margin: 0 24px 0 4px;
        padding: 0 12px 0 16px;
}

/* @end */

/*
.search {
	color: #003399;
	font-weight: bold;
}

form.search {
	margin-bottom: 0px;
	margin-top: 0px;
}

input.search {
	font-size: 75%;
	color: #000080;
	font-weight: normal;
	background-color: #e8eef2;
}
*/

td.tiny {
	font-size: 75%;
}

.dirtab {
	padding: 4px;
	border-collapse: collapse;
	border: 1px solid #A3B4D7;
}

th.dirtab {
	background: #EBEFF6;
	font-weight: bold;
}

hr {
	height: 0px;
	border: none;
	border-top: 1px solid #4A6AAA;
}

hr.footer {
	height: 1px;
}

/* @group Member Descriptions */

table.memberdecls {
	border-spacing: 0px;
	padding: 0px;
}

.memberdecls td, .fieldtable tr {
	-webkit-transition-property: background-color, box-shadow;
	-webkit-transition-duration: 0.5s;
	-moz-transition-property: background-color, box-shadow;
	-moz-transition-duration: 0.5s;
	-ms-transition-property: background-color, box-shadow;
	-ms-transition-duration: 0.5s;
	-o-transition-property: background-color, box-shadow;
	-o-transition-duration: 0.5s;
	transition-property: background-color, box-shadow;
	transition-duration: 0.5s;
}

.memberdecls td.glow, .fieldtable tr.glow {
	background-color: cyan;
	box-shadow: 0 0 15px cyan;
}

.mdescLeft, .mdescRight,
.memItemLeft, .memItemRight,
.memTemplItemLeft, .memTemplItemRight, .memTemplParams {
	background-color: #F9FAFC;
	border: none;
	margin: 4px;
	padding: 1px 0 0 8px;
}

.mdescLeft, .mdescRight {
	padding: 0px 8px 4px 8px;
	color: #555;
}

.memSeparator {
        border-bottom: 1px solid #DEE4F0;
        line-height: 1px;
        margin: 0px;
        padding: 0px;
}

.memItemLeft, .memTemplItemLeft {
        white-space: nowrap;
}

.memItemRight {
	width: 100%;
}

.memTemplParams {
	color: #4665A2;
        white-space: nowrap;
	font-size: 80%;
}

/* @end */

/* @group Member Details */

/* Styles for detailed member documentation */

.memtitle {
	padding: 8px;
	border-top: 1px solid #A8B8D9;
	border-left: 1px solid #A8B8D9;
	border-right: 1px solid #A8B8D9;
	border-top-right-radius: 4px;
	border-top-left-radius: 4px;
	margin-bottom: -1px;
	background-image: url('nav_f.png');
	background-repeat: repeat-x;
	background-color: #E2E8F2;
	line-height: 1.25;
	font-weight: 300;
	float:left;
}

.permalink
{
        font-size: 65%;
        display: inline-block;
        vertical-align: middle;
}

.memtemplate {
	font-size: 80%;
	color: #4665A2;
	font-weight: normal;
	margin-left: 9px;
}

.memnav {
	background-color: #EBEFF6;
	border: 1px solid #A3B4D7;
	text-align: center;
	margin: 2px;
	margin-right: 15px;
	padding: 2px;
}

.mempage {
	width: 100%;
}

.memitem {
	padding: 0;
	margin-bottom: 10px;
	margin-right: 5px;
        -webkit-transition: box-shadow 0.5s linear;
        -moz-transition: box-shadow 0.5s linear;
        -ms-transition: box-shadow 0.5s linear;
        -o-transition: box-shadow 0.5s linear;
        transition: box-shadow 0.5s linear;
        display: table !important;
        width: 100%;
}

.memitem.glow {
         box-shadow: 0 0 15px cyan;
}

.memname {
        font-weight: 400;
        margin-left: 6px;
}

.memname td {
	vertical-align: bottom;
}

.memproto, dl.reflist dt {
        border-top: 1px solid #A8B8D9;
        border-left: 1px solid #A8B8D9;
        border-right: 1px solid #A8B8D9;
        padding: 6px 0px 6px 0px;
        color: #253555;
        font-weight: bold;
        text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9);
        background-color: #DFE5F1;
        /* opera specific markup */
        box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
        border-top-right-radius: 4px;
        /* firefox specific markup */
        -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px;
        -moz-border-radius-topright: 4px;
        /* webkit specific markup */
        -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
        -webkit-border-top-right-radius: 4px;

}

.overload {
        font-family: "courier new",courier,monospace;
	font-size: 65%;
}

.memdoc, dl.reflist dd {
        border-bottom: 1px solid #A8B8D9;      
        border-left: 1px solid #A8B8D9;      
        border-right: 1px solid #A8B8D9; 
        padding: 6px 10px 2px 10px;
        background-color: #FBFCFD;
        border-top-width: 0;
        background-image:url('nav_g.png');
        background-repeat:repeat-x;
        background-color: #FFFFFF;
        /* opera specific markup */
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
        box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
        /* firefox specific markup */
        -moz-border-radius-bottomleft: 4px;
        -moz-border-radius-bottomright: 4px;
        -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px;
        /* webkit specific markup */
        -webkit-border-bottom-left-radius: 4px;
        -webkit-border-bottom-right-radius: 4px;
        -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
}

dl.reflist dt {
        padding: 5px;
}

dl.reflist dd {
        margin: 0px 0px 10px 0px;
        padding: 5px;
}

.paramkey {
	text-align: right;
}

.paramtype {
	white-space: nowrap;
}

.paramname {
	color: #602020;
	white-space: nowrap;
}
.paramname em {
	font-style: normal;
}
.paramname code {
        line-height: 14px;
}

.params, .retval, .exception, .tparams {
        margin-left: 0px;
        padding-left: 0px;
}       

.params .paramname, .retval .paramname {
        font-weight: bold;
        vertical-align: top;
}
        
.params .paramtype {
        font-style: italic;
        vertical-align: top;
}       
        
.params .paramdir {
        font-family: "courier new",courier,monospace;
        vertical-align: top;
}

table.mlabels {
	border-spacing: 0px;
}

td.mlabels-left {
	width: 100%;
	padding: 0px;
}

td.mlabels-right {
	vertical-align: bottom;
	padding: 0px;
	white-space: nowrap;
}

span.mlabels {
        margin-left: 8px;
}

span.mlabel {
        background-color: #728DC1;
        border-top:1px solid #5373B4;
        border-left:1px solid #5373B4;
        border-right:1px solid #C4CFE5;
        border-bottom:1px solid #C4CFE5;
	text-shadow: none;
	color: white;
	margin-right: 4px;
	padding: 2px 3px;
	border-radius: 3px;
	font-size: 7pt;
	white-space: nowrap;
	vertical-align: middle;
}



/* @end */

/* these are for tree view inside a (index) page */

div.directory {
        margin: 10px 0px;
        border-top: 1px solid #9CAFD4;
        border-bottom: 1px solid #9CAFD4;
        width: 100%;
}

.directory table {
        border-collapse:collapse;
}

.directory td {
        margin: 0px;
        padding: 0px;
	vertical-align: top;
}

.directory td.entry {
        white-space: nowrap;
        padding-right: 6px;
	padding-top: 3px;
}

.directory td.entry a {
        outline:none;
}

.directory td.entry a img {
        border: none;
}

.directory td.desc {
        width: 100%;
        padding-left: 6px;
	padding-right: 6px;
	padding-top: 3px;
	border-left: 1px solid rgba(0,0,0,0.05);
}

.directory tr.even {
	padding-left: 6px;
	background-color: #F7F8FB;
}

.directory img {
	vertical-align: -30%;
}

.directory .levels {
        white-space: nowrap;
        width: 100%;
        text-align: right;
        font-size: 9pt;
}

.directory .levels span {
        cursor: pointer;
        padding-left: 2px;
        padding-right: 2px;
	color: #3D578C;
}

.arrow {
    color: #9CAFD4;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
    font-size: 80%;
    display: inline-block;
    width: 16px;
    height: 22px;
}

.icon {
    font-family: Arial, Helvetica;
    font-weight: bold;
    font-size: 12px;
    height: 14px;
    width: 16px;
    display: inline-block;
    background-color: #728DC1;
    color: white;
    text-align: center;
    border-radius: 4px;
    margin-left: 2px;
    margin-right: 2px;
}

.icona {
    width: 24px;
    height: 22px;
    display: inline-block;
}

.iconfopen {
    width: 24px;
    height: 18px;
    margin-bottom: 4px;
    background-image:url('folderopen.png');
    background-position: 0px -4px;
    background-repeat: repeat-y;
    vertical-align:top;
    display: inline-block;
}

.iconfclosed {
    width: 24px;
    height: 18px;
    margin-bottom: 4px;
    background-image:url('folderclosed.png');
    background-position: 0px -4px;
    background-repeat: repeat-y;
    vertical-align:top;
    display: inline-block;
}

.icondoc {
    width: 24px;
    height: 18px;
    margin-bottom: 4px;
    background-image:url('doc.png');
    background-position: 0px -4px;
    background-repeat: repeat-y;
    vertical-align:top;
    display: inline-block;
}

table.directory {
    font: 400 14px Roboto,sans-serif;
}

/* @end */

div.dynheader {
        margin-top: 8px;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

address {
	font-style: normal;
	color: #2A3D61;
}

table.doxtable caption {
	caption-side: top;
}

table.doxtable {
	border-collapse:collapse;
        margin-top: 4px;
        margin-bottom: 4px;
}

table.doxtable td, table.doxtable th {
	border: 1px solid #2D4068;
	padding: 3px 7px 2px;
}

table.doxtable th {
	background-color: #374F7F;
	color: #FFFFFF;
	font-size: 110%;
	padding-bottom: 4px;
	padding-top: 5px;
}

table.fieldtable {
        /*width: 100%;*/
        margin-bottom: 10px;
        border: 1px solid #A8B8D9;
        border-spacing: 0px;
        -moz-border-radius: 4px;
        -webkit-border-radius: 4px;
        border-radius: 4px;
        -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px;
        -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15);
        box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15);
}

.fieldtable td, .fieldtable th {
        padding: 3px 7px 2px;
}

.fieldtable td.fieldtype, .fieldtable td.fieldname {
        white-space: nowrap;
        border-right: 1px solid #A8B8D9;
        border-bottom: 1px solid #A8B8D9;
        vertical-align: top;
}

.fieldtable td.fieldname {
        padding-top: 3px;
}

.fieldtable td.fielddoc {
        border-bottom: 1px solid #A8B8D9;
        /*width: 100%;*/
}

.fieldtable td.fielddoc p:first-child {
        margin-top: 0px;
}       
        
.fieldtable td.fielddoc p:last-child {
        margin-bottom: 2px;
}

.fieldtable tr:last-child td {
        border-bottom: none;
}

.fieldtable th {
        background-image:url('nav_f.png');
        background-repeat:repeat-x;
        background-color: #E2E8F2;
        font-size: 90%;
        color: #253555;
        padding-bottom: 4px;
        padding-top: 5px;
        text-align:left;
        font-weight: 400;
        -moz-border-radius-topleft: 4px;
        -moz-border-radius-topright: 4px;
        -webkit-border-top-left-radius: 4px;
        -webkit-border-top-right-radius: 4px;
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
        border-bottom: 1px solid #A8B8D9;
}


.tabsearch {
	top: 0px;
	left: 10px;
	height: 36px;
	background-image: url('tab_b.png');
	z-index: 101;
	overflow: hidden;
	font-size: 13px;
}

.navpath ul
{
	font-size: 11px;
	background-image:url('tab_b.png');
	background-repeat:repeat-x;
	background-position: 0 -5px;
	height:30px;
	line-height:30px;
	color:#8AA0CC;
	border:solid 1px #C2CDE4;
	overflow:hidden;
	margin:0px;
	padding:0px;
}

.navpath li
{
	list-style-type:none;
	float:left;
	padding-left:10px;
	padding-right:15px;
	background-image:url('bc_s.png');
	background-repeat:no-repeat;
	background-position:right;
	color:#364D7C;
}

.navpath li.navelem a
{
	height:32px;
	display:block;
	text-decoration: none;
	outline: none;
	color: #283A5D;
	font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif;
	text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9);
	text-decoration: none;        
}

.navpath li.navelem a:hover
{
	color:#6884BD;
}

.navpath li.footer
{
        list-style-type:none;
        float:right;
        padding-left:10px;
        padding-right:15px;
        background-image:none;
        background-repeat:no-repeat;
        background-position:right;
        color:#364D7C;
        font-size: 8pt;
}


div.summary
{
	float: right;
	font-size: 8pt;
	padding-right: 5px;
	width: 50%;
	text-align: right;
}       

div.summary a
{
	white-space: nowrap;
}

table.classindex
{
        margin: 10px;
        white-space: nowrap;
        margin-left: 3%;
        margin-right: 3%;
        width: 94%;
        border: 0;
        border-spacing: 0; 
        padding: 0;
}

div.ingroups
{
	font-size: 8pt;
	width: 50%;
	text-align: left;
}

div.ingroups a
{
	white-space: nowrap;
}

div.header
{
        background-image:url('nav_h.png');
        background-repeat:repeat-x;
	background-color: #F9FAFC;
	margin:  0px;
	border-bottom: 1px solid #C4CFE5;
}

div.headertitle
{
	padding: 5px 5px 5px 10px;
}

dl
{
        padding: 0 0 0 10px;
}

/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug */
dl.section
{
	margin-left: 0px;
	padding-left: 0px;
}

dl.note
{
        margin-left:-7px;
        padding-left: 3px;
        border-left:4px solid;
        border-color: #D0C000;
}

dl.warning, dl.attention
{
        margin-left:-7px;
        padding-left: 3px;
        border-left:4px solid;
        border-color: #FF0000;
}

dl.pre, dl.post, dl.invariant
{
        margin-left:-7px;
        padding-left: 3px;
        border-left:4px solid;
        border-color: #00D000;
}

dl.deprecated
{
        margin-left:-7px;
        padding-left: 3px;
        border-left:4px solid;
        border-color: #505050;
}

dl.todo
{
        margin-left:-7px;
        padding-left: 3px;
        border-left:4px solid;
        border-color: #00C0E0;
}

dl.test
{
        margin-left:-7px;
        padding-left: 3px;
        border-left:4px solid;
        border-color: #3030E0;
}

dl.bug
{
        margin-left:-7px;
        padding-left: 3px;
        border-left:4px solid;
        border-color: #C08050;
}

dl.section dd {
	margin-bottom: 6px;
}


#projectlogo
{
	text-align: center;
	vertical-align: bottom;
	border-collapse: separate;
}
 
#projectlogo img
{ 
	border: 0px none;
}
 
#projectalign
{
        vertical-align: middle;
}

#projectname
{
	font: 300% Tahoma, Arial,sans-serif;
	margin: 0px;
	padding: 2px 0px;
}
    
#projectbrief
{
	font: 120% Tahoma, Arial,sans-serif;
	margin: 0px;
	padding: 0px;
}

#projectnumber
{
	font: 50% Tahoma, Arial,sans-serif;
	margin: 0px;
	padding: 0px;
}

#titlearea
{
	padding: 0px;
	margin: 0px;
	width: 100%;
	border-bottom: 1px solid #5373B4;
}

.image
{
        text-align: center;
}

.dotgraph
{
        text-align: center;
}

.mscgraph
{
        text-align: center;
}

.plantumlgraph
{
        text-align: center;
}

.diagraph
{
        text-align: center;
}

.caption
{
	font-weight: bold;
}

div.zoom
{
	border: 1px solid #90A5CE;
}

dl.citelist {
        margin-bottom:50px;
}

dl.citelist dt {
        color:#334975;
        float:left;
        font-weight:bold;
        margin-right:10px;
        padding:5px;
}

dl.citelist dd {
        margin:2px 0;
        padding:5px 0;
}

div.toc {
        padding: 14px 25px;
        background-color: #F4F6FA;
        border: 1px solid #D8DFEE;
        border-radius: 7px 7px 7px 7px;
        float: right;
        height: auto;
        margin: 0 8px 10px 10px;
        width: 200px;
}

div.toc li {
        background: url("bdwn.png") no-repeat scroll 0 5px transparent;
        font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif;
        margin-top: 5px;
        padding-left: 10px;
        padding-top: 2px;
}

div.toc h3 {
        font: bold 12px/1.2 Arial,FreeSans,sans-serif;
	color: #4665A2;
        border-bottom: 0 none;
        margin: 0;
}

div.toc ul {
        list-style: none outside none;
        border: medium none;
        padding: 0px;
}       

div.toc li.level1 {
        margin-left: 0px;
}

div.toc li.level2 {
        margin-left: 15px;
}

div.toc li.level3 {
        margin-left: 30px;
}

div.toc li.level4 {
        margin-left: 45px;
}

.inherit_header {
        font-weight: bold;
        color: gray;
        cursor: pointer;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.inherit_header td {
        padding: 6px 0px 2px 5px;
}

.inherit {
        display: none;
}

tr.heading h2 {
        margin-top: 12px;
        margin-bottom: 4px;
}

/* tooltip related style info */

.ttc {
        position: absolute;
        display: none;
}

#powerTip {
	cursor: default;
	white-space: nowrap;
	background-color: white;
	border: 1px solid gray;
	border-radius: 4px 4px 4px 4px;
	box-shadow: 1px 1px 7px gray;
	display: none;
	font-size: smaller;
	max-width: 80%;
	opacity: 0.9;
	padding: 1ex 1em 1em;
	position: absolute;
	z-index: 2147483647;
}

#powerTip div.ttdoc {
        color: grey;
	font-style: italic;
}

#powerTip div.ttname a {
        font-weight: bold;
}

#powerTip div.ttname {
        font-weight: bold;
}

#powerTip div.ttdeci {
        color: #006318;
}

#powerTip div {
        margin: 0px;
        padding: 0px;
        font: 12px/16px Roboto,sans-serif;
}

#powerTip:before, #powerTip:after {
	content: "";
	position: absolute;
	margin: 0px;
}

#powerTip.n:after,  #powerTip.n:before,
#powerTip.s:after,  #powerTip.s:before,
#powerTip.w:after,  #powerTip.w:before,
#powerTip.e:after,  #powerTip.e:before,
#powerTip.ne:after, #powerTip.ne:before,
#powerTip.se:after, #powerTip.se:before,
#powerTip.nw:after, #powerTip.nw:before,
#powerTip.sw:after, #powerTip.sw:before {
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
}

#powerTip.n:after,  #powerTip.s:after,
#powerTip.w:after,  #powerTip.e:after,
#powerTip.nw:after, #powerTip.ne:after,
#powerTip.sw:after, #powerTip.se:after {
	border-color: rgba(255, 255, 255, 0);
}

#powerTip.n:before,  #powerTip.s:before,
#powerTip.w:before,  #powerTip.e:before,
#powerTip.nw:before, #powerTip.ne:before,
#powerTip.sw:before, #powerTip.se:before {
	border-color: rgba(128, 128, 128, 0);
}

#powerTip.n:after,  #powerTip.n:before,
#powerTip.ne:after, #powerTip.ne:before,
#powerTip.nw:after, #powerTip.nw:before {
	top: 100%;
}

#powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after {
	border-top-color: #ffffff;
	border-width: 10px;
	margin: 0px -10px;
}
#powerTip.n:before {
	border-top-color: #808080;
	border-width: 11px;
	margin: 0px -11px;
}
#powerTip.n:after, #powerTip.n:before {
	left: 50%;
}

#powerTip.nw:after, #powerTip.nw:before {
	right: 14px;
}

#powerTip.ne:after, #powerTip.ne:before {
	left: 14px;
}

#powerTip.s:after,  #powerTip.s:before,
#powerTip.se:after, #powerTip.se:before,
#powerTip.sw:after, #powerTip.sw:before {
	bottom: 100%;
}

#powerTip.s:after, #powerTip.se:after, #powerTip.sw:after {
	border-bottom-color: #ffffff;
	border-width: 10px;
	margin: 0px -10px;
}

#powerTip.s:before, #powerTip.se:before, #powerTip.sw:before {
	border-bottom-color: #808080;
	border-width: 11px;
	margin: 0px -11px;
}

#powerTip.s:after, #powerTip.s:before {
	left: 50%;
}

#powerTip.sw:after, #powerTip.sw:before {
	right: 14px;
}

#powerTip.se:after, #powerTip.se:before {
	left: 14px;
}

#powerTip.e:after, #powerTip.e:before {
	left: 100%;
}
#powerTip.e:after {
	border-left-color: #ffffff;
	border-width: 10px;
	top: 50%;
	margin-top: -10px;
}
#powerTip.e:before {
	border-left-color: #808080;
	border-width: 11px;
	top: 50%;
	margin-top: -11px;
}

#powerTip.w:after, #powerTip.w:before {
	right: 100%;
}
#powerTip.w:after {
	border-right-color: #ffffff;
	border-width: 10px;
	top: 50%;
	margin-top: -10px;
}
#powerTip.w:before {
	border-right-color: #808080;
	border-width: 11px;
	top: 50%;
	margin-top: -11px;
}

@media print
{
  #top { display: none; }
  #side-nav { display: none; }
  #nav-path { display: none; }
  body { overflow:visible; }
  h1, h2, h3, h4, h5, h6 { page-break-after: avoid; }
  .summary { display: none; }
  .memitem { page-break-inside: avoid; }
  #doc-content
  {
    margin-left:0 !important;
    height:auto !important;
    width:auto !important;
    overflow:inherit;
    display:inline;
  }
}

/* @group Markdown */

/*
table.markdownTable {
	border-collapse:collapse;
        margin-top: 4px;
        margin-bottom: 4px;
}

table.markdownTable td, table.markdownTable th {
	border: 1px solid #2D4068;
	padding: 3px 7px 2px;
}

table.markdownTableHead tr {
}

table.markdownTableBodyLeft td, table.markdownTable th {
	border: 1px solid #2D4068;
	padding: 3px 7px 2px;
}

th.markdownTableHeadLeft th.markdownTableHeadRight th.markdownTableHeadCenter th.markdownTableHeadNone {
	background-color: #374F7F;
	color: #FFFFFF;
	font-size: 110%;
	padding-bottom: 4px;
	padding-top: 5px;
}

th.markdownTableHeadLeft {
	text-align: left
}

th.markdownTableHeadRight {
	text-align: right
}

th.markdownTableHeadCenter {
	text-align: center
}
*/

table.markdownTable {
	border-collapse:collapse;
        margin-top: 4px;
        margin-bottom: 4px;
}

table.markdownTable td, table.markdownTable th {
	border: 1px solid #2D4068;
	padding: 3px 7px 2px;
}

table.markdownTable tr {
}

th.markdownTableHeadLeft, th.markdownTableHeadRight, th.markdownTableHeadCenter, th.markdownTableHeadNone {
	background-color: #374F7F;
	color: #FFFFFF;
	font-size: 110%;
	padding-bottom: 4px;
	padding-top: 5px;
}

th.markdownTableHeadLeft, td.markdownTableBodyLeft {
	text-align: left
}

th.markdownTableHeadRight, td.markdownTableBodyRight {
	text-align: right
}

th.markdownTableHeadCenter, td.markdownTableBodyCenter {
	text-align: center
}


/* @end */
</style><div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="structIMaterial-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">IMaterial<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p>Represents an .mtl instance that can be applied to geometry in the scene.  
 <a href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797087">More...</a></p>

<p><code>#include &lt;IMaterial.h&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ac0e5debaab8e544741d465ae7ccd8648"><td class="memItemLeft" align="right" valign="top"><a id="ac0e5debaab8e544741d465ae7ccd8648"></a>
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><b>IsValid</b> () const =0</td></tr>
<tr class="separator:ac0e5debaab8e544741d465ae7ccd8648"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70fb0cc519c839db6fbddbdf5683bda7"><td class="memItemLeft" align="right" valign="top"><a id="a70fb0cc519c839db6fbddbdf5683bda7"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>AddRef</b> ()=0</td></tr>
<tr class="separator:a70fb0cc519c839db6fbddbdf5683bda7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1387434e0e877ae4c023321577578aec"><td class="memItemLeft" align="right" valign="top"><a id="a1387434e0e877ae4c023321577578aec"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>Release</b> ()=0</td></tr>
<tr class="separator:a1387434e0e877ae4c023321577578aec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27e4153301885c96bf09fd0f2c57174b"><td class="memItemLeft" align="right" valign="top"><a id="a27e4153301885c96bf09fd0f2c57174b"></a>
virtual int&#160;</td><td class="memItemRight" valign="bottom"><b>GetNumRefs</b> ()=0</td></tr>
<tr class="separator:a27e4153301885c96bf09fd0f2c57174b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaab60bc2cc1540958575baca14c7dd15"><td class="memItemLeft" align="right" valign="top"><a id="aaab60bc2cc1540958575baca14c7dd15"></a>
virtual IMaterialHelpers &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>GetMaterialHelpers</b> ()=0</td></tr>
<tr class="separator:aaab60bc2cc1540958575baca14c7dd15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71f651f85e122108327de2b41ef95fdb"><td class="memItemLeft" align="right" valign="top"><a id="a71f651f85e122108327de2b41ef95fdb"></a>
virtual <a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797086">IMaterialManager</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>GetMaterialManager</b> ()=0</td></tr>
<tr class="separator:a71f651f85e122108327de2b41ef95fdb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac27728880da1900bc26e45d063eaacda"><td class="memItemLeft" align="right" valign="top"><a id="ac27728880da1900bc26e45d063eaacda"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797087">SetName</a> (const char *pName)=0</td></tr>
<tr class="memdesc:ac27728880da1900bc26e45d063eaacda"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set material name, (Do not use this directly, to change material name use I3DEngine::RenameMatInfo method). <br /></td></tr>
<tr class="separator:ac27728880da1900bc26e45d063eaacda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5701aade615d0cb1c5bced4a209b7d82"><td class="memItemLeft" align="right" valign="top"><a id="a5701aade615d0cb1c5bced4a209b7d82"></a>
virtual const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797087">GetName</a> () const =0</td></tr>
<tr class="memdesc:a5701aade615d0cb1c5bced4a209b7d82"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns material name. <br /></td></tr>
<tr class="separator:a5701aade615d0cb1c5bced4a209b7d82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a510e9a6218332278a2b8842860ae39a9"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797087">SetFlags</a> (int flags)=0</td></tr>
<tr class="separator:a510e9a6218332278a2b8842860ae39a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f58bb284f3d7fd0bdee72f56b7fd90e"><td class="memItemLeft" align="right" valign="top"><a id="a8f58bb284f3d7fd0bdee72f56b7fd90e"></a>
virtual int&#160;</td><td class="memItemRight" valign="bottom"><b>GetFlags</b> () const =0</td></tr>
<tr class="separator:a8f58bb284f3d7fd0bdee72f56b7fd90e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80d46ee75c4ac8d6701e87b55dd90a2e"><td class="memItemLeft" align="right" valign="top"><a id="a80d46ee75c4ac8d6701e87b55dd90a2e"></a>
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797087">IsDefault</a> () const =0</td></tr>
<tr class="memdesc:a80d46ee75c4ac8d6701e87b55dd90a2e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if this is the default material. <br /></td></tr>
<tr class="separator:a80d46ee75c4ac8d6701e87b55dd90a2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac37836f2f2c9c09c00eb198515288a85"><td class="memItemLeft" align="right" valign="top"><a id="ac37836f2f2c9c09c00eb198515288a85"></a>
virtual int&#160;</td><td class="memItemRight" valign="bottom"><b>GetSurfaceTypeId</b> () const =0</td></tr>
<tr class="separator:ac37836f2f2c9c09c00eb198515288a85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7945b2a024303d5a1721cb96c4104d70"><td class="memItemLeft" align="right" valign="top"><a id="a7945b2a024303d5a1721cb96c4104d70"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797087">SetSurfaceType</a> (const char *sSurfaceTypeName)=0</td></tr>
<tr class="memdesc:a7945b2a024303d5a1721cb96c4104d70"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assign a different surface type to this material. <br /></td></tr>
<tr class="separator:a7945b2a024303d5a1721cb96c4104d70"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae82f6e54e57ca1256d263488123f1718"><td class="memItemLeft" align="right" valign="top"><a id="ae82f6e54e57ca1256d263488123f1718"></a>
virtual <a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797084">ISurfaceType</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>GetSurfaceType</b> ()=0</td></tr>
<tr class="separator:ae82f6e54e57ca1256d263488123f1718"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab98acc39b844efa7d8c9f09a511af299"><td class="memItemLeft" align="right" valign="top"><a id="ab98acc39b844efa7d8c9f09a511af299"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797087">SetMatTemplate</a> (const char *sMatTemplate)=0</td></tr>
<tr class="memdesc:ab98acc39b844efa7d8c9f09a511af299"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assign a different surface type to this material. <br /></td></tr>
<tr class="separator:ab98acc39b844efa7d8c9f09a511af299"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad54d2a4073308aade122aaa32b0bb3ff"><td class="memItemLeft" align="right" valign="top"><a id="ad54d2a4073308aade122aaa32b0bb3ff"></a>
virtual <a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797087">IMaterial</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>GetMatTemplate</b> ()=0</td></tr>
<tr class="separator:ad54d2a4073308aade122aaa32b0bb3ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0595618b62f73d45917055db65ac98e"><td class="memItemLeft" align="right" valign="top"><a id="aa0595618b62f73d45917055db65ac98e"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797087">SetShaderItem</a> (const SShaderItem &amp;_ShaderItem)=0</td></tr>
<tr class="memdesc:aa0595618b62f73d45917055db65ac98e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Shader item. <br /></td></tr>
<tr class="separator:aa0595618b62f73d45917055db65ac98e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91bb1b18500bf921d40e8f5696885fe7"><td class="memItemLeft" align="right" valign="top"><a id="a91bb1b18500bf921d40e8f5696885fe7"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797087">IncrementModificationId</a> ()=0</td></tr>
<tr class="memdesc:a91bb1b18500bf921d40e8f5696885fe7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used to detect the cases when dependent permanent render objects have to be updated. <br /></td></tr>
<tr class="separator:a91bb1b18500bf921d40e8f5696885fe7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78e917b2c24d6cf0e74508add912e379"><td class="memItemLeft" align="right" valign="top"><a id="a78e917b2c24d6cf0e74508add912e379"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797087">AssignShaderItem</a> (const SShaderItem &amp;_ShaderItem)=0</td></tr>
<tr class="memdesc:a78e917b2c24d6cf0e74508add912e379"><td class="mdescLeft">&#160;</td><td class="mdescRight">EF_LoadShaderItem return value with RefCount = 1, so if you'll use SetShaderItem after EF_LoadShaderItem use Assign function. <br /></td></tr>
<tr class="separator:a78e917b2c24d6cf0e74508add912e379"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74c0b49aa5317746590150259107588c"><td class="memItemLeft" align="right" valign="top"><a id="a74c0b49aa5317746590150259107588c"></a>
virtual SShaderItem &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>GetShaderItem</b> ()=0</td></tr>
<tr class="separator:a74c0b49aa5317746590150259107588c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abfc0b95dc80bf7ace43200da4c7f7d54"><td class="memItemLeft" align="right" valign="top"><a id="abfc0b95dc80bf7ace43200da4c7f7d54"></a>
virtual const SShaderItem &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>GetShaderItem</b> () const =0</td></tr>
<tr class="separator:abfc0b95dc80bf7ace43200da4c7f7d54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99655a7abbfef4359e6517fd5d0c964b"><td class="memItemLeft" align="right" valign="top">virtual SShaderItem &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797087">GetShaderItem</a> (int nSubMtlSlot)=0</td></tr>
<tr class="separator:a99655a7abbfef4359e6517fd5d0c964b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8872e3755e0fb75a30ab5807c16cd4ce"><td class="memItemLeft" align="right" valign="top"><a id="a8872e3755e0fb75a30ab5807c16cd4ce"></a>
virtual const SShaderItem &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>GetShaderItem</b> (int nSubMtlSlot) const =0</td></tr>
<tr class="separator:a8872e3755e0fb75a30ab5807c16cd4ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d731dd7b1af2bd696eddefe2599f660"><td class="memItemLeft" align="right" valign="top"><a id="a8d731dd7b1af2bd696eddefe2599f660"></a>
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797087">IsStreamedIn</a> (const int nMinPrecacheRoundIds[MAX_STREAM_PREDICTION_ZONES], IRenderMesh *pRenderMesh) const =0</td></tr>
<tr class="memdesc:a8d731dd7b1af2bd696eddefe2599f660"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if streamed in. <br /></td></tr>
<tr class="separator:a8d731dd7b1af2bd696eddefe2599f660"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29dca93b7e0a0fb338f9be10cd7480c9"><td class="memItemLeft" align="right" valign="top"><a id="a29dca93b7e0a0fb338f9be10cd7480c9"></a>
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><b>IsStreamedIn</b> (const int nMinPrecacheRoundIds[MAX_STREAM_PREDICTION_ZONES]) const =0</td></tr>
<tr class="separator:a29dca93b7e0a0fb338f9be10cd7480c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac69dfbc23827707b893c167d784ad193"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797087">SetSubMtlCount</a> (int numSubMtl)=0</td></tr>
<tr class="separator:ac69dfbc23827707b893c167d784ad193"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f3f7a09dc965096c7eb5b5fd623a6c1"><td class="memItemLeft" align="right" valign="top"><a id="a3f3f7a09dc965096c7eb5b5fd623a6c1"></a>
virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797087">GetSubMtlCount</a> ()=0</td></tr>
<tr class="memdesc:a3f3f7a09dc965096c7eb5b5fd623a6c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns number of child sub materials holded by this material. <br /></td></tr>
<tr class="separator:a3f3f7a09dc965096c7eb5b5fd623a6c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e2df03ce27ef09d34a64a56b5a97d3a"><td class="memItemLeft" align="right" valign="top"><a id="a3e2df03ce27ef09d34a64a56b5a97d3a"></a>
virtual <a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797087">IMaterial</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797087">GetSubMtl</a> (int nSlot)=0</td></tr>
<tr class="memdesc:a3e2df03ce27ef09d34a64a56b5a97d3a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return sub material at specified index. <br /></td></tr>
<tr class="separator:a3e2df03ce27ef09d34a64a56b5a97d3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e65e1180cf152cf291ff86a97208884"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797087">SetSubMtl</a> (int nSlot, <a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797087">IMaterial</a> *pMtl)=0</td></tr>
<tr class="separator:a0e65e1180cf152cf291ff86a97208884"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1fc1e63d585e145cc2a2ea678eb48a7"><td class="memItemLeft" align="right" valign="top"><a id="ad1fc1e63d585e145cc2a2ea678eb48a7"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797087">SetLayerCount</a> (uint32 nCount)=0</td></tr>
<tr class="memdesc:ad1fc1e63d585e145cc2a2ea678eb48a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns number of layers in this material. <br /></td></tr>
<tr class="separator:ad1fc1e63d585e145cc2a2ea678eb48a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a4ac95f6616e8903d6f7077dc20de1e"><td class="memItemLeft" align="right" valign="top"><a id="a6a4ac95f6616e8903d6f7077dc20de1e"></a>
virtual uint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797087">GetLayerCount</a> () const =0</td></tr>
<tr class="memdesc:a6a4ac95f6616e8903d6f7077dc20de1e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns number of layers in this material. <br /></td></tr>
<tr class="separator:a6a4ac95f6616e8903d6f7077dc20de1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0c14c44e0004c2738157e521324f13d"><td class="memItemLeft" align="right" valign="top"><a id="ae0c14c44e0004c2738157e521324f13d"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797087">SetLayer</a> (uint32 nSlot, IMaterialLayer *pLayer)=0</td></tr>
<tr class="memdesc:ae0c14c44e0004c2738157e521324f13d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set layer at slot id (### MUST ALOCATE SLOTS FIRST ### USING SetLayerCount). <br /></td></tr>
<tr class="separator:ae0c14c44e0004c2738157e521324f13d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf5407708bc9e6a5f571295104032d7c"><td class="memItemLeft" align="right" valign="top"><a id="adf5407708bc9e6a5f571295104032d7c"></a>
virtual const IMaterialLayer *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797087">GetLayer</a> (uint8 nLayersMask, uint8 nLayersUsageMask) const =0</td></tr>
<tr class="memdesc:adf5407708bc9e6a5f571295104032d7c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return active layer. <br /></td></tr>
<tr class="separator:adf5407708bc9e6a5f571295104032d7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae9246823e0af47f5e80ff9b69aeae539"><td class="memItemLeft" align="right" valign="top"><a id="ae9246823e0af47f5e80ff9b69aeae539"></a>
virtual const IMaterialLayer *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797087">GetLayer</a> (uint32 nSlot) const =0</td></tr>
<tr class="memdesc:ae9246823e0af47f5e80ff9b69aeae539"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return layer at slot id. <br /></td></tr>
<tr class="separator:ae9246823e0af47f5e80ff9b69aeae539"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ca02183589395858b89b9814651dbd0"><td class="memItemLeft" align="right" valign="top"><a id="a6ca02183589395858b89b9814651dbd0"></a>
virtual IMaterialLayer *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797087">CreateLayer</a> ()=0</td></tr>
<tr class="memdesc:a6ca02183589395858b89b9814651dbd0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new layer. <br /></td></tr>
<tr class="separator:a6ca02183589395858b89b9814651dbd0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5111d20406865d67288934aa16963b4c"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797087">IMaterial</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797087">GetSafeSubMtl</a> (int nSlot)=0</td></tr>
<tr class="separator:a5111d20406865d67288934aa16963b4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac6a96184601f3d98211823fe507a457"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797087">FillSurfaceTypeIds</a> (int pSurfaceIdsTable[])=0</td></tr>
<tr class="separator:aac6a96184601f3d98211823fe507a457"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa041101bcfb5d069d1e0892ae96322b6"><td class="memItemLeft" align="right" valign="top"><a id="aa041101bcfb5d069d1e0892ae96322b6"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797087">SetUserData</a> (void *pUserData)=0</td></tr>
<tr class="memdesc:aa041101bcfb5d069d1e0892ae96322b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set user data used to link with the Editor. <br /></td></tr>
<tr class="separator:aa041101bcfb5d069d1e0892ae96322b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1ccf986a9657065385dbc2d310c6671"><td class="memItemLeft" align="right" valign="top"><a id="ac1ccf986a9657065385dbc2d310c6671"></a>
virtual void *&#160;</td><td class="memItemRight" valign="bottom"><b>GetUserData</b> () const =0</td></tr>
<tr class="separator:ac1ccf986a9657065385dbc2d310c6671"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2afc73ec1419737f47da1b676eabac5"><td class="memItemLeft" align="right" valign="top"><a id="ac2afc73ec1419737f47da1b676eabac5"></a>
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><b>SetGetMaterialParamFloat</b> (const char *sParamName, float &amp;v, bool bGet)=0</td></tr>
<tr class="separator:ac2afc73ec1419737f47da1b676eabac5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1690a6f814fdfa7771616e736d40a084"><td class="memItemLeft" align="right" valign="top"><a id="a1690a6f814fdfa7771616e736d40a084"></a>
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><b>SetGetMaterialParamVec3</b> (const char *sParamName, <a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29796990">Vec3</a> &amp;v, bool bGet)=0</td></tr>
<tr class="separator:a1690a6f814fdfa7771616e736d40a084"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae806e4f34fa8bb86c7c1b54dba85dfd5"><td class="memItemLeft" align="right" valign="top"><a id="ae806e4f34fa8bb86c7c1b54dba85dfd5"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>SetTexture</b> (int textureId, int textureSlot=EFTT_DIFFUSE)=0</td></tr>
<tr class="separator:ae806e4f34fa8bb86c7c1b54dba85dfd5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4104e60745b56a9d70f20d06bfa2748"><td class="memItemLeft" align="right" valign="top"><a id="ae4104e60745b56a9d70f20d06bfa2748"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>SetSubTexture</b> (int textureId, int subMaterialSlot, int textureSlot=EFTT_DIFFUSE)=0</td></tr>
<tr class="separator:ae4104e60745b56a9d70f20d06bfa2748"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3464dd2a86c712fcbb6e2c4fe9798b3"><td class="memItemLeft" align="right" valign="top"><a id="ac3464dd2a86c712fcbb6e2c4fe9798b3"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797087">SetCamera</a> (<a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29796988">CCamera</a> &amp;cam)=0</td></tr>
<tr class="memdesc:ac3464dd2a86c712fcbb6e2c4fe9798b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set Optional Camera for material (Used for monitors that look thru camera). <br /></td></tr>
<tr class="separator:ac3464dd2a86c712fcbb6e2c4fe9798b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aefa29fc87b2ba85b3335697f7f607f0a"><td class="memItemLeft" align="right" valign="top"><a id="aefa29fc87b2ba85b3335697f7f607f0a"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>GetMemoryUsage</b> (ICrySizer *pSizer) const =0</td></tr>
<tr class="separator:aefa29fc87b2ba85b3335697f7f607f0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80d0805da16d931944771641c5f2bb54"><td class="memItemLeft" align="right" valign="top"><a id="a80d0805da16d931944771641c5f2bb54"></a>
virtual size_t&#160;</td><td class="memItemRight" valign="bottom"><b>GetResourceMemoryUsage</b> (ICrySizer *pSizer)=0</td></tr>
<tr class="separator:a80d0805da16d931944771641c5f2bb54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11e5e5342056b8d513e0543ada52a2bb"><td class="memItemLeft" align="right" valign="top"><a id="a11e5e5342056b8d513e0543ada52a2bb"></a>
virtual const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797087">GetLoadingCallstack</a> ()=0</td></tr>
<tr class="memdesc:a11e5e5342056b8d513e0543ada52a2bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Trace leaking materials by callstack. <br /></td></tr>
<tr class="separator:a11e5e5342056b8d513e0543ada52a2bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b251b23b2012cfd8692856be66026e1"><td class="memItemLeft" align="right" valign="top"><a id="a1b251b23b2012cfd8692856be66026e1"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797087">RequestTexturesLoading</a> (const float fMipFactor)=0</td></tr>
<tr class="memdesc:a1b251b23b2012cfd8692856be66026e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Requests texture streamer to start loading textures asynchronously. <br /></td></tr>
<tr class="separator:a1b251b23b2012cfd8692856be66026e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e7479280ed0b4b9963f2e5e995d00a1"><td class="memItemLeft" align="right" valign="top"><a id="a5e7479280ed0b4b9963f2e5e995d00a1"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797087">ForceTexturesLoading</a> (const float fMipFactor)=0</td></tr>
<tr class="memdesc:a5e7479280ed0b4b9963f2e5e995d00a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Force texture streamer to start and finish loading textures asynchronously but within one frame, disregarding mesh visibility etc. <br /></td></tr>
<tr class="separator:a5e7479280ed0b4b9963f2e5e995d00a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa21956e1f4ba585a5526170418ec68e5"><td class="memItemLeft" align="right" valign="top"><a id="aa21956e1f4ba585a5526170418ec68e5"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>ForceTexturesLoading</b> (const int iScreenTexels)=0</td></tr>
<tr class="separator:aa21956e1f4ba585a5526170418ec68e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b3644a78bffb66341bf8fdeea266477"><td class="memItemLeft" align="right" valign="top"><a id="a2b3644a78bffb66341bf8fdeea266477"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>PrecacheMaterial</b> (const float fEntDistance, struct IRenderMesh *pRenderMesh, bool bFullUpdate, bool bDrawNear=false)=0</td></tr>
<tr class="separator:a2b3644a78bffb66341bf8fdeea266477"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d6fa2a12682f36a5179f9094cfb281a"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797087">GetTextureMemoryUsage</a> (ICrySizer *pSizer, int nMatID=-1)=0</td></tr>
<tr class="separator:a1d6fa2a12682f36a5179f9094cfb281a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76dcbf7a997b4822a17334e2b4d9dce2"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797087">SetMaterialLinkName</a> (const char *name)=0</td></tr>
<tr class="separator:a76dcbf7a997b4822a17334e2b4d9dce2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1d798db0697b72ab127d15428930b12"><td class="memItemLeft" align="right" valign="top"><a id="aa1d798db0697b72ab127d15428930b12"></a>
virtual const char *&#160;</td><td class="memItemRight" valign="bottom"><b>GetMaterialLinkName</b> () const =0</td></tr>
<tr class="separator:aa1d798db0697b72ab127d15428930b12"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a106004810f2de8a4e7585a3dd1e85350"><td class="memItemLeft" align="right" valign="top"><a id="a106004810f2de8a4e7585a3dd1e85350"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>SetKeepLowResSysCopyForDiffTex</b> ()=0</td></tr>
<tr class="separator:a106004810f2de8a4e7585a3dd1e85350"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aafdc9c588f1098f823ccfa1b55909b48"><td class="memItemLeft" align="right" valign="top"><a id="aafdc9c588f1098f823ccfa1b55909b48"></a>
virtual CryCriticalSection &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>GetSubMaterialResizeLock</b> ()=0</td></tr>
<tr class="separator:aafdc9c588f1098f823ccfa1b55909b48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4399acd96e9b348cda1a43802daabc3b"><td class="memItemLeft" align="right" valign="top"><a id="a4399acd96e9b348cda1a43802daabc3b"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>ActivateDynamicTextureSources</b> (bool activate)=0</td></tr>
<tr class="separator:a4399acd96e9b348cda1a43802daabc3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a54bb1bcfae7fa3808fba6df5d7355b9e"><td class="memItemLeft" align="right" valign="top"><a id="a54bb1bcfae7fa3808fba6df5d7355b9e"></a>
uint8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797087">m_ucDefautMappingAxis</a></td></tr>
<tr class="memdesc:a54bb1bcfae7fa3808fba6df5d7355b9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default texture mapping. <br /></td></tr>
<tr class="separator:a54bb1bcfae7fa3808fba6df5d7355b9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a682a9f588fc6e249da679daae5b7ee8b"><td class="memItemLeft" align="right" valign="top"><a id="a682a9f588fc6e249da679daae5b7ee8b"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>m_fDefautMappingScale</b></td></tr>
<tr class="separator:a682a9f588fc6e249da679daae5b7ee8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Represents an .mtl instance that can be applied to geometry in the scene. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="aac6a96184601f3d98211823fe507a457"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aac6a96184601f3d98211823fe507a457">&#9670;&nbsp;</a></span>FillSurfaceTypeIds()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int IMaterial::FillSurfaceTypeIds </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pSurfaceIdsTable</em>[]</td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Fill an array of integeres representing surface ids of the sub materials or the material itself. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pSurfaceIdsTable</td><td>Pointer to the array of int with size enough to hold MAX_SUB_MATERIALS surface type ids. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Number of filled items. </dd></dl>

</div>
</div>
<a id="a5111d20406865d67288934aa16963b4c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5111d20406865d67288934aa16963b4c">&#9670;&nbsp;</a></span>GetSafeSubMtl()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797087">IMaterial</a>* IMaterial::GetSafeSubMtl </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nSlot</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Always get a valid material. If not multi material return this material. If Multi material return Default material if wrong id. </p>

</div>
</div>
<a id="a99655a7abbfef4359e6517fd5d0c964b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a99655a7abbfef4359e6517fd5d0c964b">&#9670;&nbsp;</a></span>GetShaderItem()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual SShaderItem&amp; IMaterial::GetShaderItem </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nSubMtlSlot</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns shader item for correct sub material or for single material. Even if this is not sub material or nSubMtlSlot is invalid, it will return valid renderable shader item. </p>

</div>
</div>
<a id="a1d6fa2a12682f36a5179f9094cfb281a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1d6fa2a12682f36a5179f9094cfb281a">&#9670;&nbsp;</a></span>GetTextureMemoryUsage()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int IMaterial::GetTextureMemoryUsage </td>
          <td>(</td>
          <td class="paramtype">ICrySizer *&#160;</td>
          <td class="paramname"><em>pSizer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nMatID</em> = <code>-1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Estimates texture memory usage for this material. When nMatID is not negative only caluclate for one sub-material. </p>

</div>
</div>
<a id="a510e9a6218332278a2b8842860ae39a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a510e9a6218332278a2b8842860ae39a9">&#9670;&nbsp;</a></span>SetFlags()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void IMaterial::SetFlags </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>flags</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Material flags. </p><dl class="section see"><dt>See also</dt><dd>EMaterialFlags. </dd></dl>

</div>
</div>
<a id="a76dcbf7a997b4822a17334e2b4d9dce2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a76dcbf7a997b4822a17334e2b4d9dce2">&#9670;&nbsp;</a></span>SetMaterialLinkName()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void IMaterial::SetMaterialLinkName </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Set &amp; retrieve a material link name. This value by itself is not used by the material system per-se and hence has no real effect However it is used on a higher level to tie related materials together, e.g. by procedural breakable glass to determine which material to switch to. </p>

</div>
</div>
<a id="a0e65e1180cf152cf291ff86a97208884"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0e65e1180cf152cf291ff86a97208884">&#9670;&nbsp;</a></span>SetSubMtl()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void IMaterial::SetSubMtl </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nSlot</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="http://docs.cryengine.com//pages/viewpage.action?pageId=29797087">IMaterial</a> *&#160;</td>
          <td class="paramname"><em>pMtl</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Assign material to the sub mtl slot. Must first allocate slots using SetSubMtlCount. </p>

</div>
</div>
<a id="ac69dfbc23827707b893c167d784ad193"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac69dfbc23827707b893c167d784ad193">&#9670;&nbsp;</a></span>SetSubMtlCount()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void IMaterial::SetSubMtlCount </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>numSubMtl</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Sub-material access. Sets number of child sub materials holded by this material. </p>

</div>
</div>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.14-->
<!-- start footer part -->