Table of Contents

Class AtmosphereTextureBuffer

Namespace
KSP.Rendering
Assembly
Assembly-CSharp.dll
public class AtmosphereTextureBuffer
Inheritance
AtmosphereTextureBuffer
Inherited Members
Extension Methods

Constructors

AtmosphereTextureBuffer(bool)

public AtmosphereTextureBuffer(bool halfPrecision)

Parameters

halfPrecision bool

Fields

IrradianceTexture

public Texture2D IrradianceTexture

Field Value

Texture2D

ScatteringTexture

public Texture3D ScatteringTexture

Field Value

Texture3D

TransmittanceTexture

public Texture2D TransmittanceTexture

Field Value

Texture2D

Properties

DeltaIrradianceTexture

public RenderTexture DeltaIrradianceTexture { get; }

Property Value

RenderTexture

DeltaMieScatteringTexture

public RenderTexture DeltaMieScatteringTexture { get; }

Property Value

RenderTexture

DeltaMultipleScatteringTexture

public RenderTexture DeltaMultipleScatteringTexture { get; }

Property Value

RenderTexture

DeltaRayleighScatteringTexture

public RenderTexture DeltaRayleighScatteringTexture { get; }

Property Value

RenderTexture

DeltaScatteringDensityTexture

public RenderTexture DeltaScatteringDensityTexture { get; }

Property Value

RenderTexture

IrradianceArray

public RenderTexture[] IrradianceArray { get; }

Property Value

RenderTexture[]

OptionalSingleMieScatteringArray

public RenderTexture[] OptionalSingleMieScatteringArray { get; }

Property Value

RenderTexture[]

ScatteringArray

public RenderTexture[] ScatteringArray { get; }

Property Value

RenderTexture[]

TransmittanceArray

public RenderTexture[] TransmittanceArray { get; }

Property Value

RenderTexture[]

Methods

Clear(ComputeShader)

public void Clear(ComputeShader compute)

Parameters

compute ComputeShader

Copy3DSliceToRenderTexture(ComputeShader, RenderTexture, int)

public static RenderTexture Copy3DSliceToRenderTexture(ComputeShader compute, RenderTexture source, int layer)

Parameters

compute ComputeShader
source RenderTexture
layer int

Returns

RenderTexture

CopyFromRenderTexture(ComputeShader, RenderTexture, ref Texture3D)

public static void CopyFromRenderTexture(ComputeShader compute, RenderTexture src, ref Texture3D dest)

Parameters

compute ComputeShader
src RenderTexture
dest Texture3D

CopyFromRenderTexture(RenderTexture, ref Texture2D)

public static void CopyFromRenderTexture(RenderTexture src, ref Texture2D dest)

Parameters

src RenderTexture
dest Texture2D

CopyFromRenderTextures(ComputeShader, int)

public void CopyFromRenderTextures(ComputeShader compute, int index)

Parameters

compute ComputeShader
index int

NewRenderTexture2D(int, int, bool)

public static RenderTexture NewRenderTexture2D(int width, int height, bool halfPrecision)

Parameters

width int
height int
halfPrecision bool

Returns

RenderTexture

NewRenderTexture3D(int, int, int, bool)

public static RenderTexture NewRenderTexture3D(int width, int height, int depth, bool halfPrecision)

Parameters

width int
height int
depth int
halfPrecision bool

Returns

RenderTexture

NewTexture2D(int, int, bool)

public static Texture2D NewTexture2D(int width, int height, bool halfPrecision)

Parameters

width int
height int
halfPrecision bool

Returns

Texture2D

NewTexture3D(int, int, int, bool)

public static Texture3D NewTexture3D(int width, int height, int depth, bool halfPrecision)

Parameters

width int
height int
depth int
halfPrecision bool

Returns

Texture3D

Release()

public void Release()