C# Class Fusion.Drivers.Graphics.DepthStencilCube

Inheritance: ShaderResource
Show file Open project: demiurghg/FusionEngine

Public Methods

Method Description
BuildMipmaps ( ) : void

Builds mipmap chain.

DepthStencilCube ( GraphicsDevice device, DepthFormat format, int size, int samples, string debugName = "" ) : System

Creates render target

GetSurface ( CubeFace face ) : DepthStencilSurface

Gets render target surface for given mip level.

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

DepthStencilCube() public method

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

Dispose() protected method

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

GetSurface() public method

Gets render target surface for given mip level.
public GetSurface ( CubeFace face ) : DepthStencilSurface
face CubeFace
return DepthStencilSurface

SetViewport() public method

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