Megadocs 0.0.1
All of megapop's internal libraries
Megapop.Amalgam.Editor.TextureRendering Class Reference

Static Public Member Functions

static Material CreateMaterial (string shaderName)
 

Static Public Attributes

static readonly int SourceChannelId = Shader.PropertyToID("_SourceChannel")
 
static readonly int SourceConversionId = Shader.PropertyToID("_SourceConversion")
 
static readonly int ColorMaskId = Shader.PropertyToID("_ColorMask")
 
const string ChannelPreviewShaderName = "Hidden/TexturePacker/DisplayChannel"
 
const string WriteToChannelShaderName = "Hidden/TexturePacker/WriteToChannel"
 
const string InspectorPreviewShaderName = "Hidden/TexturePacker/InspectorPreview"
 

Member Function Documentation

◆ CreateMaterial()

static Material Megapop.Amalgam.Editor.TextureRendering.CreateMaterial ( string  shaderName)
inlinestatic

Member Data Documentation

◆ ChannelPreviewShaderName

const string Megapop.Amalgam.Editor.TextureRendering.ChannelPreviewShaderName = "Hidden/TexturePacker/DisplayChannel"
static

◆ ColorMaskId

readonly int Megapop.Amalgam.Editor.TextureRendering.ColorMaskId = Shader.PropertyToID("_ColorMask")
static

◆ InspectorPreviewShaderName

const string Megapop.Amalgam.Editor.TextureRendering.InspectorPreviewShaderName = "Hidden/TexturePacker/InspectorPreview"
static

◆ SourceChannelId

readonly int Megapop.Amalgam.Editor.TextureRendering.SourceChannelId = Shader.PropertyToID("_SourceChannel")
static

◆ SourceConversionId

readonly int Megapop.Amalgam.Editor.TextureRendering.SourceConversionId = Shader.PropertyToID("_SourceConversion")
static

◆ WriteToChannelShaderName

const string Megapop.Amalgam.Editor.TextureRendering.WriteToChannelShaderName = "Hidden/TexturePacker/WriteToChannel"
static

The documentation for this class was generated from the following file: