mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-18 20:52:10 +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