コード例 #1
0
const FastName & Material::GetOwnerLayerName()
{
    if(GetAlphablend())
    {
        SetOwnerLayerName(LAYER_TRANSLUCENT);
    }
    else SetOwnerLayerName(LAYER_OPAQUE);

    return ownerLayerName;
}
コード例 #2
0
LandscapeChunk::LandscapeChunk(Landscape * _landscape)
    : landscape(_landscape)
{
    SetOwnerLayerName(LAYER_OPAQUE);
}