A D3D constant buffer 更多...
#include <D3D12ConstantBuffer.h>
继承自 FD3D12DeviceChild .
Public 成员函数 | |
| FORCEINLINE void | UpdateConstant (const uint8 *Data, uint16 Offset, uint16 InSize) |
| Updates a variable in the constant buffer. 更多... | |
Protected 属性 | |
| uint32 | CurrentUpdateSize |
| Size of all constants that has been updated since the last call to Commit. | |
| uint32 | TotalUpdateSize |
| Size of all constants that has been updated since the last Discard. 更多... | |
A D3D constant buffer
|
inline |
Updates a variable in the constant buffer.
| Data | - The data to copy into the constant buffer |
| Offset | - The offset in the constant buffer to place the data at |
| InSize | - The size of the data being copied |
|
protected |
Size of all constants that has been updated since the last Discard.
Includes "shared" constants that don't necessarily gets updated between every Commit.