C# Class Fusion.Drivers.Graphics.Converter

Fusion-to-SharpDX enum converter
显示文件 Open project: demiurghg/FusionEngine

Public Methods

Method Description
Convert ( BlendOp op ) : BlendOperation
Convert ( Blend blend ) : BlendOption
Convert ( SharpDX.DXGI.Format format ) : ColorFormat
Convert ( ComparisonFunc cmp ) : SharpDX.Direct3D11.Comparison
Convert ( FillMode fillMode ) : SharpDX.Direct3D11.FillMode
Convert ( Filter filter ) : SharpDX.Direct3D11.Filter
Convert ( Primitive primitive ) : PrimitiveTopology
Convert ( ColorFormat format ) : SharpDX.DXGI.Format
Convert ( VertexFormat format ) : SharpDX.DXGI.Format
Convert ( StencilOp op ) : StencilOperation
Convert ( AddressMode addressMode ) : SharpDX.Direct3D11.TextureAddressMode
ConvertToDSV ( DepthFormat format ) : SharpDX.DXGI.Format
ConvertToSRV ( DepthFormat format ) : SharpDX.DXGI.Format
ConvertToTex ( DepthFormat format ) : SharpDX.DXGI.Format
SizeOf ( ColorFormat format ) : int
SizeOf ( VertexFormat format ) : int

Method Details

Convert() public static method

public static Convert ( BlendOp op ) : BlendOperation
op BlendOp
return BlendOperation

Convert() public static method

public static Convert ( Blend blend ) : BlendOption
blend Blend
return BlendOption

Convert() public static method

public static Convert ( SharpDX.DXGI.Format format ) : ColorFormat
format SharpDX.DXGI.Format
return ColorFormat

Convert() public static method

public static Convert ( ComparisonFunc cmp ) : SharpDX.Direct3D11.Comparison
cmp ComparisonFunc
return SharpDX.Direct3D11.Comparison

Convert() public static method

public static Convert ( FillMode fillMode ) : SharpDX.Direct3D11.FillMode
fillMode FillMode
return SharpDX.Direct3D11.FillMode

Convert() public static method

public static Convert ( Filter filter ) : SharpDX.Direct3D11.Filter
filter Filter
return SharpDX.Direct3D11.Filter

Convert() public static method

public static Convert ( Primitive primitive ) : PrimitiveTopology
primitive Primitive
return PrimitiveTopology

Convert() public static method

public static Convert ( ColorFormat format ) : SharpDX.DXGI.Format
format ColorFormat
return SharpDX.DXGI.Format

Convert() public static method

public static Convert ( VertexFormat format ) : SharpDX.DXGI.Format
format VertexFormat
return SharpDX.DXGI.Format

Convert() public static method

public static Convert ( StencilOp op ) : StencilOperation
op StencilOp
return StencilOperation

Convert() public static method

public static Convert ( AddressMode addressMode ) : SharpDX.Direct3D11.TextureAddressMode
addressMode AddressMode
return SharpDX.Direct3D11.TextureAddressMode

ConvertToDSV() public static method

public static ConvertToDSV ( DepthFormat format ) : SharpDX.DXGI.Format
format DepthFormat
return SharpDX.DXGI.Format

ConvertToSRV() public static method

public static ConvertToSRV ( DepthFormat format ) : SharpDX.DXGI.Format
format DepthFormat
return SharpDX.DXGI.Format

ConvertToTex() public static method

public static ConvertToTex ( DepthFormat format ) : SharpDX.DXGI.Format
format DepthFormat
return SharpDX.DXGI.Format

SizeOf() public static method

public static SizeOf ( ColorFormat format ) : int
format ColorFormat
return int

SizeOf() public static method

public static SizeOf ( VertexFormat format ) : int
format VertexFormat
return int