mirror of https://github.com/axmolengine/axmol.git
add transparent property
This commit is contained in:
parent
4fd4a6fb94
commit
33cabb553a
|
@ -43,6 +43,7 @@ Mesh::Mesh()
|
|||
, _visibleChanged(nullptr)
|
||||
, _glProgramState(nullptr)
|
||||
, _blend(BlendFunc::ALPHA_NON_PREMULTIPLIED)
|
||||
, _isTransparent(false)
|
||||
{
|
||||
|
||||
}
|
||||
|
|
|
@ -132,8 +132,8 @@ protected:
|
|||
Texture2D* _texture; //texture that submesh is using
|
||||
MeshSkin* _skin; //skin
|
||||
bool _visible; // is the submesh visible
|
||||
bool _isTransparent; // is this mesh transparent, it is a property of material in fact
|
||||
|
||||
//since 3.3
|
||||
std::string _name;
|
||||
MeshIndexData* _meshIndexData;
|
||||
GLProgramState* _glProgramState;
|
||||
|
|
Loading…
Reference in New Issue