parent
160abad592
commit
f11396767f
|
@ -85,7 +85,7 @@ namespace backend {
|
||||||
mCurrentUsage(builder->mCurrentUsage) {
|
mCurrentUsage(builder->mCurrentUsage) {
|
||||||
}
|
}
|
||||||
|
|
||||||
DeviceBase* TextureBase::GetDevice() {
|
DeviceBase* TextureBase::GetDevice() const {
|
||||||
return mDevice;
|
return mDevice;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@ namespace backend {
|
||||||
bool IsTransitionPossible(nxt::TextureUsageBit usage) const;
|
bool IsTransitionPossible(nxt::TextureUsageBit usage) const;
|
||||||
void UpdateUsageInternal(nxt::TextureUsageBit usage);
|
void UpdateUsageInternal(nxt::TextureUsageBit usage);
|
||||||
|
|
||||||
DeviceBase* GetDevice();
|
DeviceBase* GetDevice() const;
|
||||||
|
|
||||||
// NXT API
|
// NXT API
|
||||||
TextureViewBuilder* CreateTextureViewBuilder();
|
TextureViewBuilder* CreateTextureViewBuilder();
|
||||||
|
|
Loading…
Reference in New Issue