コード例 #1
0
ファイル: Shader.DirectX.cs プロジェクト: Zodge/MonoGame
 private void CreateVertexShader()
 {
     System.Diagnostics.Debug.Assert(Stage == ShaderStage.Vertex);
     _vertexShader = new VertexShader(GraphicsDevice._d3dDevice, _shaderBytecode, null);
     _inputLayouts = new InputLayoutCache(GraphicsDevice, Bytecode);
 }
コード例 #2
0
 private void CreateVertexShader()
 {
     System.Diagnostics.Debug.Assert(Stage == ShaderStage.Vertex);
     _vertexShader = new VertexShader(GraphicsDevice._d3dDevice, _shaderBytecode, null);
     _inputLayouts = new InputLayoutCache(GraphicsDevice, Bytecode);
 }