mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +01:00
[util] Add convenience method to return public/private references
This commit is contained in:
parent
af8e1a3d47
commit
21a2ce045f
@ -121,6 +121,9 @@ namespace dxvk {
|
||||
T* ptr() const {
|
||||
return m_ptr;
|
||||
}
|
||||
|
||||
Com<T, true> pubRef() const { return m_ptr; }
|
||||
Com<T, false> prvRef() const { return m_ptr; }
|
||||
|
||||
private:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user