C# Class McKineap.Models.Model3D.ModelMesh

Show file Open project: loic-lavergne/mckineap Class Usage Examples

Public Methods

Method Description
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

Method Details

AddTextureDiffuse() public method

Adds a texture and texture view to the shader
public AddTextureDiffuse ( SharpDX.Direct3D11.Device device, string path ) : void
device SharpDX.Direct3D11.Device
path string
return void

Dispose() public method

Disposes the D3D related resources
public Dispose ( ) : void
return void

SetInputLayout() public method

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
return void