C# 클래스 GameCommon.ShaderBaseMaterial

상속: HighLevelMaterial
파일 보기 프로젝트 열기: DarrenHassan/GDM4242-GroupD 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ClearBaseMaterial void
CreateDefaultTechnique bool
CreateFixedPipelineTechnique void
FixedPipelineAddDiffuseMapsToPass void
GenerateTexCoordString void
InitializeAndUpdateDynamicGpuParameters void
InitializeAndUpdateMapTransformGpuParameters void
IsDynamicDiffuseScale bool
IsDynamicEmissionScale bool
IsDynamicReflectionScale bool
IsDynamicSpecularScaleAndShininess bool
Pass_RenderObjectPass void
PreloadTexture void
SceneManager_FogChanged void
SceneManager_ShadowSettingsChanged void
SetCustomGpuParameter void
SubscribePassToRenderObjectPassEvent void
UpdateDynamicDiffuseScaleGpuParameter void
UpdateDynamicEmissionScaleGpuParameter void
UpdateDynamicReflectionScaleGpuParameter void
UpdateDynamicSpecularScaleAndShininessGpuParameter void
UpdateFadingByDistanceRangeGpuParameter void
UpdateMapTransformForFixedPipeline void
UpdateMapTransformGpuParameters void
UpdateReflectionCubemap void

공개 메소드들

메소드 설명
Dispose ( ) : void
IsDefaultTechniqueCreated ( ) : bool
ShaderBaseMaterial ( ) : System

보호된 메소드들

메소드 설명
OnAddCompileArguments ( StringBuilder arguments ) : void
OnClearBaseMaterial ( ) : void
OnClone ( HighLevelMaterial sourceMaterial ) : void
OnGetEditorShowInformation ( string &lines, ColorValue &color ) : void
OnGetExtensionFileName ( ) : string
OnInitBaseMaterial ( ) : bool
OnIsNeedSpecialShadowCasterMaterial ( ) : bool
OnLoad ( TextBlock block ) : bool
OnPreloadResources ( ) : void
OnSave ( TextBlock block ) : void
OnSetProgramAutoConstants ( GpuProgramParameters parameters, int lightCount ) : void

비공개 메소드들

메소드 설명
ClearBaseMaterial ( ) : void
CreateDefaultTechnique ( bool &shadersIsNotSupported ) : bool
CreateFixedPipelineTechnique ( ) : void
FixedPipelineAddDiffuseMapsToPass ( Pass pass ) : void
GenerateTexCoordString ( StringBuilder builder, int texCoord, TransformItem transformItem, string transformGpuParameterNamePrefix ) : void
InitializeAndUpdateDynamicGpuParameters ( ) : void
InitializeAndUpdateMapTransformGpuParameters ( MapItem map ) : void
IsDynamicDiffuseScale ( ) : bool
IsDynamicEmissionScale ( ) : bool
IsDynamicReflectionScale ( ) : bool
IsDynamicSpecularScaleAndShininess ( ) : bool
Pass_RenderObjectPass ( Pass pass, Vec3 objectWorldPosition ) : void
PreloadTexture ( string textureName ) : void
SceneManager_FogChanged ( bool fogModeChanged ) : void
SceneManager_ShadowSettingsChanged ( bool shadowTechniqueChanged ) : void
SetCustomGpuParameter ( GpuParameters parameter, Vec4 value ) : void
SubscribePassToRenderObjectPassEvent ( Pass pass ) : void
UpdateDynamicDiffuseScaleGpuParameter ( ) : void
UpdateDynamicEmissionScaleGpuParameter ( ) : void
UpdateDynamicReflectionScaleGpuParameter ( ) : void
UpdateDynamicSpecularScaleAndShininessGpuParameter ( ) : void
UpdateFadingByDistanceRangeGpuParameter ( ) : void
UpdateMapTransformForFixedPipeline ( MapItem map ) : void
UpdateMapTransformGpuParameters ( MapItem map ) : void
UpdateReflectionCubemap ( TextureUnitState textureUnitState, Vec3 objectWorldPosition ) : void

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

IsDefaultTechniqueCreated() 공개 메소드

public IsDefaultTechniqueCreated ( ) : bool
리턴 bool

OnAddCompileArguments() 보호된 메소드

protected OnAddCompileArguments ( StringBuilder arguments ) : void
arguments StringBuilder
리턴 void

OnClearBaseMaterial() 보호된 메소드

protected OnClearBaseMaterial ( ) : void
리턴 void

OnClone() 보호된 메소드

protected OnClone ( HighLevelMaterial sourceMaterial ) : void
sourceMaterial HighLevelMaterial
리턴 void

OnGetEditorShowInformation() 보호된 메소드

protected OnGetEditorShowInformation ( string &lines, ColorValue &color ) : void
lines string
color ColorValue
리턴 void

OnGetExtensionFileName() 보호된 메소드

protected OnGetExtensionFileName ( ) : string
리턴 string

OnInitBaseMaterial() 보호된 메소드

protected OnInitBaseMaterial ( ) : bool
리턴 bool

OnIsNeedSpecialShadowCasterMaterial() 보호된 메소드

protected OnIsNeedSpecialShadowCasterMaterial ( ) : bool
리턴 bool

OnLoad() 보호된 메소드

protected OnLoad ( TextBlock block ) : bool
block TextBlock
리턴 bool

OnPreloadResources() 보호된 메소드

protected OnPreloadResources ( ) : void
리턴 void

OnSave() 보호된 메소드

protected OnSave ( TextBlock block ) : void
block TextBlock
리턴 void

OnSetProgramAutoConstants() 보호된 메소드

protected OnSetProgramAutoConstants ( GpuProgramParameters parameters, int lightCount ) : void
parameters GpuProgramParameters
lightCount int
리턴 void

ShaderBaseMaterial() 공개 메소드

public ShaderBaseMaterial ( ) : System
리턴 System