/*
Copyright (C) 2010, Heikki Salo
All rights reserved.
Distributed under the BSD license:
http://www.opensource.org/licenses/bsd-license.php
*/
#ifndef DP_LAYOUT_HPP
#define DP_LAYOUT_HPP
#include "stdafx.h"
#include "DPBase.hpp"
class DPEffect;
class DPInputLayout : DPBase {
public:
~DPInputLayout() { release(); }
DPInputLayout(python::object&, DPEffect&, UINT, UINT);
ID3D11InputLayout* getLayout() { return layout; }
void release() { SafeRelease(layout); }
private:
ID3D11InputLayout* layout;
};
#endif