C# Class Fusion.Drivers.Graphics.RenderTargetCube

Inheritance: ShaderResource
Mostra file Open project: demiurghg/FusionEngine Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
BuildMipmaps ( ) : void

Builds mipmap chain.

Create ( ColorFormat format, int size, int samples, bool mips, string debugName ) : void

Creates render target

GetCubeShaderResource ( int mipLevel ) : ShaderResource
GetSurface ( int mipLevel, CubeFace face ) : RenderTargetSurface

Gets render target surface for given mip level.

RenderTargetCube ( GraphicsDevice device, ColorFormat format, int size, bool mips, string debugName = "" ) : System

Creates render target

RenderTargetCube ( GraphicsDevice device, ColorFormat format, int size, int samples, string debugName = "" ) : System

Creates render target

RenderTargetCube ( GraphicsDevice device, ColorFormat format, int size, string debugName = "" ) : System

Creates render target

SetViewport ( ) : void

Sets viewport for given render target

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Disposes

Method Details

BuildMipmaps() public method

Builds mipmap chain.
public BuildMipmaps ( ) : void
return void

Create() public method

Creates render target
public Create ( ColorFormat format, int size, int samples, bool mips, string debugName ) : void
format ColorFormat
size int
samples int
mips bool
debugName string
return void

Dispose() protected method

Disposes
protected Dispose ( bool disposing ) : void
disposing bool
return void

GetCubeShaderResource() public method

public GetCubeShaderResource ( int mipLevel ) : ShaderResource
mipLevel int
return ShaderResource

GetSurface() public method

Gets render target surface for given mip level.
public GetSurface ( int mipLevel, CubeFace face ) : RenderTargetSurface
mipLevel int
face CubeFace
return RenderTargetSurface

RenderTargetCube() public method

Creates render target
public RenderTargetCube ( GraphicsDevice device, ColorFormat format, int size, bool mips, string debugName = "" ) : System
device GraphicsDevice
format ColorFormat
size int
mips bool
debugName string
return System

RenderTargetCube() public method

Creates render target
public RenderTargetCube ( GraphicsDevice device, ColorFormat format, int size, int samples, string debugName = "" ) : System
device GraphicsDevice
format ColorFormat
size int
samples int
debugName string
return System

RenderTargetCube() public method

Creates render target
public RenderTargetCube ( GraphicsDevice device, ColorFormat format, int size, string debugName = "" ) : System
device GraphicsDevice
format ColorFormat
size int
debugName string
return System

SetViewport() public method

Sets viewport for given render target
public SetViewport ( ) : void
return void