![]() |
Divide Framework 0.1
A free and open-source 3D Framework under heavy development
|
#include <VertexDataInterface.h>
Public Types | |
using | Handle = PoolHandle |
using | VDIPool = ObjectPool< VertexDataInterface, 256, true > |
![]() | |
enum class | Type : U8 { RENDER_TARGET , SHADER_BUFFER , BUFFER , SHADER , SHADER_PROGRAM , TEXTURE , COUNT } |
Public Member Functions | |
VertexDataInterface (GFXDevice &context, const std::string_view name) | |
virtual | ~VertexDataInterface () override |
virtual void | draw (const GenericDrawCommand &command, VDIUserData *data)=0 |
PROPERTY_R (Handle, handle) | |
PROPERTY_RW (bool, primitiveRestartRequired, false) | |
![]() | |
GUIDWrapper () noexcept | |
GUIDWrapper (const GUIDWrapper &old) noexcept | |
GUIDWrapper (GUIDWrapper &&old) noexcept | |
virtual | ~GUIDWrapper ()=default |
FORCE_INLINE I64 | getGUID () const noexcept |
GUIDWrapper & | operator= (const GUIDWrapper &old)=delete |
GUIDWrapper & | operator= (GUIDWrapper &&other)=delete |
![]() | |
virtual | ~GraphicsResource () |
GFXDevice & | context () const noexcept |
U64 | nameHash () const noexcept |
![]() | |
NonCopyable (const NonCopyable &)=delete | |
NonCopyable & | operator= (const NonCopyable &)=delete |
NonCopyable (NonCopyable &&)=default | |
NonCopyable & | operator= (NonCopyable &&)=default |
![]() | |
NonMovable (NonMovable &&)=delete | |
NonMovable & | operator= (NonMovable &&)=delete |
NonMovable (const NonMovable &)=default | |
NonMovable & | operator= (const NonMovable &)=default |
Static Public Attributes | |
static constexpr Handle | INVALID_VDI_HANDLE {U16_MAX, 0u} |
static VDIPool | s_VDIPool |
Additional Inherited Members | |
![]() | |
static I64 | generateGUID () noexcept |
![]() | |
GraphicsResource (GFXDevice &context, Type type, I64 GUID, U64 nameHash) | |
![]() | |
NonCopyable ()=default | |
~NonCopyable ()=default | |
![]() | |
NonMovable ()=default | |
~NonMovable ()=default | |
![]() | |
const I64 | _guid |
![]() | |
GFXDevice & | _context |
Definition at line 47 of file VertexDataInterface.h.
Definition at line 49 of file VertexDataInterface.h.
using Divide::VertexDataInterface::VDIPool = ObjectPool<VertexDataInterface, 256, true> |
Definition at line 60 of file VertexDataInterface.h.
|
explicit |
Definition at line 9 of file VertexDataInterface.cpp.
|
overridevirtual |
Definition at line 15 of file VertexDataInterface.cpp.
|
pure virtual |
Implemented in Divide::noGenericVertexData, Divide::vkGenericVertexData, Divide::VertexBuffer, and Divide::glGenericVertexData.
Divide::VertexDataInterface::PROPERTY_R | ( | Handle | , |
handle | |||
) |
Divide::VertexDataInterface::PROPERTY_RW | ( | bool | , |
primitiveRestartRequired | , | ||
false | |||
) |
Definition at line 50 of file VertexDataInterface.h.
|
static |
Definition at line 61 of file VertexDataInterface.h.