C# Class Fusion.Drivers.Graphics.SamplerState

Inheritance: System.DisposableBase
ファイルを表示 Open project: demiurghg/FusionEngine Class Usage Examples

Public Methods

Method Description
Create ( Filter filter, AddressMode addressMode, Color4 borderColor, ComparisonFunc cmpFunc = ComparisonFunc.Always, int maxMipLevel = int.MaxValue ) : SamplerState

Creates a new instance of sampler state

PipelineBoundCheck ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Disposes stuff

Private Methods

Method Description
Apply ( GraphicsDevice device ) : SharpDX.Direct3D11.SamplerState

DisposeStates ( ) : void

Immediately releases the unmanaged resources used by this object.

SamplerState ( ) : System

Creates stock states

Method Details

Create() public static method

Creates a new instance of sampler state
public static Create ( Filter filter, AddressMode addressMode, Color4 borderColor, ComparisonFunc cmpFunc = ComparisonFunc.Always, int maxMipLevel = int.MaxValue ) : SamplerState
filter Filter
addressMode AddressMode
borderColor Color4
cmpFunc ComparisonFunc
maxMipLevel int
return SamplerState

Dispose() protected method

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

PipelineBoundCheck() public method

public PipelineBoundCheck ( ) : void
return void