VRC SDK
This project aims to completely document the VRChat Unity SDK
Loading...
Searching...
No Matches
DPIDMipmapper Class Reference
Inheritance diagram for DPIDMipmapper:
Collaboration diagram for DPIDMipmapper:

Classes

class  c__DisplayClass15_0
 
class  c__DisplayClass15_1
 

Static Public Member Functions

static void GenerateDPIDMipmaps (Texture2D input, Texture2D output, bool alphaIsTransparency, bool sRGB, bool asyncOnGPU=false, bool inPlace=true, bool inputIsGuidance=false, bool conservative=false, uint minimumSize=4u, bool normalMap=false)
 
static void GenerateDPIDMipmapsQuality (Texture2D input, Texture2D output, bool alphaIsTransparency, bool sRGB, bool conservative=false, bool normalMap=false)
 
static void GenerateDPIDMipmapsFast (Texture2D texture, bool alphaIsTransparency, bool sRGB, bool conservative=false, bool normalMap=false)
 

Properties

static DPIDMipmapper Instance [get]
 
static bool ComputeShaderReady [get]
 

Private Member Functions

 DPIDMipmapper ()
 
void ExecuteComputeShader (Texture2D input, Texture2D output, bool alphaIsTransparency, bool sRGB, bool asyncOnGPU=false, bool inPlace=true, bool inputIsGuidance=false, bool conservative=false, uint minimumSize=4u, bool normalMap=false)
 

Private Attributes

ComputeShader computeShader
 
int kernelDownsampling
 
int kernelGuidance
 

Static Private Attributes

const int THREADS = 64
 
static int TmpGuidanceProperty = Shader.PropertyToID("_TmpGuidance")
 
static int OutputProperty = Shader.PropertyToID("_Output")
 

Detailed Description

Definition at line 61 of file VRCSDKBase.cs.

Constructor & Destructor Documentation

◆ DPIDMipmapper()

DPIDMipmapper.DPIDMipmapper ( )
private

Definition at line 108 of file VRCSDKBase.cs.

Member Function Documentation

◆ ExecuteComputeShader()

void DPIDMipmapper.ExecuteComputeShader ( Texture2D  input,
Texture2D  output,
bool  alphaIsTransparency,
bool  sRGB,
bool  asyncOnGPU = false,
bool  inPlace = true,
bool  inputIsGuidance = false,
bool  conservative = false,
uint  minimumSize = 4u,
bool  normalMap = false 
)
private

Definition at line 139 of file VRCSDKBase.cs.

Here is the caller graph for this function:

◆ GenerateDPIDMipmaps()

static void DPIDMipmapper.GenerateDPIDMipmaps ( Texture2D  input,
Texture2D  output,
bool  alphaIsTransparency,
bool  sRGB,
bool  asyncOnGPU = false,
bool  inPlace = true,
bool  inputIsGuidance = false,
bool  conservative = false,
uint  minimumSize = 4u,
bool  normalMap = false 
)
static

Definition at line 123 of file VRCSDKBase.cs.

Here is the call graph for this function:

◆ GenerateDPIDMipmapsFast()

static void DPIDMipmapper.GenerateDPIDMipmapsFast ( Texture2D  texture,
bool  alphaIsTransparency,
bool  sRGB,
bool  conservative = false,
bool  normalMap = false 
)
static

Definition at line 134 of file VRCSDKBase.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GenerateDPIDMipmapsQuality()

static void DPIDMipmapper.GenerateDPIDMipmapsQuality ( Texture2D  input,
Texture2D  output,
bool  alphaIsTransparency,
bool  sRGB,
bool  conservative = false,
bool  normalMap = false 
)
static

Definition at line 128 of file VRCSDKBase.cs.

Here is the call graph for this function:

Member Data Documentation

◆ computeShader

ComputeShader DPIDMipmapper.computeShader
private

Definition at line 92 of file VRCSDKBase.cs.

◆ kernelDownsampling

int DPIDMipmapper.kernelDownsampling
private

Definition at line 94 of file VRCSDKBase.cs.

◆ kernelGuidance

int DPIDMipmapper.kernelGuidance
private

Definition at line 96 of file VRCSDKBase.cs.

◆ OutputProperty

int DPIDMipmapper.OutputProperty = Shader.PropertyToID("_Output")
staticprivate

Definition at line 102 of file VRCSDKBase.cs.

◆ THREADS

const int DPIDMipmapper.THREADS = 64
staticprivate

Definition at line 98 of file VRCSDKBase.cs.

◆ TmpGuidanceProperty

int DPIDMipmapper.TmpGuidanceProperty = Shader.PropertyToID("_TmpGuidance")
staticprivate

Definition at line 100 of file VRCSDKBase.cs.

Property Documentation

◆ ComputeShaderReady

bool DPIDMipmapper.ComputeShaderReady
staticget

Definition at line 106 of file VRCSDKBase.cs.

◆ Instance

DPIDMipmapper DPIDMipmapper.Instance
staticgetprivate

Definition at line 104 of file VRCSDKBase.cs.


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