C# 클래스 RoomAliveToolkit.MeshShader

파일 보기 프로젝트 열기: rolandsmeenk/RoomAliveToolkit 1 사용 예제들

공개 메소드들

메소드 설명
MeshShader ( SharpDX.Direct3D11.Device device ) : System
Render ( DeviceContext deviceContext, MeshDeviceResources meshDeviceResources, PointLight pointLight, SharpDX.Direct3D11.RenderTargetView renderTargetView, SharpDX.Direct3D11.DepthStencilView depthStencilView, Viewport viewport ) : void
SetPixelShaderConstants ( DeviceContext deviceContext, RoomAliveToolkit.Mesh material, PointLight light ) : void
SetVertexShaderConstants ( DeviceContext deviceContext, SharpDX world, SharpDX viewProjection, System.Vector3 lightPosition ) : void

메소드 상세

MeshShader() 공개 메소드

public MeshShader ( SharpDX.Direct3D11.Device device ) : System
device SharpDX.Direct3D11.Device
리턴 System

Render() 공개 메소드

public Render ( DeviceContext deviceContext, MeshDeviceResources meshDeviceResources, PointLight pointLight, SharpDX.Direct3D11.RenderTargetView renderTargetView, SharpDX.Direct3D11.DepthStencilView depthStencilView, Viewport viewport ) : void
deviceContext DeviceContext
meshDeviceResources MeshDeviceResources
pointLight PointLight
renderTargetView SharpDX.Direct3D11.RenderTargetView
depthStencilView SharpDX.Direct3D11.DepthStencilView
viewport Viewport
리턴 void

SetPixelShaderConstants() 공개 메소드

public SetPixelShaderConstants ( DeviceContext deviceContext, RoomAliveToolkit.Mesh material, PointLight light ) : void
deviceContext DeviceContext
material RoomAliveToolkit.Mesh
light PointLight
리턴 void

SetVertexShaderConstants() 공개 메소드

public SetVertexShaderConstants ( DeviceContext deviceContext, SharpDX world, SharpDX viewProjection, System.Vector3 lightPosition ) : void
deviceContext DeviceContext
world SharpDX
viewProjection SharpDX
lightPosition System.Vector3
리턴 void