engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Protected 属性 | 所有成员列表
FD3D12ConstantBuffer类 参考

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

成员函数说明

◆ UpdateConstant()

FORCEINLINE void FD3D12ConstantBuffer::UpdateConstant ( const uint8 *  Data,
uint16  Offset,
uint16  InSize 
)
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

类成员变量说明

◆ TotalUpdateSize

uint32 FD3D12ConstantBuffer::TotalUpdateSize
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.


该类的文档由以下文件生成: