Main Page
Namespaces
Classes
Files
File List
File Members
include
Graphics
DX11
GteHLSLTextureArray.h
Go to the documentation of this file.
1
// David Eberly, Geometric Tools, Redmond WA 98052
2
// Copyright (c) 1998-2017
3
// Distributed under the Boost Software License, Version 1.0.
4
// http://www.boost.org/LICENSE_1_0.txt
5
// http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
6
// File Version: 3.0.1 (2016/09/12)
7
8
#pragma once
9
10
#include <
Graphics/DX11/GteHLSLResource.h
>
11
12
namespace
gte
13
{
14
15
class
GTE_IMPEXP
HLSLTextureArray
:
public
HLSLResource
16
{
17
public
:
18
// Construction and destruction.
19
virtual
~
HLSLTextureArray
();
20
21
HLSLTextureArray
(
D3D_SHADER_INPUT_BIND_DESC
const
& desc);
22
23
HLSLTextureArray
(
D3D_SHADER_INPUT_BIND_DESC
const
& desc,
24
unsigned
int
index
);
25
26
// Member access.
27
unsigned
int
GetNumComponents()
const
;
28
unsigned
int
GetNumDimensions()
const
;
29
bool
IsGpuWritable()
const
;
30
31
private
:
32
void
Initialize(
D3D_SHADER_INPUT_BIND_DESC
const
& desc);
33
34
unsigned
int
mNumComponents
;
35
unsigned
int
mNumDimensions
;
36
bool
mGpuWritable
;
37
};
38
39
}
GteHLSLResource.h
gte::HLSLTextureArray::mNumDimensions
unsigned int mNumDimensions
Definition:
GteHLSLTextureArray.h:35
gte
Definition:
GLX/GteWICFileIO.h:16
D3D_SHADER_INPUT_BIND_DESC
#define D3D_SHADER_INPUT_BIND_DESC
Definition:
GteHLSLResource.h:43
gte::HLSLResource
Definition:
GteHLSLResource.h:53
index
GLuint index
Definition:
glcorearb.h:781
gte::HLSLTextureArray
Definition:
GteHLSLTextureArray.h:15
gte::HLSLTextureArray::mNumComponents
unsigned int mNumComponents
Definition:
GteHLSLTextureArray.h:34
gte::HLSLTextureArray::mGpuWritable
bool mGpuWritable
Definition:
GteHLSLTextureArray.h:36
GTE_IMPEXP
#define GTE_IMPEXP
Definition:
GTEngineDEF.h:63
geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:00