Inherited by AZ::DX12::BufferMemoryView.
|
| MemoryView (RHI::Ptr< Memory > memory, size_t offset, size_t size, size_t alignment, MemoryViewType viewType) |
|
| MemoryView (D3D12MA::Allocation *allocation, RHI::Ptr< Memory > memory, size_t offset, size_t size, size_t alignment, MemoryViewType viewType) |
|
| MemoryView (const MemoryAllocation &memAllocation, MemoryViewType viewType) |
|
| MemoryView (const MemoryView &rhs)=default |
| Supports copy and move construction / assignment.
|
|
| MemoryView (MemoryView &&rhs)=default |
|
MemoryView & | operator= (const MemoryView &rhs)=default |
|
MemoryView & | operator= (MemoryView &&rhs)=default |
|
bool | IsValid () const |
|
size_t | GetOffset () const |
| Returns the offset relative to the base memory address in bytes.
|
|
size_t | GetSize () const |
| Returns the size of the memory view region in bytes.
|
|
size_t | GetAlignment () const |
| Returns the alignment of the memory view region in bytes.
|
|
Memory * | GetMemory () const |
| Returns a pointer to the memory chunk this view is sub-allocated from.
|
|
D3D12MA::Allocation * | GetD3d12maAllocation () const |
|
CpuVirtualAddress | Map (RHI::HostMemoryAccess hostAccess) const |
| A convenience method to map the resource region spanned by the view for CPU access.
|
|
void | Unmap (RHI::HostMemoryAccess hostAccess) const |
| A convenience method for unmapping the resource region spanned by the view.
|
|
GpuVirtualAddress | GetGpuAddress () const |
| Returns the GPU address, offset to match the view.
|
|
void | SetName (const AZStd::string_view &name) |
| Sets the name of the ID3D12Resource.
|
|
void | SetName (const AZStd::wstring_view &name) |
| Sets the name of the ID3D12Resource.
|
|
|
class | BufferMemoryAllocator |
|
class | ShaderResourceGroupPool |
|
The documentation for this class was generated from the following file:
- Gems/Atom/RHI/DX12/Code/Source/RHI/MemoryView.h