C# Class UnityEngine.RenderTargetSetup

Show file Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Properties

Property Type Description
color UnityEngine.RenderBuffer[]
colorLoad RenderBufferLoadAction[]
colorStore RenderBufferStoreAction[]
cubemapFace CubemapFace
depth RenderBuffer
depthLoad RenderBufferLoadAction
depthSlice int
depthStore RenderBufferStoreAction
mipLevel int

Public Methods

Method Description
RenderTargetSetup ( RenderBuffer color, RenderBuffer depth ) : System

Constructs RenderTargetSetup.

RenderTargetSetup ( RenderBuffer color, RenderBuffer depth, int mipLevel ) : System

Constructs RenderTargetSetup.

RenderTargetSetup ( RenderBuffer color, RenderBuffer depth, int mipLevel, CubemapFace face ) : System

Constructs RenderTargetSetup.

RenderTargetSetup ( RenderBuffer color, RenderBuffer depth, int mip, CubemapFace face, RenderBufferLoadAction colorLoad, RenderBufferStoreAction colorStore, RenderBufferLoadAction depthLoad, RenderBufferStoreAction depthStore ) : System
RenderTargetSetup ( RenderBuffer color, RenderBuffer depth, int mipLevel, CubemapFace face, int depthSlice ) : System

Private Methods

Method Description
LoadActions ( RenderBuffer buf ) : RenderBufferLoadAction[]
StoreActions ( RenderBuffer buf ) : RenderBufferStoreAction[]

Method Details

RenderTargetSetup() public method

Constructs RenderTargetSetup.

public RenderTargetSetup ( RenderBuffer color, RenderBuffer depth ) : System
color RenderBuffer Color Buffer(s) to set.
depth RenderBuffer Depth Buffer to set.
return System

RenderTargetSetup() public method

Constructs RenderTargetSetup.

public RenderTargetSetup ( RenderBuffer color, RenderBuffer depth, int mipLevel ) : System
color RenderBuffer Color Buffer(s) to set.
depth RenderBuffer Depth Buffer to set.
mipLevel int Mip Level to render to.
return System

RenderTargetSetup() public method

Constructs RenderTargetSetup.

public RenderTargetSetup ( RenderBuffer color, RenderBuffer depth, int mipLevel, CubemapFace face ) : System
color RenderBuffer Color Buffer(s) to set.
depth RenderBuffer Depth Buffer to set.
mipLevel int Mip Level to render to.
face CubemapFace Cubemap face to render to.
return System

RenderTargetSetup() public method

public RenderTargetSetup ( RenderBuffer color, RenderBuffer depth, int mip, CubemapFace face, RenderBufferLoadAction colorLoad, RenderBufferStoreAction colorStore, RenderBufferLoadAction depthLoad, RenderBufferStoreAction depthStore ) : System
color RenderBuffer
depth RenderBuffer
mip int
face CubemapFace
colorLoad RenderBufferLoadAction
colorStore RenderBufferStoreAction
depthLoad RenderBufferLoadAction
depthStore RenderBufferStoreAction
return System

RenderTargetSetup() public method

public RenderTargetSetup ( RenderBuffer color, RenderBuffer depth, int mipLevel, CubemapFace face, int depthSlice ) : System
color RenderBuffer
depth RenderBuffer
mipLevel int
face CubemapFace
depthSlice int
return System

Property Details

color public property

Color Buffers to set.

public RenderBuffer[],UnityEngine color
return UnityEngine.RenderBuffer[]

colorLoad public property

Load Actions for Color Buffers. It will override any actions set on RenderBuffers themselves.

public RenderBufferLoadAction[] colorLoad
return RenderBufferLoadAction[]

colorStore public property

Store Actions for Color Buffers. It will override any actions set on RenderBuffers themselves.

public RenderBufferStoreAction[] colorStore
return RenderBufferStoreAction[]

cubemapFace public property

Cubemap face to render to.

public CubemapFace cubemapFace
return CubemapFace

depth public property

Depth Buffer to set.

public RenderBuffer,UnityEngine depth
return RenderBuffer

depthLoad public property

Load Action for Depth Buffer. It will override any actions set on RenderBuffer itself.

public RenderBufferLoadAction depthLoad
return RenderBufferLoadAction

depthSlice public property

Slice of a Texture3D or Texture2DArray to set as a render target.

public int depthSlice
return int

depthStore public property

Store Actions for Depth Buffer. It will override any actions set on RenderBuffer itself.

public RenderBufferStoreAction depthStore
return RenderBufferStoreAction

mipLevel public property

Mip Level to render to.

public int mipLevel
return int