Home
last modified time | relevance | path

Searched refs:textureId (Results 1 – 10 of 10) sorted by relevance

/CTR-SDK-4.2.7-SampleDemos/common/libraries/demo/Render/
Ddemo_RenderSystemDrawing.cpp125 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/
Dgx_DrawTexture2d.cpp143 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/
Ddemo_RenderSystemDrawing.h270 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/
Dcamera.cpp285 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/
Ddemo_DecalTextureProgram.cpp147 void DecalTextureProgram::SetTextureId(const GLuint textureId) in SetTextureId() argument
149 m_TextureId = textureId; in SetTextureId()
Ddemo_ProgramObject.cpp80 void ProgramObject::SetTextureId(const GLuint textureId) in SetTextureId() argument
82 (void)textureId; in SetTextureId()
/CTR-SDK-4.2.7-SampleDemos/common/include/demo/ShaderProgram/
Ddemo_DecalTextureProgram.h77 virtual void SetTextureId(const GLuint textureId);
Ddemo_ProgramObject.h139 virtual void SetTextureId(const GLuint textureId);
/CTR-SDK-4.2.7-SampleDemos/fs/Streaming/
DFsSampleStreamingFrame.cpp174 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/
DFakeClient.cpp192 GLuint textureId = 0; in CreateIconTexture() local
205 format, type, textureBuffer, textureId); in CreateIconTexture()
207 if ( textureId != 0 ) in CreateIconTexture()
209 *pIconTextureId = textureId; in CreateIconTexture()