Rendering module of the engine.
More...
Rendering module of the engine.
Provides access to engine low-level and high-level rendering functionality, required for the rendering of the complex 2d/3d scenes as well as auxiliary features for debugging.
Implements such primitives as high-level shaders, materials, provides low-level abstraction for render view, render objects, auxiliary debug draw features.
Also provides abstraction for 3d scene, high-level render objects, meshes, post effects, high-level graphics pipelines.
◆ MeshFormat
◆ ShaderTechniqueTags
◆ ShaderVariation
◆ MeshAttribute
Enumerator |
---|
Position | float vec3
|
Normal | float vec3
|
Tangent | float vec3
|
Color | float vec3
|
UV | float vec2
|
UV2 | float vec2
|
Weights | float vec4
|
Bones | int vec4
|
◆ ShaderParamType
Enumerator |
---|
Texture | Texture resource (some of RHI texture 2d, array, cube and etc.)
|
Data | Raw data value (some of vec of int, float values and etc.)
|
Unknown | Unspecified
|
◆ ShaderTechniqueTag
◆ Build()
void ShaderParams::Build |
( |
| ) |
|
|
protected |
Define params layout and build look-up structure
◆ GetDataParamsInfo()
◆ GetDataSize()
uint32 ShaderParams::GetDataSize |
( |
| ) |
const |
|
inline |
Byte size of buffer required to pack all data params
◆ GetDefaultDataValues()
BRK_API const std::vector<unsigned char>& ShaderParams::GetDefaultDataValues |
( |
| ) |
const |
|
inline |
- Returns
- Default data params values
◆ GetParam() [1/2]
◆ GetParam() [2/2]
◆ GetParamId()
◆ GetParamLight() [1/2]
◆ GetParamLight() [2/2]
◆ GetParamLookUp()
◆ GetParams()
◆ GetParamsLight()
◆ GetTextureParamsInfo()
- Returns
- Texture params info
◆ GetTexturesCount()
uint32 ShaderParams::GetTexturesCount |
( |
| ) |
const |
|
inline |
Total number of textures (includes array size factor)
◆ HasParam()
bool ShaderParams::HasParam |
( |
const StringName & |
name | ) |
const |
- Returns
- Check if has param
◆ InitDefaults()
void ShaderParams::InitDefaults |
( |
| ) |
|
|
protected |
◆ MeshGetAttributeInfo()
◆ ShaderParams()
CreateFromImage params layout from list of params
◆ ~ShaderParams()
BRK_API ShaderParams::~ShaderParams |
( |
| ) |
|
|
overridedefault |
◆ arraySize [1/2]
uint32 ShaderParam::arraySize = 1 |
Size of array (if more than 1 value within a param)
◆ arraySize [2/2]
uint32 ShaderParams::ShaderParamLight::arraySize = 0u |
◆ defaultValue
String ShaderParam::defaultValue |
Optional default param value
◆ description
String ShaderParam::description |
Optional param description
◆ info [1/2]
uint32 ShaderParam::info = 0xffffffff |
◆ info [2/2]
uint32 ShaderParams::ShaderParamLight::info = 0xffffffff |
◆ INVALID_ID
const uint32 ShaderParams::INVALID_ID = 0xffffffff |
|
static |
◆ name
Name of the param to set in material
◆ offset [1/2]
uint32 ShaderParams::DataParamInfo::offset = 0 |
◆ offset [2/2]
uint32 ShaderParams::TextureParamInfo::offset = 0 |
◆ size
uint32 ShaderParams::DataParamInfo::size = 0 |
◆ type [1/2]
◆ type [2/2]
◆ typeData [1/2]
[Internal] RHI type of variable
◆ typeData [2/2]
◆ typeParam [1/2]
[Internal] RHI type of variable
◆ typeParam [2/2]
◆ uiName
Optional param name displayed for the user