Lines Matching refs:textureData
614 ResImageTextureData* textureData = new(textureDataMemory) ResImageTextureData(); in Create() local
618 textureData->typeInfo = ResImageTexture::TYPE_INFO; in Create()
619 textureData->m_Header.revision = ResImageTexture::BINARY_REVISION; in Create()
620 textureData->m_Header.signature = ResImageTexture::SIGNATURE; in Create()
621 textureData->toName.set_ptr(NULL); in Create()
622 textureData->m_UserDataDicCount = 0; in Create()
623 textureData->toUserDataDic.set_ptr(NULL); in Create()
627 textureData->m_Height = m_Description.height; in Create()
628 textureData->m_Width = m_Description.width; in Create()
629 textureData->m_Format = GL_FORMAT_TABLE[m_Description.formatHW]; in Create()
630 textureData->m_FormatType = GL_FORMAT_TYPE_TABLE[m_Description.formatHW]; in Create()
631 textureData->m_MipmapSize = m_Description.mipmapSize; in Create()
632 textureData->m_TextureObject = 0; in Create()
633 textureData->m_LocationFlag = m_Description.locationFlag; in Create()
634 textureData->m_FormatHW = m_Description.formatHW; in Create()
661 textureData->m_MipmapSize = m_Description.mipmapSize - mipmapSize + 1; in Create()
700 textureData->toImage.set_ptr(imageData); in Create()
702 return ResImageTexture(textureData); in Create()
732 ResCubeTextureData* textureData = new(textureDataMemory) ResCubeTextureData(); in Create() local
736 textureData->typeInfo = ResCubeTexture::TYPE_INFO; in Create()
737 textureData->m_Header.revision = ResCubeTexture::BINARY_REVISION; in Create()
738 textureData->m_Header.signature = ResCubeTexture::SIGNATURE; in Create()
739 textureData->toName.set_ptr(NULL); in Create()
740 textureData->m_UserDataDicCount = 0; in Create()
741 textureData->toUserDataDic.set_ptr(NULL); in Create()
745 textureData->m_Height = m_Description.width; in Create()
746 textureData->m_Width = m_Description.width; in Create()
747 textureData->m_Format = GL_FORMAT_TABLE[m_Description.formatHW]; in Create()
748 textureData->m_FormatType = GL_FORMAT_TYPE_TABLE[m_Description.formatHW]; in Create()
749 textureData->m_MipmapSize = m_Description.mipmapSize; in Create()
750 textureData->m_TextureObject = 0; in Create()
751 textureData->m_LocationFlag = m_Description.locationFlag; in Create()
752 textureData->m_FormatHW = m_Description.formatHW; in Create()
773 textureData->m_MipmapSize = m_Description.mipmapSize - mipmapSize + 1; in Create()
828 textureData->toImagesTables[i].set_ptr(&imageData[i]); in Create()
831 return ResCubeTexture(textureData); in Create()
855 ResShadowTextureData* textureData = new(textureDataMemory) ResShadowTextureData(); in Create() local
859 textureData->typeInfo = ResShadowTexture::TYPE_INFO; in Create()
860 textureData->m_Header.revision = ResShadowTexture::BINARY_REVISION; in Create()
861 textureData->m_Header.signature = ResShadowTexture::SIGNATURE; in Create()
862 textureData->toName.set_ptr(NULL); in Create()
863 textureData->m_UserDataDicCount = 0; in Create()
864 textureData->toUserDataDic.set_ptr(NULL); in Create()
868 textureData->m_Height = m_Description.height; in Create()
869 textureData->m_Width = m_Description.width; in Create()
870 textureData->m_Format = GL_SHADOW_DMP; in Create()
871 textureData->m_FormatType = GL_UNSIGNED_INT; in Create()
872 textureData->m_MipmapSize = 0; in Create()
873 textureData->m_TextureObject = 0; in Create()
874 textureData->m_LocationFlag = m_Description.locationFlag; in Create()
875 textureData->m_FormatHW = ResPixelBasedTexture::FORMAT_HW_RGBA8; in Create()
925 textureData->toImage.set_ptr(imageData); in Create()
929 textureData->m_IsPerspectiveShadow = m_Description.isPerspectiveShadow; in Create()
930 textureData->m_ShadowZBias = m_Description.shadowZBias; in Create()
931 textureData->m_ShadowZScale = m_Description.shadowZScale; in Create()
933 return ResShadowTexture(textureData); in Create()