mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Add u_invModelView uniform to shader and documentation (#3421)
This commit is contained in:
@@ -3398,6 +3398,7 @@ public static class bgfx
|
||||
/// - `u_model mat4[BGFX_CONFIG_MAX_BONES]` - array of model matrices.
|
||||
/// - `u_modelView mat4` - concatenated model view matrix, only first
|
||||
/// model matrix from array is used.
|
||||
/// - `u_invModelView mat4` - inverted concatenated model view matrix.
|
||||
/// - `u_modelViewProj mat4` - concatenated model view projection matrix.
|
||||
/// - `u_alphaRef float` - alpha reference value for alpha test.
|
||||
/// </summary>
|
||||
|
||||
@@ -3353,6 +3353,7 @@ public static partial class bgfx
|
||||
/// - `u_model mat4[BGFX_CONFIG_MAX_BONES]` - array of model matrices.
|
||||
/// - `u_modelView mat4` - concatenated model view matrix, only first
|
||||
/// model matrix from array is used.
|
||||
/// - `u_invModelView mat4` - inverted concatenated model view matrix.
|
||||
/// - `u_modelViewProj mat4` - concatenated model view projection matrix.
|
||||
/// - `u_alphaRef float` - alpha reference value for alpha test.
|
||||
/// </summary>
|
||||
|
||||
@@ -2807,6 +2807,7 @@ mixin(joinFnBinds((){
|
||||
* - `u_model mat4[BGFX_CONFIG_MAX_BONES]` - array of model matrices.
|
||||
* - `u_modelView mat4` - concatenated model view matrix, only first
|
||||
* model matrix from array is used.
|
||||
* - `u_invModelView mat4` - inverted concatenated model view matrix.
|
||||
* - `u_modelViewProj mat4` - concatenated model view projection matrix.
|
||||
* - `u_alphaRef float` - alpha reference value for alpha test.
|
||||
Params:
|
||||
|
||||
@@ -2731,6 +2731,7 @@ extern fn bgfx_destroy_frame_buffer(_handle: FrameBufferHandle) void;
|
||||
/// - `u_model mat4[BGFX_CONFIG_MAX_BONES]` - array of model matrices.
|
||||
/// - `u_modelView mat4` - concatenated model view matrix, only first
|
||||
/// model matrix from array is used.
|
||||
/// - `u_invModelView mat4` - inverted concatenated model view matrix.
|
||||
/// - `u_modelViewProj mat4` - concatenated model view projection matrix.
|
||||
/// - `u_alphaRef float` - alpha reference value for alpha test.
|
||||
/// <param name="_name">Uniform name in shader.</param>
|
||||
|
||||
Reference in New Issue
Block a user