Tiny refactor

This commit is contained in:
2024-10-18 16:12:24 +02:00
parent 8ee000ab74
commit 1d5b4499a4
38 changed files with 645 additions and 637 deletions

View File

@@ -3005,10 +3005,10 @@ anon_enum_31 :: enum s32 {
}
ufbx_shader_texture_input :: struct {
// Name of the input.
// Name of the engine.input.
name: ufbx_string;
// Constant value of the input.
// Constant value of the engine.input.
union {
value_real: ufbx_real;
value_vec2: ufbx_vec2;
@@ -3020,7 +3020,7 @@ ufbx_shader_texture_input :: struct {
value_str: ufbx_string;
value_blob: ufbx_blob;
// Texture connected to this input.
// Texture connected to this engine.input.
texture: *ufbx_texture;
// Index of the output to use if `texture` is a multi-output shader node.
@@ -3030,7 +3030,7 @@ ufbx_shader_texture_input :: struct {
// NOTE: Some shading models allow this to be `true` even if `texture == NULL`.
texture_enabled: bool;
// Property representing this input.
// Property representing this engine.input.
prop: *ufbx_prop;
// Property representing `texture`.
@@ -3056,7 +3056,7 @@ ufbx_shader_texture :: struct {
shader_type_id: u64;
// Input values/textures (possibly further shader textures) to the shader.
// Sorted by `ufbx_shader_texture_input.name`.
// Sorted by `ufbx_shader_texture_engine.input.name`.
inputs: ufbx_shader_texture_input_list;
// Shader source code if found.