UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
D3D11ConstantBuffer.h File Reference
#include "RenderResource.h"
#include "Stats/Stats.h"

Go to the source code of this file.

Classes

class  FD3D11ConstantBuffer
 

Macros

#define MAX_GLOBAL_CONSTANT_BUFFER_BYTE_SIZE   (16*4096)
 
#define MIN_GLOBAL_CONSTANT_BUFFER_BYTE_SIZE   128
 

Enumerations

enum  ED3D11ShaderOffsetBuffer { GLOBAL_CONSTANT_BUFFER_INDEX = 0 , MAX_CONSTANT_BUFFER_SLOTS }
 

Functions

 DECLARE_CYCLE_STAT_EXTERN (TEXT("Global Constant buffer update time"), STAT_D3D11GlobalConstantBufferUpdateTime, STATGROUP_D3D11RHI,)
 

Macro Definition Documentation

◆ MAX_GLOBAL_CONSTANT_BUFFER_BYTE_SIZE

#define MAX_GLOBAL_CONSTANT_BUFFER_BYTE_SIZE   (16*4096)

Size of the default constant buffer. Note: D3D11 allows for 64k of storage but increasing this has a negative impact on performance.

◆ MIN_GLOBAL_CONSTANT_BUFFER_BYTE_SIZE

#define MIN_GLOBAL_CONSTANT_BUFFER_BYTE_SIZE   128

Enumeration Type Documentation

◆ ED3D11ShaderOffsetBuffer

Enumerator
GLOBAL_CONSTANT_BUFFER_INDEX 

Default constant buffer.

MAX_CONSTANT_BUFFER_SLOTS 

Function Documentation

◆ DECLARE_CYCLE_STAT_EXTERN()

DECLARE_CYCLE_STAT_EXTERN ( TEXT("Global Constant buffer update time" ,
STAT_D3D11GlobalConstantBufferUpdateTime  ,
STATGROUP_D3D11RHI   
)