s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
jams
Workshop
Steam
open_in_new
Steam Workshop
Assets
view_in_ar
Models
texture
Materials
apparel
Clothing
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
Get s&box
Sign in with Steam
Api
Classes
AggregateRenderer
chevron_left
Classes
class
AggregateRenderer
Constructors
functions
AggregateRenderer
Properties
data_object
CastShadows
data_object
Fragments
data_object
Model
data_object
Tint
Static Properties
data_object
MaxFragments
AggregateRenderer
Draws compiled geometry. Each draw call is drawn and culled as a fragment, transformed with this object and its fragment's local transform, and submitted together as a single indirect draw.
class
Sandbox
.
account_tree
extends
Renderer
sealed
Sandbox.Engine
build
Constructors
1
AggregateRenderer
(
)
data_object
Properties
4
CastShadows
bool
Fragments
List`1
Baked at compile time - one entry per draw call of Sandbox.AggregateRenderer.Model.
Model
Model
Baked at compile time - one model per material, one draw call per fragment.
Tint
Color
Multiplied with the material. One tint covers the whole aggregate, so geometry is only baked together when it shares a tint.
data_object
Static Properties
1
MaxFragments
int
Inheritance
Component
Renderer
AggregateRenderer
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.