C# Класс McKineap.Models.Model3D.ModelMesh

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddTextureDiffuse ( SharpDX.Direct3D11.Device device, string path ) : void

Adds a texture and texture view to the shader

Dispose ( ) : void

Disposes the D3D related resources

SetInputLayout ( SharpDX.Direct3D11.Device device, SharpDX.D3DCompiler.ShaderSignature inputSignature ) : void

Sets the input layout and make sure it matches the vertex format from the shader

Описание методов

AddTextureDiffuse() публичный Метод

Adds a texture and texture view to the shader
public AddTextureDiffuse ( SharpDX.Direct3D11.Device device, string path ) : void
device SharpDX.Direct3D11.Device
path string
Результат void

Dispose() публичный Метод

Disposes the D3D related resources
public Dispose ( ) : void
Результат void

SetInputLayout() публичный Метод

Sets the input layout and make sure it matches the vertex format from the shader
public SetInputLayout ( SharpDX.Direct3D11.Device device, SharpDX.D3DCompiler.ShaderSignature inputSignature ) : void
device SharpDX.Direct3D11.Device
inputSignature SharpDX.D3DCompiler.ShaderSignature
Результат void