Searched refs:textureId (Results 1 – 10 of 10) sorted by relevance
| /CTR-SDK-4.2.7-SampleDemos/common/libraries/demo/Render/ |
| D | demo_RenderSystemDrawing.cpp | 125 GLuint textureId = m_TextureIdArray[textureArrayIndex]; in Finalize() local 126 if ( textureId != 0 ) in Finalize() 128 glDeleteTextures(1, &textureId); in Finalize() 284 bool RenderSystemDrawing::HasTexture(const GLuint textureId) in HasTexture() argument 297 return FindTextureArrayIndex(textureId, arrayIndex); in HasTexture() 304 GLuint& textureId) in GenerateTexture() argument 327 glGenTextures(1, &textureId); in GenerateTexture() 330 glBindTexture(GL_TEXTURE_2D, textureId); in GenerateTexture() 336 m_TextureIdArray[textureArrayIndex] = textureId; in GenerateTexture() 341 bool RenderSystemDrawing::DeleteTexture(const GLuint textureId) in DeleteTexture() argument [all …]
|
| /CTR-SDK-4.2.7-SampleDemos/gx/Demo/DrawTexture2d/ |
| D | gx_DrawTexture2d.cpp | 143 GLuint textureId = 0; in LoadTexture0() local 147 format, type, textureDataPtr, textureId); in LoadTexture0() 149 if ( textureId != 0 ) in LoadTexture0() 151 s_BmpTexture0Id = textureId; in LoadTexture0() 152 NN_LOG(" Create texture (id = %d)\n", textureId); in LoadTexture0() 190 GLuint textureId = 0; in LoadTexture1() local 194 format, type, textureDataPtr, textureId); in LoadTexture1() 196 if ( textureId != 0 ) in LoadTexture1() 198 s_BmpTexture1Id = textureId; in LoadTexture1() 199 NN_LOG(" Create texture. (id = %d)\n", textureId); in LoadTexture1()
|
| /CTR-SDK-4.2.7-SampleDemos/common/include/demo/Render/ |
| D | demo_RenderSystemDrawing.h | 270 virtual bool HasTexture(const GLuint textureId); 291 GLuint& textureId); 299 virtual bool DeleteTexture(const GLuint textureId); 302 virtual bool FindTextureArrayIndex(const GLuint textureId, 321 virtual void FillTexturedRectangle(const GLuint textureId, 347 virtual void FillTexturedTriangle(const GLuint textureId,
|
| /CTR-SDK-4.2.7-SampleDemos/demo1/ |
| D | camera.cpp | 285 static GLuint textureId = 0; in DrawFrame() local 287 if( textureId != 0 ) in DrawFrame() 289 mp_RenderSystem->DeleteTexture(textureId); in DrawFrame() 302 textureId); in DrawFrame() 310 mp_RenderSystem->FillTexturedRectangle(textureId, in DrawFrame()
|
| /CTR-SDK-4.2.7-SampleDemos/common/libraries/demo/ShaderProgram/ |
| D | demo_DecalTextureProgram.cpp | 147 void DecalTextureProgram::SetTextureId(const GLuint textureId) in SetTextureId() argument 149 m_TextureId = textureId; in SetTextureId()
|
| D | demo_ProgramObject.cpp | 80 void ProgramObject::SetTextureId(const GLuint textureId) in SetTextureId() argument 82 (void)textureId; in SetTextureId()
|
| /CTR-SDK-4.2.7-SampleDemos/common/include/demo/ShaderProgram/ |
| D | demo_DecalTextureProgram.h | 77 virtual void SetTextureId(const GLuint textureId);
|
| D | demo_ProgramObject.h | 139 virtual void SetTextureId(const GLuint textureId);
|
| /CTR-SDK-4.2.7-SampleDemos/fs/Streaming/ |
| D | FsSampleStreamingFrame.cpp | 174 GLuint textureId = 0; in UpdateTexture() local 178 format, type, textureDataBuffer, textureId); in UpdateTexture() 182 if ( textureId != 0 ) in UpdateTexture() 184 s_TextureId = textureId; in UpdateTexture()
|
| /CTR-SDK-4.2.7-SampleDemos/dlp/FakeClient/ |
| D | FakeClient.cpp | 192 GLuint textureId = 0; in CreateIconTexture() local 205 format, type, textureBuffer, textureId); in CreateIconTexture() 207 if ( textureId != 0 ) in CreateIconTexture() 209 *pIconTextureId = textureId; in CreateIconTexture()
|