EUniformBufferBaseType

Syntax

enum EUniformBufferBaseType
{
    UBMT_INVALID,
    UBMT_BOOL,
    UBMT_INT32,
    UBMT_UINT32,
    UBMT_FLOAT32,
    UBMT_TEXTURE,
    UBMT_SRV,
    UBMT_SAMPLER,
    UBMT_RDG_TEXTURE,
    UBMT_RDG_TEXTURE_SRV,
    UBMT_RDG_TEXTURE_UAV,
    UBMT_RDG_BUFFER,
    UBMT_RDG_BUFFER_SRV,
    UBMT_RDG_BUFFER_UAV,
    UBMT_NESTED_STRUCT,
    UBMT_INCLUDED_STRUCT,
    UBMT_REFERENCED_STRUCT,
    UBMT_RENDER_TARGET_BINDING_SLOTS,
    EUniformBufferBaseType_Num,
    EUniformBufferBaseType_NumBits      = 5,
}

Values

Name

Description

UBMT_INVALID

UBMT_BOOL

Parameter types.

UBMT_INT32

UBMT_UINT32

UBMT_FLOAT32

UBMT_TEXTURE

RHI resources not tracked by render graph.

UBMT_SRV

UBMT_SAMPLER

UBMT_RDG_TEXTURE

Resources tracked by render graph.

UBMT_RDG_TEXTURE_SRV

UBMT_RDG_TEXTURE_UAV

UBMT_RDG_BUFFER

UBMT_RDG_BUFFER_SRV

UBMT_RDG_BUFFER_UAV

UBMT_NESTED_STRUCT

Nested structure.

UBMT_INCLUDED_STRUCT

Structure that is nested on C++ side, but included on shader side.

UBMT_REFERENCED_STRUCT

GPU Indirection reference of struct, like is currently named Uniform buffer.

UBMT_RENDER_TARGET_BINDING_SLOTS

Structure dedicated to setup render targets for a rasterizer pass.

EUniformBufferBaseType_Num

EUniformBufferBaseType_NumBits

Remarks

The base type of a value in a uniform buffer.

References

Module

RHI

Header

Runtime/RHI/Public/RHIDefinitions.h