Berserk
Static Public Attributes | List of all members
RHILimits Struct Reference

RHI common device limits. More...

#include <RHIDefs.hpp>

Static Public Attributes

static const uint32 MAX_VERTEX_ATTRIBUTES = 8
 
static const uint32 MAX_VERTEX_BUFFERS = 8
 
static const uint32 MAX_COLOR_ATTACHMENTS = 8
 
static const uint32 MAX_SHADER_PARAM_NAME = 1024
 
static const uint32 MAX_SHADER_PARAMS_COUNT = 1024
 
static const uint32 MAX_TEXTURE_MIPMAPS = 16
 
static const uint32 MAX_SHADER_STAGES = 2
 
static const uint32 MAX_TEXTURE_CUBE_FACES = 6
 
static const uint32 MAX_FRAMES_IN_FLIGHT = 2
 
static const uint32 MAX_RESOURCE_SETS = 3
 

Detailed Description

RHI common device limits.

Member Data Documentation

◆ MAX_COLOR_ATTACHMENTS

const uint32 RHILimits::MAX_COLOR_ATTACHMENTS = 8
static

Limit somehow color attachment count

◆ MAX_FRAMES_IN_FLIGHT

const uint32 RHILimits::MAX_FRAMES_IN_FLIGHT = 2
static

Max number of simultaneously drawn frames (1 - draw frame and wait, 2 - draw and present one frame, prepare other, ...)

◆ MAX_RESOURCE_SETS

const uint32 RHILimits::MAX_RESOURCE_SETS = 3
static

Max resources sets count

◆ MAX_SHADER_PARAM_NAME

const uint32 RHILimits::MAX_SHADER_PARAM_NAME = 1024
static

Max shader param name

◆ MAX_SHADER_PARAMS_COUNT

const uint32 RHILimits::MAX_SHADER_PARAMS_COUNT = 1024
static

Max shader params count

◆ MAX_SHADER_STAGES

const uint32 RHILimits::MAX_SHADER_STAGES = 2
static

Max number of the shader stages within single shader program

◆ MAX_TEXTURE_CUBE_FACES

const uint32 RHILimits::MAX_TEXTURE_CUBE_FACES = 6
static

Max number of cube texture faces (it is cube, lol)

◆ MAX_TEXTURE_MIPMAPS

const uint32 RHILimits::MAX_TEXTURE_MIPMAPS = 16
static

Max number of mipmaps for a single texture object

◆ MAX_VERTEX_ATTRIBUTES

const uint32 RHILimits::MAX_VERTEX_ATTRIBUTES = 8
static

Vertex shader max input elements

◆ MAX_VERTEX_BUFFERS

const uint32 RHILimits::MAX_VERTEX_BUFFERS = 8
static

Vertex shader max input vertex buffers (same as elements)


The documentation for this struct was generated from the following file: