![]() |
Rise
The Vieneo Province
|
#include <Geometry11.h>
Classes | |
| struct | Converted |
Public Member Functions | |
| Geometry11 ()=default | |
| Geometry11 (const Geometry11 &)=delete | |
| Geometry11 & | operator= (const Geometry11 &)=delete |
| Geometry11 (Geometry11 &&)=default | |
| Geometry11 & | operator= (Geometry11 &&)=default |
| HRESULT | Create (ID3D11Device *device, UINT bytes, bool dynamic, bool index=false, bool indices32=false) |
| HRESULT | Lock (UINT offset, UINT size, void **destination, bool readOnly=false, bool discard=false) |
| HRESULT | Unlock () |
| HRESULT | BindVertices (ID3D11DeviceContext *context, const VertexLayout11 &layout, UINT byteOffset, bool canonical) |
| HRESULT | BindIndices (ID3D11DeviceContext *context) |
| HRESULT | NativeBuffer (ID3D11DeviceContext *context, ID3D11Buffer **result) |
| const std::vector< uint8_t > & | Bytes () const |
| UINT | Size () const |
| bool | Indices32 () const |
| bool | Locked () const |
| uint64_t | Revision () const |
| void | ReleaseDevice () |
| HRESULT | RestoreDevice (ID3D11Device *device) |
| void | Reset () |
Private Member Functions | |
| HRESULT | Upload (ID3D11DeviceContext *context) |
Private Attributes | |
| Microsoft::WRL::ComPtr< ID3D11Device > | device |
| Microsoft::WRL::ComPtr< ID3D11Buffer > | native |
| std::vector< uint8_t > | bytes |
| std::map< VertexLayout11, Converted > | converted |
| uint64_t | revision =1 |
| uint64_t | uploaded =0 |
| bool | dynamic =false |
| bool | index =false |
| bool | indices32 =false |
| bool | locked =false |
| bool | readOnly =false |
Definition at line 23 of file Geometry11.h.
|
default |
|
delete |
|
default |
| HRESULT Rendering::Geometry11::BindIndices | ( | ID3D11DeviceContext * | context | ) |
Definition at line 99 of file Geometry11.cpp.
| HRESULT Rendering::Geometry11::BindVertices | ( | ID3D11DeviceContext * | context, |
| const VertexLayout11 & | layout, | ||
| UINT | byteOffset, | ||
| bool | canonical ) |
Definition at line 104 of file Geometry11.cpp.
|
inline |
| HRESULT Rendering::Geometry11::Create | ( | ID3D11Device * | device, |
| UINT | bytes, | ||
| bool | dynamic, | ||
| bool | index = false, | ||
| bool | indices32 = false ) |
Definition at line 44 of file Geometry11.cpp.
|
inline |
| HRESULT Rendering::Geometry11::Lock | ( | UINT | offset, |
| UINT | size, | ||
| void ** | destination, | ||
| bool | readOnly = false, | ||
| bool | discard = false ) |
Definition at line 65 of file Geometry11.cpp.
|
inline |
Definition at line 40 of file Geometry11.h.
| HRESULT Rendering::Geometry11::NativeBuffer | ( | ID3D11DeviceContext * | context, |
| ID3D11Buffer ** | result ) |
Definition at line 94 of file Geometry11.cpp.
|
delete |
|
default |
| void Rendering::Geometry11::ReleaseDevice | ( | ) |
| void Rendering::Geometry11::Reset | ( | ) |
Definition at line 39 of file Geometry11.cpp.
| HRESULT Rendering::Geometry11::RestoreDevice | ( | ID3D11Device * | device | ) |
Definition at line 55 of file Geometry11.cpp.
|
inline |
|
inline |
| HRESULT Rendering::Geometry11::Unlock | ( | ) |
Definition at line 75 of file Geometry11.cpp.
|
private |
Definition at line 80 of file Geometry11.cpp.
|
private |
Definition at line 55 of file Geometry11.h.
|
private |
Definition at line 56 of file Geometry11.h.
|
private |
Definition at line 53 of file Geometry11.h.
|
private |
Definition at line 58 of file Geometry11.h.
|
private |
Definition at line 58 of file Geometry11.h.
|
private |
Definition at line 58 of file Geometry11.h.
|
private |
Definition at line 58 of file Geometry11.h.
|
private |
Definition at line 54 of file Geometry11.h.
|
private |
Definition at line 58 of file Geometry11.h.
|
private |
Definition at line 57 of file Geometry11.h.
|
private |
Definition at line 57 of file Geometry11.h.