26 #ifndef OSD_D3D11_PTEX_TEXTURE_H
27 #define OSD_D3D11_PTEX_TEXTURE_H
29 #include "../version.h"
31 #include "../osd/nonCopyable.h"
35 struct ID3D11Texture2D;
36 struct ID3D11DeviceContext;
38 namespace OpenSubdiv {
39 namespace OPENSUBDIV_VERSION {
65 unsigned long int targetMemory = 0,
94 ID3D11Texture2D *_texels;
100 using namespace OPENSUBDIV_VERSION;
104 #endif // OSD_D3D11_PTEX_TEXTURE_H
ID3D11Buffer * GetPagesTextureBuffer() const
static D3D11PtexTexture * Create(ID3D11DeviceContext *deviceContext, PtexTexture *reader, unsigned long int targetMemory=0, int gutterWidth=0, int pageMargin=0)
ID3D11Buffer * GetLayoutTextureBuffer() const
ID3D11Texture2D * GetTexelsTexture() const
Returns the texels texture array.