#include <GteTexture3Effect.h>
Definition at line 17 of file GteTexture3Effect.h.
Texture3Effect::Texture3Effect |
( |
std::shared_ptr< ProgramFactory > const & |
factory, |
|
|
std::shared_ptr< Texture3 > const & |
texture, |
|
|
SamplerState::Filter |
filter, |
|
|
SamplerState::Mode |
mode0, |
|
|
SamplerState::Mode |
mode1, |
|
|
SamplerState::Mode |
mode2 |
|
) |
| |
Matrix4x4< float > const & gte::Texture3Effect::GetPVWMatrix |
( |
| ) |
const |
|
inline |
std::shared_ptr< ConstantBuffer > const & gte::Texture3Effect::GetPVWMatrixConstant |
( |
| ) |
const |
|
inline |
std::shared_ptr< SamplerState > const & gte::Texture3Effect::GetSampler |
( |
| ) |
const |
|
inline |
std::shared_ptr< Texture3 > const & gte::Texture3Effect::GetTexture |
( |
| ) |
const |
|
inline |
void gte::Texture3Effect::SetPVWMatrix |
( |
Matrix4x4< float > const & |
pvwMatrix | ) |
|
|
inline |
void Texture3Effect::SetPVWMatrixConstant |
( |
std::shared_ptr< ConstantBuffer > const & |
pvwMatrix | ) |
|
Matrix4x4<float>* gte::Texture3Effect::mPVWMatrix |
|
private |
std::shared_ptr<ConstantBuffer> gte::Texture3Effect::mPVWMatrixConstant |
|
private |
Initial value:=
"uniform sampler3D baseSampler;\n"
"\n"
"layout(location = 0) in vec3 vertexTCoord;\n"
"layout(location = 0) out vec4 pixelColor;\n"
"\n"
"void main()\n"
"{\n"
" pixelColor = texture(baseSampler, vertexTCoord);\n"
"}\n"
Definition at line 50 of file GteTexture3Effect.h.
Initial value:=
"uniform PVWMatrix\n"
"{\n"
" mat4 pvwMatrix;\n"
"};\n"
"\n"
"layout(location = 0) in vec3 modelPosition;\n"
"layout(location = 1) in vec3 modelTCoord;\n"
"layout(location = 0) out vec3 vertexTCoord;\n"
"\n"
"void main()\n"
"{\n"
" vertexTCoord = modelTCoord;\n"
"#if GTE_USE_MAT_VEC\n"
" gl_Position = pvwMatrix * vec4(modelPosition, 1.0f);\n"
"#else\n"
" gl_Position = vec4(modelPosition, 1.0f) * pvwMatrix;\n"
"#endif\n"
"}\n"
Definition at line 49 of file GteTexture3Effect.h.
std::shared_ptr<Texture3> gte::Texture3Effect::mTexture |
|
private |
The documentation for this class was generated from the following files: