|
| ~VertexBuffer () noexcept override=default |
|
const vertex_buffer_layout_type & | layout () const noexcept override=0 |
| Gets the layout of the vertex buffer.- Returns
- The layout of the vertex buffer.
|
|
| ~IVertexBuffer () noexcept override=default |
|
| ~IBuffer () noexcept override=default |
|
virtual BufferType | type () const noexcept=0 |
| Returns the type of the buffer.
|
|
virtual | ~IDeviceMemory () noexcept=default |
|
virtual UInt32 | elements () const noexcept=0 |
| Gets the number of sub-resources inside the memory chunk.
|
|
virtual size_t | size () const noexcept=0 |
| Gets the size (in bytes) of the aligned memory chunk.
|
|
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.
|
|
virtual size_t | elementAlignment () const noexcept=0 |
| Returns the alignment of a single element.
|
|
virtual size_t | alignedElementSize () const noexcept=0 |
| Returns the actual size of the element in device memory.
|
|
virtual ResourceUsage | usage () const noexcept=0 |
| Returns the usage flags for the resource.
|
|
bool | writable () const noexcept |
| Returns true , if the resource can be bound to a read/write descriptor.
|
|
virtual UInt64 | virtualAddress () const noexcept=0 |
| Gets the address of the resource in GPU memory.
|
|
virtual | ~IMappable () noexcept=default |
|
virtual void | map (const void *const data, size_t size, UInt32 element=0)=0 |
| Maps the memory at data to the internal memory of this object.
|
|
virtual void | map (Span< const void *const > data, size_t elementSize, UInt32 firstElement=0)=0 |
| Maps the memory blocks within data to the internal memory of an array.
|
|
virtual void | map (void *data, size_t size, UInt32 element=0, bool write=true)=0 |
| Maps the memory at data to the internal memory of this object.
|
|
virtual void | map (Span< void * > data, size_t elementSize, UInt32 firstElement=0, bool write=true)=0 |
| Maps the memory blocks within data to the internal memory of an array.
|
|
virtual | ~IStateResource () noexcept=default |
| Releases the state resource instance.
|
|
virtual const String & | name () const noexcept=0 |
| Returns the name of the resource.
|
|
virtual | ~SharedObject () noexcept=default |
| Destroys the shared object.
|
|
template<typename TSelf > |
auto | shared_from_this (this TSelf &&self) noexcept |
| Returns a shared pointer to the current object instance.
|
|
template<typename TSelf > |
auto | weak_from_this (this TSelf &&self) noexcept -> WeakPtr< std::remove_reference_t< TSelf > > |
| Returns a weak pointer to the current object instance.
|
|
template<typename TVertexBufferLayout>
requires meta::implements<TVertexBufferLayout,
IVertexBufferLayout>
class LiteFX::Rendering::VertexBuffer< TVertexBufferLayout >
Describes a vertex buffer.
- Template Parameters
-