mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-07 22:40:44 +00:00
Merge pull request #1655 from Azaezel/alpha41/exposedBone
Some checks failed
Linux Build / ${{matrix.config.name}} (map[build_type:Release cc:gcc cxx:g++ generator:Ninja name:Ubuntu Latest GCC]) (push) Has been cancelled
MacOSX Build / ${{matrix.config.name}} (map[build_type:Release cc:clang cxx:clang++ generator:Ninja name:MacOSX Latest Clang]) (push) Has been cancelled
Windows Build / ${{matrix.config.name}} (map[build_type:Release cc:cl cxx:cl environment_script:C:/Program Files (x86)/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars64.bat generator:Visual Studio 17 2022 name:Windows Latest MSVC]) (push) Has been cancelled
Some checks failed
Linux Build / ${{matrix.config.name}} (map[build_type:Release cc:gcc cxx:g++ generator:Ninja name:Ubuntu Latest GCC]) (push) Has been cancelled
MacOSX Build / ${{matrix.config.name}} (map[build_type:Release cc:clang cxx:clang++ generator:Ninja name:MacOSX Latest Clang]) (push) Has been cancelled
Windows Build / ${{matrix.config.name}} (map[build_type:Release cc:cl cxx:cl environment_script:C:/Program Files (x86)/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars64.bat generator:Visual Studio 17 2022 name:Windows Latest MSVC]) (push) Has been cancelled
provide a global scriped variable for TSShape::smMaxSkinBones
This commit is contained in:
commit
5db8c75083
1 changed files with 4 additions and 0 deletions
|
|
@ -75,6 +75,10 @@ MODULE_BEGIN( TSShapeInstance )
|
|||
"@brief Enables mesh instancing on non-skin meshes that have less that this count of verts.\n"
|
||||
"The default value is 2000. Higher values can degrade performance.\n"
|
||||
"@ingroup Rendering\n" );
|
||||
|
||||
Con::addVariable("$MaxSkinBones", TypeS32, &TSShape::smMaxSkinBones,
|
||||
"@brief Max number of bones allowed by a given shape for hardwar skinning. Default 70\n"
|
||||
"@ingroup Rendering\n");
|
||||
}
|
||||
|
||||
MODULE_END;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue