Home
last modified time | relevance | path

Searched refs:texture (Results 1 – 12 of 12) sorted by relevance

/NW4C-2.0.3/sources/libraries/gfx/res/
Dgfx_ResTextureMapper.cpp51 static void SetupTextureMapperCommand(ResPixelBasedTextureMapper mapper, ResImageTexture texture);
52 static void SetupTextureMapperCommand(ResPixelBasedTextureMapper mapper, ResCubeTexture texture);
53 static void SetupTextureMapperCommand(ResPixelBasedTextureMapper mapper, ResShadowTexture texture);
96 ResTexture texture = textureMapper.GetTexture(); in SetTextureMipmapCommand() local
101 if (texture.IsValid() && in SetTextureMipmapCommand()
106 ResStaticCast<ResPixelBasedTexture>(texture.Dereference()); in SetTextureMipmapCommand()
560 ResReferenceTextureData* texture = new(textureMemory) ResReferenceTextureData(); in ReferResTexture() local
561 texture->typeInfo = ResReferenceTexture::TYPE_INFO; in ReferResTexture()
562 texture->toName.set_ptr(NULL); in ReferResTexture()
563 texture->toPath.set_ptr(NULL); in ReferResTexture()
[all …]
Dgfx_ResModel.cpp110 ResModel::ForceSetupTexture(const char* targetName, ResTexture texture) in ForceSetupTexture() argument
112 NW_ASSERT(texture.IsValid()); in ForceSetupTexture()
121 material.ForceSetupTexture(targetName, texture); in ForceSetupTexture()
Dgfx_ResMaterial.cpp535 ResMaterial::ForceSetupTexture(const char* targetName, ResTexture texture) in ForceSetupTexture() argument
553 texMap.ForceSetupTexture(texture); in ForceSetupTexture()
/NW4C-2.0.3/sources/libraries/gfx/
Dgfx_IRenderTarget.cpp59 ResPixelBasedTexture texture = ResStaticCast<ResPixelBasedTexture>(resTexture.Dereference()); in CreateOffScreenBuffer() local
80 description.width = texture.GetWidth(); in CreateOffScreenBuffer()
81 description.height = texture.GetHeight(); in CreateOffScreenBuffer()
82 description.colorFormat = formatTable[texture.GetFormatHW()]; in CreateOffScreenBuffer()
85 u32 locationFlag = texture.GetLocationFlag(); in CreateOffScreenBuffer()
96 switch (texture.GetTypeInfo()) in CreateOffScreenBuffer()
120 renderTarget = new(memory) OffScreenBuffer(allocator, description, texture); in CreateOffScreenBuffer()
/NW4C-2.0.3/sources/libraries/anim/res/
Danim_ResUtil.cpp51 nw::gfx::ResReferenceTextureData& texture = textures[i]; in CloneTextureAnimMember() local
55 texture.typeInfo = srcTexture->typeInfo; in CloneTextureAnimMember()
56 texture.m_Header.signature = srcTexture->m_Header.signature; in CloneTextureAnimMember()
57 texture.m_Header.revision = srcTexture->m_Header.revision; in CloneTextureAnimMember()
58 texture.toName.set_ptr(srcTexture->toName.to_ptr()); in CloneTextureAnimMember()
59 texture.m_UserDataDicCount = srcTexture->m_UserDataDicCount; in CloneTextureAnimMember()
60 texture.toUserDataDic.set_ptr(srcTexture->toUserDataDic.to_ptr()); in CloneTextureAnimMember()
64 texture.toPath.set_ptr(srcTexture->toPath.to_ptr()); in CloneTextureAnimMember()
65 texture.toTargetTexture.set_ptr(NULL); // ここはsetupで解決される in CloneTextureAnimMember()
67 texturesTable[i].set_ptr(&texture); in CloneTextureAnimMember()
Danim_ResAnimGroup.cpp232 ResReferenceTexture texture(offset.to_ptr()); in SetValue() local
237 mapper.SetTexture(texture.GetTargetTexture()); in SetValue()
/NW4C-2.0.3/demos/gfx/UserRenderNodeDemo/sources/
DGrRenderer.cpp236 nn::gr::Texture texture; in MakeSceneBeginCommand() local
237 texture.unit0.texType = PICA_DATA_TEXTURE0_SAMPLER_TYPE_FALSE; in MakeSceneBeginCommand()
238 texture.unit1.texType = PICA_DATA_TEXTURE1_SAMPLER_TYPE_FALSE; in MakeSceneBeginCommand()
239 texture.unit2.texType = PICA_DATA_TEXTURE2_SAMPLER_TYPE_FALSE; in MakeSceneBeginCommand()
240 texture.unit3.texType = PICA_DATA_TEXTURE3_SAMPLER_TYPE_FALSE; in MakeSceneBeginCommand()
242 command = texture.MakeCommand(command); in MakeSceneBeginCommand()
/NW4C-2.0.3/include/nw/gfx/res/
Dgfx_ResGraphicsFile.h607 for (ResTextureArray::iterator texture = this->GetTextures().begin(); in ForeachTexture() local
608 texture != end; ++texture) in ForeachTexture()
610 function(*texture); in ForeachTexture()
1050 void operator() (ResTexture texture) in operator()
1052 if (texture.ref().typeInfo == ResReferenceTexture::TYPE_INFO) in operator()
1054 ResReferenceTexture refer = ResStaticCast<ResReferenceTexture>(texture); in operator()
1057 m_Function(texture); in operator()
Dgfx_ResModel.h190 void ForceSetupTexture(const char* targetName, ResTexture texture);
Dgfx_ResTextureMapper.h635 void ForceSetupTexture(ResTexture texture);
Dgfx_ResMaterial.h1566 void ForceSetupTexture(const char* targetName, ResTexture texture);
/NW4C-2.0.3/tools/DccPlugin/Maya/scripts/
DNW4C_CreateMenu.mel138 -ann "Set output frame extension list for texture pattern animation"