C# Class Fusion.Drivers.Graphics.RenderTargetCube

Inheritance: ShaderResource
Afficher le fichier Open project: demiurghg/FusionEngine Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Disposes

Method Details

BuildMipmaps() public méthode

Builds mipmap chain.
public BuildMipmaps ( ) : void
Résultat void

Create() public méthode

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
Résultat void

Dispose() protected méthode

Disposes
protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

GetCubeShaderResource() public méthode

public GetCubeShaderResource ( int mipLevel ) : ShaderResource
mipLevel int
Résultat ShaderResource

GetSurface() public méthode

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

RenderTargetCube() public méthode

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
Résultat System

RenderTargetCube() public méthode

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
Résultat System

RenderTargetCube() public méthode

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

SetViewport() public méthode

Sets viewport for given render target
public SetViewport ( ) : void
Résultat void