Home
last modified time | relevance | path

Searched refs:shader (Results 1 – 11 of 11) sorted by relevance

/NW4C-2.0.3/sources/libraries/gfx/
Dgfx_ShaderProgram.cpp76 ResBinaryShader shader = ResBinaryShader( shaderProgramDescription.GetOwnerShaderData() ); in ActivateDescription() local
91 if ( shader == shaderPrev ) in ActivateDescription()
104 NW_NULL_ASSERT( shader.ref().m_CommandCache ); in ActivateDescription()
105 internal::NWUseCmdlist( shader.ref().m_CommandCache, shader.ref().m_CommandCacheSize ); in ActivateDescription()
116 const ShaderBinaryInfo* shaderBinaryInfo = shader.GetShaderBinaryInfo(); in ActivateDescription()
/NW4C-2.0.3/SampleData/Graphics/Shader/MultiplyShader/
DReadMe.txt9 MultiplyShader is a sample vertex shader.
43 Use MultiplyShader.csdr by binding it to the model as a user-shader.
45 If you have overwritten the shader, use build.bat to create shader binary (MultiplyShader.shbin) re…
46 Create intermediate files to be used using the CreativeStudio shader creation panel.
51 - Overwriting the shader for use is essentially unsupported.
/NW4C-2.0.3/sources/libraries/lyt/
Dlyt_GraphicsResource.cpp307 GLuint shader = glCreateShader(GL_VERTEX_SHADER); in SetResource() local
308 NW_ASSERT(shader != 0); in SetResource()
311 glShaderBinary(1, &shader, GL_PLATFORM_BINARY_DMP, content, fileSize); in SetResource()
314 glAttachShader(m_GlProgram, shader); in SetResource()
319 glDeleteShader(shader); in SetResource()
348 GLuint shader = glCreateShader(GL_VERTEX_SHADER); in SetResource() local
349 NW_ASSERT(shader != 0); in SetResource()
352 glShaderBinary(1, &shader, GL_PLATFORM_BINARY_DMP, content, fileSize); in SetResource()
355 glAttachShader(m_GlProgramDebug, shader); in SetResource()
360 glDeleteShader(shader); in SetResource()
/NW4C-2.0.3/tools/CsdrUpdater/
Dreadme.txt21 CsdrUpdater for CTR is a script for Base64 encoding the shader binary and swapping it with the bina…
44 …rder to use the output intermediate file with NWCS, it must be edited according to the user shader.
51 The shader name.
54 The shader binary.
55 Created by the shader assembler, Base64 encoded values are stored here.
58 The kind of shader object.
59 According to the number and types of shader objects
68 The shader symbol.
84 …ined value is not being used or if there is no uniform value corresponding to the shader parameter.
/NW4C-2.0.3/sources/libraries/gfx/res/
Dgfx_ResModel.cpp128 ResModel::ForceSetupShader(const char* targetName, ResShader shader) in ForceSetupShader() argument
130 NW_ASSERT(shader.IsValid()); in ForceSetupShader()
139 material.ForceSetupShader(targetName, shader); in ForceSetupShader()
Dgfx_ResMesh.cpp151 ResBinaryShader shader = material.GetShader().Dereference(); in Setup() local
156 NW_ASSERT( shader.IsValid() ); in Setup()
158 ResShaderProgramDescription shaderProgramDesc = shader.GetDescriptions( shaderIndex ); in Setup()
Dgfx_ResMaterial.cpp577 ResMaterial::ForceSetupShader(const char* targetName, ResShader shader) in ForceSetupShader() argument
579 NW_ASSERT(shader.IsValid()); in ForceSetupShader()
587 this->SetShader(shader); in ForceSetupShader()
591 ResBinaryShader resBinaryShader = shader.Dereference(); in ForceSetupShader()
Dgfx_ResShader.cpp157 GLuint shader = glCreateShader(resBinaryShader.GetShaderKinds(i)); in ResBinaryShader_Setup() local
159 u32 shader = reinterpret_cast<u32>(resShader.ptr()); in ResBinaryShader_Setup()
161 resBinaryShader.SetShaderObjects(i, shader); in ResBinaryShader_Setup()
/NW4C-2.0.3/include/nw/gfx/res/
Dgfx_ResModel.h195 void ForceSetupShader(const char* targetName, ResShader shader);
/NW4C-2.0.3/demos/Nw4cDemo/
DOMakefile287 sources/shader/nw4cDemo.vsh
/NW4C-2.0.3/tools/DccPlugin/Maya/scripts/
DNW4C_SetAnimRange.mel2667 // shader search (Maya bugfix)
2706 if (match("^shader/surface", $workList[0]) != "")