Tweaks
This commit is contained in:
@@ -298,6 +298,11 @@ bool GPUDevice::LoadContent()
|
||||
return false;
|
||||
}
|
||||
|
||||
bool GPUDevice::CanDraw()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
void GPUDevice::preDispose()
|
||||
{
|
||||
RenderTargetPool::Flush();
|
||||
@@ -449,6 +454,11 @@ void GPUDevice::Dispose()
|
||||
VideoOutputModes.Resize(0);
|
||||
}
|
||||
|
||||
uint64 GPUDevice::GetMemoryUsage() const
|
||||
{
|
||||
return Resources.GetMemoryUsage();
|
||||
}
|
||||
|
||||
MaterialBase* GPUDevice::GetDefaultMaterial() const
|
||||
{
|
||||
return _res->DefaultMaterial;
|
||||
|
||||
Reference in New Issue
Block a user