C# 클래스 Fusion.Drivers.Graphics.ShaderResource

상속: GraphicsResource
파일 보기 프로젝트 열기: demiurghg/FusionEngine 1 사용 예제들

공개 메소드들

메소드 설명
CalculateMipLevels ( int width, int height, int depth ) : int

Calculates total number of mip levels

GetMipSize ( int size, int mipLevel ) : int

Gets the mip size of resource of giveb size at given mip level.

GetPitch ( ColorFormat format, int width ) : int

Computes shader resource pitch

보호된 메소드들

메소드 설명
CheckSamplesCount ( int samples ) : void

Dispose ( bool disposing ) : void

Disposes

MakeSRgb ( SharpDX.DXGI format ) : SharpDX.DXGI.Format

Makes SRgb format from UNorm or Typless.

MakeTypeless ( SharpDX.DXGI format ) : SharpDX.DXGI.Format

Makes Typless format from UNorm or SRgb

ShaderResource ( GraphicsDevice device ) : System

ShaderResource ( GraphicsDevice device, SharpDX.Direct3D11.ShaderResourceView srv, int w, int h, int d ) : System

메소드 상세

CalculateMipLevels() 공개 정적인 메소드

Calculates total number of mip levels
public static CalculateMipLevels ( int width, int height, int depth ) : int
width int
height int
depth int
리턴 int

CheckSamplesCount() 보호된 메소드

protected CheckSamplesCount ( int samples ) : void
samples int
리턴 void

Dispose() 보호된 메소드

Disposes
protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

GetMipSize() 공개 정적인 메소드

Gets the mip size of resource of giveb size at given mip level.
public static GetMipSize ( int size, int mipLevel ) : int
size int Original size
mipLevel int Mip level
리턴 int

GetPitch() 공개 정적인 메소드

Computes shader resource pitch
public static GetPitch ( ColorFormat format, int width ) : int
format ColorFormat
width int
리턴 int

MakeSRgb() 보호된 메소드

Makes SRgb format from UNorm or Typless.
protected MakeSRgb ( SharpDX.DXGI format ) : SharpDX.DXGI.Format
format SharpDX.DXGI
리턴 SharpDX.DXGI.Format

MakeTypeless() 보호된 메소드

Makes Typless format from UNorm or SRgb
protected MakeTypeless ( SharpDX.DXGI format ) : SharpDX.DXGI.Format
format SharpDX.DXGI
리턴 SharpDX.DXGI.Format

ShaderResource() 보호된 메소드

protected ShaderResource ( GraphicsDevice device ) : System
device GraphicsDevice
리턴 System

ShaderResource() 보호된 메소드

protected ShaderResource ( GraphicsDevice device, SharpDX.Direct3D11.ShaderResourceView srv, int w, int h, int d ) : System
device GraphicsDevice
srv SharpDX.Direct3D11.ShaderResourceView
w int
h int
d int
리턴 System