Quantum 3
3.1.0
A pointer to a read-only component value. More...
Public Member Functions | |
| unsafe ReadOnlyRef< T > | AsTyped< T > () |
Casts the underlying pointer to T* and returns a typed ReadOnlyRef<T>. More... | |
| ReadOnlyRef | AsUntyped () |
| Returns an untyped ReadOnlyRef. More... | |
| unsafe readonly ref readonly T | Value< T > () |
Casts the underlying pointer to T* and returns a reference to the pointed-at component value. More... | |
Properties | |
| readonly bool | HasValue [get] |
Returns true if this reference points at a component value. Only then can Value be used. More... | |
| readonly ref readonly T | Value [get] |
| A read-only reference to the pointed-at component value. More... | |
A pointer to a read-only component value.
A pointer to a read-only component value with unknown type.
| T |
This pointer can be invalidated when frame commands are committed, so it isn't safe to cache. When using copy-on-write, this pointer might not observe writes made elsewhere.
This pointer can be invalidated when frame commands are committed, so it isn't safe to cache. When using copy-on-write, this pointer might not observe writes made elsewhere.
| T | : | unmanaged | |
| T | : | IComponent |
|
inline |
Returns an untyped ReadOnlyRef.
|
inline |
Casts the underlying pointer to T* and returns a reference to the pointed-at component value.
| T | : | unmanaged | |
| T | : | IComponent |
|
inline |
Casts the underlying pointer to T* and returns a typed ReadOnlyRef<T>.
| T | : | unmanaged | |
| T | : | IComponent |
|
get |
A read-only reference to the pointed-at component value.
|
get |