-
Notifications
You must be signed in to change notification settings - Fork 1
TerrainBuffers
29thnight edited this page Nov 28, 2025
·
1 revision
간단 설명: 지형 편집과 레이어 렌더링에 관련된 상수버퍼 및 브러시/레이어 데이터 구조.
| 필드 | 설명 |
|---|---|
gBrushPosition |
브러시 중심 위치(float2) |
gBrushRadius |
브러시 반경 |
maskWidth |
마스크 텍스처 폭 |
maskHeight |
마스크 텍스처 높이 |
isEditMode |
편집 모드 활성 |
view |
기즈모용 뷰 행렬 |
proj |
기즈모용 프로젝션 행렬 |
| 필드 | 설명 |
|---|---|
useLayer |
레이어 활성 여부 |
numLayers |
활성 레이어 수 |
layerTilling[] |
레이어별 타일링(XMFLOAT4) 배열 |
| 메서드 명 | 메서드 설명 |
|---|---|
SetBrushMode(mode) |
브러시 모드 설정(Raise/Lower/Flatten/PaintLayer/FoliageMode) |
SetMaskID(maskID) |
현재 사용 마스크 ID 설정 |
GetMaskNames() |
등록된 마스크 이름 벡터 참조 반환 |
| 필드 | 설명 |
|---|---|
m_mode |
고도/페인트/폴리지 작업 모드 |
m_foliageMode |
폴리지 세부 모드(Paint/Erase) |
m_center |
브러시 중심(2D) |
m_isEditMode |
편집 모드 플래그 |
m_radius |
영향 반경 |
m_strength |
작업 강도 |
m_flatTargetHeight |
평탄화 목표 높이 |
m_layerID |
페인트 대상 레이어 ID |
m_maskID |
적용 마스크 ID(없음: 0xFFFFFFFF) |
m_foliageTypeID |
폴리지 타입 ID |
m_foliageDensity |
폴리지 밀도(인스턴스 수) |
m_masks |
BrushMask 목록(마스크 픽셀/텍스처) |
m_maskNames |
마스크 이름 목록 |
| 필드 | 설명 |
|---|---|
m_mask |
마스크 바이트 데이터 |
m_maskWidth/m_maskHeight |
마스크 크기 |
m_maskTexture |
마스크 텍스처2D 포인터 |
m_maskSRV |
마스크 ShaderResourceView |
| 필드 | 설명 |
|---|---|
m_layerID |
레이어 ID |
layerName |
레이어 이름 |
diffuseTexturePath |
디퓨즈 텍스처 경로(wstring) |
diffuseTexture |
텍스처 포인터 |
tilling |
타일링 스케일 |
API Reference
Main
PhysicsSystem
RenderEngine
- Animation
- AnimationJob_Internal
- AnimatorData
- BillboardModuleGPU
- BillboardType
- Camera
- CullingManager
- DeviceState
- DeviceState_Deferred_Unsafe
- Foliage
- LightMapping
- MeshRendererProxy
- PipelineStateObject
- PrimitiveRenderProxy
- Projection_RenderPipelinePass
- ProxyCommand
- RenderGraphBuilder
- RenderModules
- RenderPassData
- RenderScene
- RenderScene_ComponentFlows
- Terrain_Foliage_LightMapping
- TerrainBuffers
ScriptBinder
- ActionMap
- AIManager
- AnchorPreset
- AniBehavior
- AnimationBehviourFatory
- AnimationController
- AnimationState
- Animator
- AniTransition
- ArticulationData
- ArticulationLoader
- AvatarMask
- BehaviorTreeComponent
- BillboardType
- BlackBoard
- BlackBoardType
- BlackBoardValue
- BoneMask
- BoxColliderComponent
- BTBuildGraph
- BTBuildNode
- BTEnum
- BTHeader
- CameraComponent
- Canvas
- CapsuleColliderComponent
- CharacterControllerComponent
- Component
- Component_Binding
- ComponentFactory
- ConditionParameter
- CSharpScriptComponent
- CurvePoint
- DecalComponent
- EBodyType
- EffectComponent
- EForceMode
- FoliageComponent
- FoliageInstance
- FoliageType
- FormIntPtr
- FSMState
- FunctionRegistry
- GameObject
- GameObject_Binding
- GameObjectType
- HotLoadSystem
- IAIComponent
- ImageComponent
- InputAction
- InputActionManager
- InputManager
- InvalidScriptComponent
- IObject
- IProjectSetting
- IRegistableEvent
- IRenderable
- IScriptedFSM
- ISerializable
- KeyArray
- KeyBitFlag
- KeyState
- LightComponent
- LightMapping
- LightProperty
- LinkData
- MeshColliderComponent
- MeshRenderer
- ModuleBehavior
- MonoBehaviorRecord
- MonoManager
- MSBuildHelper
- Navigation
- NodeFactory
- Object
- Object_Binding
- PhysicsManager
- PlayerInputComponent
- Prefab
- PrefabEditor
- PrefabUtility
- RagdollComponent
- RectTransform_Binding
- RectTransformComponent
- RegisterReflect
- RenderableComponents
- RigidBodyComponent
- Scene
- SceneManager
- ScriptStringModule
- SoundComponent
- SoundDefinition
- SoundManager
- SphereColliderComponent
- SpriteRenderer
- SpriteSheetComponent
- StateMachineComponent
- TagManager
- TerrainBuffers
- TerrainColliderComponent
- TerrainComponent
- TextComponent
- TransCondition
- Transform
- Transform_Binding
- Transition
- UIButton
- UIComponent
- UIManager
- VolumeComponent
Utility_Framework
- BaseTypeDef
- Benchmark
- BitFlag
- CircularQueue
- ClassProperty
- Core.Assert
- Core.Barrier
- Core.Coroutine
- Core.CountingSemaphore
- Core.Definition
- Core.Fence
- Core.FenceFlag
- Core.Mathf
- Core.Minimal
- Core.OctreeNode
- Core.Property
- Core.Random
- Core.Runtime
- Core.Thread
- Core.ThreadPool
- CoreWindow
- CSVLoader
- DebugStreamBuf
- Delegate
- DeviceResources
- DirectXHelper
- EngineBootstrap
- FileDialog
- FileIO
- GlobalImGuiContext
- HashingString
- HLSLCompiler
- LinkedListLib
- LogEntry
- LogSink
- LogSystem
- MemoryPool
- MetaAlias
- MetaStateCommand
- MetaUtility
- Octree
- PakHelper
- Paklib
- PathFinder
- QuadTree
- Reflection
- RingBuffer
- SimpleIniFile
- SpinLock
- StringHelper
- TimeSystem
- Trim
- TypeDefinition
- TypeIO
- TypeTrait
- WinProcProxy