Skip to main content

AtlasSettings.ShaderBlits

A private class in Root.Township, Alta.Utilities.Atlas. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.

One shader the texture atlas tool supports, with the blit shaders it uses to copy diffuse, normal and emission maps into an atlas. Listed in AtlasSettings.

Constructors​

MemberWhat it is
ShaderBlits()Creates an AtlasSettings.ShaderBlits with default values.

Fields​

MemberWhat it is
string nameDisplay name. Filled from the last part of the shader's name if left empty.
5 private and internal fields
MemberWhat it is
private Shader diffuseBlitBacking field for DiffuseBlit.
private Shader emissionBlitBacking field for EmissionBlit.
private Shader normalBlitBacking field for NormalBlit.
private Shader shaderBacking field for Shader.
private AtlasType typeBacking field for Type.

Properties​

MemberWhat it is
Shader DiffuseBlit { get; }Shader used to blit the diffuse map. GetBlitMaterials makes a new material from it.
Shader EmissionBlit { get; }Shader used to blit the emission map.
Shader NormalBlit { get; }Shader used to blit the normal map.
Shader Shader { get; }The material shader this entry supports.
AtlasType Type { get; }Atlas type returned for this shader by IsShaderSupported.

Used in​

Members of other types that take, return or hold a ShaderBlits: