Метод | Описание | |
---|---|---|
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 ( |
|
|
ShaderResource ( |
|
public static CalculateMipLevels ( int width, int height, int depth ) : int | ||
width | int | |
height | int | |
depth | int | |
Результат | int |
protected CheckSamplesCount ( int samples ) : void | ||
samples | int | |
Результат | void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Результат | void |
public static GetMipSize ( int size, int mipLevel ) : int | ||
size | int | Original size |
mipLevel | int | Mip level |
Результат | int |
public static GetPitch ( ColorFormat format, int width ) : int | ||
format | ColorFormat | |
width | int | |
Результат | int |
protected MakeSRgb ( SharpDX.DXGI format ) : SharpDX.DXGI.Format | ||
format | SharpDX.DXGI | |
Результат | SharpDX.DXGI.Format |
protected MakeTypeless ( SharpDX.DXGI format ) : SharpDX.DXGI.Format | ||
format | SharpDX.DXGI | |
Результат | SharpDX.DXGI.Format |
protected ShaderResource ( |
||
device | ||
Результат | System |
protected ShaderResource ( |
||
device | ||
srv | SharpDX.Direct3D11.ShaderResourceView | |
w | int | |
h | int | |
d | int | |
Результат | System |