Lines Matching refs:textureData
584 ResImageTextureData* textureData = new(textureDataMemory) ResImageTextureData(); in Create() local
588 textureData->typeInfo = ResImageTexture::TYPE_INFO; in Create()
589 textureData->m_Header.revision = ResImageTexture::BINARY_REVISION; in Create()
590 textureData->m_Header.signature = ResImageTexture::SIGNATURE; in Create()
591 textureData->toName.set_ptr(NULL); in Create()
592 textureData->m_UserDataDicCount = 0; in Create()
593 textureData->toUserDataDic.set_ptr(NULL); in Create()
597 textureData->m_Height = m_Description.height; in Create()
598 textureData->m_Width = m_Description.width; in Create()
599 textureData->m_Format = GL_FORMAT_TABLE[m_Description.formatHW]; in Create()
600 textureData->m_FormatType = GL_FORMAT_TYPE_TABLE[m_Description.formatHW]; in Create()
601 textureData->m_MipmapSize = m_Description.mipmapSize; in Create()
602 textureData->m_TextureObject = 0; in Create()
603 textureData->m_LocationFlag = m_Description.locationFlag; in Create()
604 textureData->m_FormatHW = m_Description.formatHW; in Create()
653 textureData->m_MipmapSize = m_Description.mipmapSize - mipmapSize + 1; in Create()
692 textureData->toImage.set_ptr(imageData); in Create()
694 return ResImageTexture(textureData); in Create()
719 ResShadowTextureData* textureData = new(textureDataMemory) ResShadowTextureData(); in Create() local
723 textureData->typeInfo = ResShadowTexture::TYPE_INFO; in Create()
724 textureData->m_Header.revision = ResShadowTexture::BINARY_REVISION; in Create()
725 textureData->m_Header.signature = ResShadowTexture::SIGNATURE; in Create()
726 textureData->toName.set_ptr(NULL); in Create()
727 textureData->m_UserDataDicCount = 0; in Create()
728 textureData->toUserDataDic.set_ptr(NULL); in Create()
732 textureData->m_Height = m_Description.height; in Create()
733 textureData->m_Width = m_Description.width; in Create()
734 textureData->m_Format = GL_SHADOW_DMP; in Create()
735 textureData->m_FormatType = GL_UNSIGNED_INT; in Create()
736 textureData->m_MipmapSize = 0; in Create()
737 textureData->m_TextureObject = 0; in Create()
738 textureData->m_LocationFlag = m_Description.locationFlag; in Create()
739 textureData->m_FormatHW = ResPixelBasedTexture::FORMAT_HW_RGBA8; in Create()
789 textureData->toImage.set_ptr(imageData); in Create()
793 textureData->m_IsPerspectiveShadow = m_Description.isPerspectiveShadow; in Create()
794 textureData->m_ShadowZBias = m_Description.shadowZBias; in Create()
795 textureData->m_ShadowZScale = m_Description.shadowZScale; in Create()
797 return ResShadowTexture(textureData); in Create()