|
| DirectX12VertexBuffer (ComPtr< ID3D12Resource > &&buffer, const DirectX12VertexBufferLayout &layout, const UInt32 &elements, const ResourceState &initialState, AllocatorPtr allocator, AllocationPtr &&allocation, const String &name="") |
|
| DirectX12VertexBuffer (DirectX12VertexBuffer &&)=delete |
|
| DirectX12VertexBuffer (const DirectX12VertexBuffer &)=delete |
|
virtual | ~DirectX12VertexBuffer () noexcept |
|
const DirectX12VertexBufferLayout & | layout () const noexcept override |
| Gets the layout of the vertex buffer. More...
|
|
virtual const D3D12_VERTEX_BUFFER_VIEW & | view () const noexcept override |
|
| DirectX12Buffer (ComPtr< ID3D12Resource > &&buffer, const BufferType &type, const UInt32 &elements, const size_t &elementSize, const size_t &alignment, const bool &writable, const ResourceState &initialState, AllocatorPtr allocator=nullptr, AllocationPtr &&allocation=nullptr, const String &name="") |
|
| DirectX12Buffer (DirectX12Buffer &&)=delete |
|
| DirectX12Buffer (const DirectX12Buffer &)=delete |
|
virtual | ~DirectX12Buffer () noexcept |
|
virtual const BufferType & | type () const noexcept override |
| Returns the type of the buffer. More...
|
|
virtual const UInt32 & | elements () const noexcept override |
| Gets the number of sub-resources inside the memory chunk. More...
|
|
virtual size_t | size () const noexcept override |
| Gets the size (in bytes) of the aligned memory chunk. More...
|
|
virtual size_t | elementSize () const noexcept override |
| Returns the size of a single element within the buffer. If there is only one element, this is equal to size. More...
|
|
virtual size_t | elementAlignment () const noexcept override |
| Returns the alignment of a single element. More...
|
|
virtual size_t | alignedElementSize () const noexcept override |
| Returns the actual size of the element in device memory. More...
|
|
virtual const bool & | writable () const noexcept override |
| Returns true , if the resource can be bound to a read/write descriptor. More...
|
|
virtual const ResourceState & | state (const UInt32 &subresource=0) const override |
| Returns the current state of the resource. More...
|
|
virtual ResourceState & | state (const UInt32 &subresource=0) override |
| Returns a reference of the current state of the resource. More...
|
|
virtual void | map (const void *const data, const size_t &size, const UInt32 &element=0) override |
| Maps the memory at data to the internal memory of this object. More...
|
|
virtual void | map (Span< const void *const > data, const size_t &elementSize, const UInt32 &firstElement=0) override |
| Maps the memory blocks within data to the internal memory of an array. More...
|
|
virtual | ~IDirectX12Buffer () noexcept=default |
|
virtual | ~IBuffer () noexcept=default |
|
virtual const BufferType & | type () const noexcept=0 |
| Returns the type of the buffer. More...
|
|
virtual | ~IDeviceMemory () noexcept=default |
|
virtual const UInt32 & | elements () const noexcept=0 |
| Gets the number of sub-resources inside the memory chunk. More...
|
|
virtual size_t | size () const noexcept=0 |
| Gets the size (in bytes) of the aligned memory chunk. More...
|
|
virtual size_t | elementSize () const noexcept=0 |
| Returns the size of a single element within the buffer. If there is only one element, this is equal to size. More...
|
|
virtual size_t | elementAlignment () const noexcept=0 |
| Returns the alignment of a single element. More...
|
|
virtual size_t | alignedElementSize () const noexcept=0 |
| Returns the actual size of the element in device memory. More...
|
|
virtual const bool & | writable () const noexcept=0 |
| Returns true , if the resource can be bound to a read/write descriptor. More...
|
|
virtual const ResourceState & | state (const UInt32 &subresource=0) const =0 |
| Returns the current state of the resource. More...
|
|
virtual ResourceState & | state (const UInt32 &subresource=0)=0 |
| Returns a reference of the current state of the resource. More...
|
|
virtual | ~IMappable () noexcept=default |
|
virtual void | map (const void *const data, const size_t &size, const UInt32 &element=0)=0 |
| Maps the memory at data to the internal memory of this object. More...
|
|
virtual void | map (Span< const void *const > data, const size_t &elementSize, const UInt32 &firstElement=0)=0 |
| Maps the memory blocks within data to the internal memory of an array. More...
|
|
virtual | ~IStateResource () noexcept=default |
|
virtual const String & | name () const noexcept=0 |
| Returns the name of the resource. More...
|
|
virtual | ~IResource () noexcept=default |
|
virtual const ComPtr< ID3D12Resource > & | handle () const noexcept=0 |
| Returns the resource managed by the class. More...
|
|
| Resource (const Resource &)=delete |
|
| Resource (Resource &&)=delete |
|
virtual | ~Resource () noexcept=default |
|
const THandle & | handle () const noexcept override |
| Returns the resource managed by the class. More...
|
|
virtual | ~IResource () noexcept=default |
|
virtual const THandle & | handle () const noexcept=0 |
| Returns the resource managed by the class. More...
|
|
| StateResource (StringView name) |
| Initializes a new state resource instance. More...
|
|
| StateResource (StateResource &&)=delete |
|
| StateResource (const StateResource &)=delete |
|
virtual | ~StateResource () noexcept |
|
virtual const String & | name () const noexcept override |
| Returns the name of the resource. More...
|
|
virtual | ~IDirectX12VertexBuffer () noexcept=default |
|
virtual const D3D12_VERTEX_BUFFER_VIEW & | view () const noexcept=0 |
|
virtual | ~VertexBuffer () noexcept=default |
|
virtual const vertex_buffer_layout_type & | layout () const noexcept=0 |
| Gets the layout of the vertex buffer. More...
|
|
virtual | ~IVertexBuffer () noexcept=default |
|
virtual const IVertexBufferLayout & | layout () const noexcept=0 |
| Gets the layout of the vertex buffer. More...
|
|
Implements a DirectX 12 IVertexBuffer.