Esempio n. 1
0
const FastName & Material::GetOwnerLayerName()
{
    if(GetAlphablend())
    {
        SetOwnerLayerName(LAYER_TRANSLUCENT);
    }
    else SetOwnerLayerName(LAYER_OPAQUE);

    return ownerLayerName;
}
LandscapeChunk::LandscapeChunk(Landscape * _landscape)
    : landscape(_landscape)
{
    SetOwnerLayerName(LAYER_OPAQUE);
}