Пример #1
0
 /// <summary>
 /// Uses a compiled high-level shader language (HLSL) function to fill each texel of each mipmap level of a texture.
 /// </summary>
 /// <param name="shader">A texture shader object that is used to fill the texture.</param>
 /// <returns>A <see cref="SharpDX.Result" /> object describing the result of the operation.</returns>
 public void Fill(TextureShader shader)
 {
     D3DX9.FillCubeTextureTX(this, shader);
 }
Пример #2
0
 public Result Fill(TextureShader shader)
 {
     return _texture.Fill(shader);
 }