Cocos2d-x  v3.10
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups
NMaterialData Struct Reference

new material data More...

Public Member Functions

const NTextureDatagetTextureData (const NTextureData::Usage &type) const
 Get texture data by given usage Uage type. More...
 

Public Attributes

std::vector< NTextureDatatextures
 textures list.
 
var textures
 textures list.
 
local textures
 textures list.
 
std::string id
 Material ID.
 
var id
 Material ID.
 
local id
 Material ID.
 

Detailed Description

new material data

Member Function Documentation

const NTextureData* getTextureData ( const NTextureData::Usage type) const
inline

Get texture data by given usage Uage type.

Texture data of given usage.

var getTextureData ( var  type)
inline

Get texture data by given usage Uage type.

Texture data of given usage.

local getTextureData ( local  type)
inline

Get texture data by given usage Uage type.

Texture data of given usage.


The documentation for this struct was generated from the following file: