Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (gdb) p *(*shader.mData).mPtr
- $4 = (bs::Shader) {
- <bs::Resource> = {
- <bs::IReflectable> = {
- _vptr.IReflectable = 0x7fffeeca7800 <vtable for bs::Shader+16>
- },
- <bs::CoreObject> = {
- _vptr.CoreObject = 0x7fffeeca7848 <vtable for bs::Shader+88>,
- mFlags = 6 '\006',
- mCoreDirtyFlags = 0,
- mInternalID = 4457,
- mThis = std::weak_ptr<bs::CoreObject> (use count 1, weak count 1) = {
- get() = 0xa014d78
- },
- mCoreSpecific = std::shared_ptr<bs::ct::CoreObject> (use count 2, weak count 1) = {
- get() = 0x8e88f10
- }
- },
- members of bs::Resource:
- mSize = 0,
- mMetaData = std::shared_ptr<bs::ResourceMetaData> (use count 1, weak count 0) = {
- get() = 0xa0ff780
- },
- mKeepSourceData = false,
- mDependencies = std::vector of length 0, capacity 0,
- mDependenciesMutex = {
- <std::__mutex_base> = {
- _M_mutex = {
- __data = {
- __lock = 0,
- __count = 0,
- __owner = 0,
- __nusers = 0,
- __kind = 0,
- __spins = 0,
- __elision = 0,
- __list = {
- __prev = 0x0,
- __next = 0x0
- }
- },
- __size = '\000' <repeats 39 times>,
- __align = 0
- }
- }, <No data fields>}
- },
- <bs::TShader<false>> = {
- _vptr.TShader = 0x7fffeeca7898 <vtable for bs::Shader+168>,
- mName = "compound_cloud",
- mDesc = {
- queueSortType = bs::QueueSortType::None,
- queuePriority = 10,
- separablePasses = false,
- flags = {
- mBits = 3
- },
- techniques = std::vector of length 32, capacity 32 = {
- std::shared_ptr<bs::Technique> (use count 1, weak count 1) = {
- get() = 0xa015020
- },
- std::shared_ptr<bs::Technique> (use count 1, weak count 1) = {
- get() = 0xa015140
- },
- std::shared_ptr<bs::Technique> (use count 1, weak count 1) = {
- get() = 0xa015260
- },
- std::shared_ptr<bs::Technique> (use count 1, weak count 1) = {
- get() = 0xa015380
- },
- std::shared_ptr<bs::Technique> (use count 1, weak count 1) = {
- get() = 0xa0154a0
- },
- std::shared_ptr<bs::Technique> (use count 1, weak count 1) = {
- get() = 0xa0155c0
- },
- std::shared_ptr<bs::Technique> (use count 1, weak count 1) = {
- get() = 0xa0156e0
- },
- std::shared_ptr<bs::Technique> (use count 1, weak count 1) = {
- get() = 0xa015800
- },
- std::shared_ptr<bs::Technique> (use count 1, weak count 1) = {
- get() = 0xa015920
- },
- std::shared_ptr<bs::Technique> (use count 1, weak count 1) = {
- get() = 0xa015a40
- },
- std::shared_ptr<bs::Technique> (use count 1, weak count 1) = {
- get() = 0xa015b60
- },
- std::shared_ptr<bs::Technique> (use count 1, weak count 1) = {
- get() = 0xa015c80
- },
- std::shared_ptr<bs::Technique> (use count 1, weak count 1) = {
- get() = 0xa015da0
- },
- std::shared_ptr<bs::Technique> (use count 1, weak count 1) = {
- get() = 0xa015ec0
- },
- std::shared_ptr<bs::Technique> (use count 1, weak count 1) = {
- get() = 0xa015fe0
- },
- std::shared_ptr<bs::Technique> (use count 1, weak count 1) = {
- get() = 0xa016100
- },
- std::shared_ptr<bs::Technique> (use count 1, weak count 1) = {
- get() = 0xa016220
- },
- std::shared_ptr<bs::Technique> (use count 1, weak count 1) = {
- get() = 0xa016340
- },
- std::shared_ptr<bs::Technique> (use count 1, weak count 1) = {
- get() = 0xa016460
- },
- std::shared_ptr<bs::Technique> (use count 1, weak count 1) = {
- get() = 0xa016580
- },
- std::shared_ptr<bs::Technique> (use count 1, weak count 1) = {
- get() = 0xa0166a0
- },
- std::shared_ptr<bs::Technique> (use count 1, weak count 1) = {
- get() = 0xa0167c0
- },
- std::shared_ptr<bs::Technique> (use count 1, weak count 1) = {
- get() = 0xa016930
- },
- std::shared_ptr<bs::Technique> (use count 1, weak count 1) = {
- get() = 0xa016aa0
- },
- std::shared_ptr<bs::Technique> (use count 1, weak count 1) = {
- get() = 0xa016c10
- },
- std::shared_ptr<bs::Technique> (use count 1, weak count 1) = {
- get() = 0xa016d80
- },
- std::shared_ptr<bs::Technique> (use count 1, weak count 1) = {
- get() = 0xa016ef0
- },
- std::shared_ptr<bs::Technique> (use count 1, weak count 1) = {
- get() = 0xa017060
- },
- std::shared_ptr<bs::Technique> (use count 1, weak count 1) = {
- get() = 0xa0171d0
- },
- std::shared_ptr<bs::Technique> (use count 1, weak count 1) = {
- get() = 0xa017340
- },
- std::shared_ptr<bs::Technique> (use count 1, weak count 1) = {
- get() = 0xa0174b0
- },
- std::shared_ptr<bs::Technique> (use count 1, weak count 1) = {
- get() = 0xa017620
- }
- },
- subShaders = std::vector of length 0, capacity 0,
- variationParams = std::vector of length 3, capacity 3 = {
- {
- name = "",
- identifier = "MORPH",
- isInternal = true,
- values = {
- mStorage = {{
- __data = "(L\026\n", '\000' <repeats 28 times>, "\001\000\000\000\000\000\000",
- __align = {<No data fields>}
- },
- {
- __data = "PL\026\n", '\000' <repeats 35 times>,
- __align = {<No data fields>}
- },
- {
- __data = '\000' <repeats 39 times>,
- __align = {<No data fields>}
- },
- {
- __data = '\000' <repeats 39 times>,
- __align = {<No data fields>}
- }},
- mElements = 0xa164c18,
- mSize = 2,
- mCapacity = 4
- }
- },
- {
- name = "",
- identifier = "SKINNED",
- isInternal = true,
- values = {
- mStorage = {{
- __data = " M\026\n", '\000' <repeats 28 times>, "\001\000\000\000\000\000\000",
- __align = {<No data fields>}
- },
- {
- __data = "HM\026\n", '\000' <repeats 35 times>,
- __align = {<No data fields>}
- },
- {
- __data = '\000' <repeats 39 times>,
- __align = {<No data fields>}
- },
- {
- __data = '\000' <repeats 39 times>,
- __align = {<No data fields>}
- }},
- mElements = 0xa164d10,
- mSize = 2,
- mCapacity = 4
- }
- },
- {
- name = "",
- identifier = "CLUSTERED",
- isInternal = true,
- values = {
- mStorage = {{
- __data = "\030N\026\n", '\000' <repeats 35 times>,
- __align = {<No data fields>}
- },
- {
- __data = "@N\026\n", '\000' <repeats 28 times>, "\001\000\000\000\000\000\000",
- __align = {<No data fields>}
- },
- {
- __data = '\000' <repeats 39 times>,
- __align = {<No data fields>}
- },
- {
- __data = '\000' <repeats 39 times>,
- __align = {<No data fields>}
- }},
- mElements = 0xa164e08,
- mSize = 2,
- mCapacity = 4
- }
- }
- },
- dataParams = std::map with 13 elements = {
- ["gCloudColour1"] = {
- <bs::SHADER_PARAM_COMMON> = {
- name = "gCloudColour1",
- gpuVariableName = "gCloudColour1",
- rendererSemantic = {
- mData = 0x0
- },
- defaultValueIdx = 4294967295,
- attribIdx = 4294967295
- },
- members of bs::SHADER_DATA_PARAM_DESC:
- type = bs::GPDT_FLOAT4,
- arraySize = 1,
- elementSize = 0
- },
- ["gCloudColour2"] = {
- <bs::SHADER_PARAM_COMMON> = {
- name = "gCloudColour2",
- gpuVariableName = "gCloudColour2",
- rendererSemantic = {
- mData = 0x0
- },
- defaultValueIdx = 4294967295,
- attribIdx = 4294967295
- },
- members of bs::SHADER_DATA_PARAM_DESC:
- type = bs::GPDT_FLOAT4,
- arraySize = 1,
- elementSize = 0
- },
- ["gCloudColour3"] = {
- <bs::SHADER_PARAM_COMMON> = {
- name = "gCloudColour3",
- gpuVariableName = "gCloudColour3",
- rendererSemantic = {
- mData = 0x0
- },
- defaultValueIdx = 4294967295,
- attribIdx = 4294967295
- },
- members of bs::SHADER_DATA_PARAM_DESC:
- type = bs::GPDT_FLOAT4,
- arraySize = 1,
- elementSize = 0
- },
- ["gCloudColour4"] = {
- <bs::SHADER_PARAM_COMMON> = {
- name = "gCloudColour4",
- gpuVariableName = "gCloudColour4",
- rendererSemantic = {
- mData = 0x0
- },
- defaultValueIdx = 4294967295,
- attribIdx = 4294967295
- },
- members of bs::SHADER_DATA_PARAM_DESC:
- type = bs::GPDT_FLOAT4,
- arraySize = 1,
- elementSize = 0
- },
- ["gGridPixelSize"] = {
- <bs::SHADER_PARAM_COMMON> = {
- name = "gGridPixelSize",
- gpuVariableName = "gGridPixelSize",
- rendererSemantic = {
- mData = 0x0
- },
- defaultValueIdx = 4294967295,
- attribIdx = 4294967295
- },
- members of bs::SHADER_DATA_PARAM_DESC:
- type = bs::GPDT_INT2,
- arraySize = 1,
- elementSize = 0
- },
- ["gGridSize"] = {
- <bs::SHADER_PARAM_COMMON> = {
- name = "gGridSize",
- gpuVariableName = "gGridSize",
- rendererSemantic = {
- mData = 0x0
- },
- defaultValueIdx = 4294967295,
- attribIdx = 4294967295
- },
- members of bs::SHADER_DATA_PARAM_DESC:
- type = bs::GPDT_INT3,
- arraySize = 1,
- elementSize = 0
- },
- ["gLightCounts"] = {
- <bs::SHADER_PARAM_COMMON> = {
- name = "gLightCounts",
- gpuVariableName = "gLightCounts",
- rendererSemantic = {
- mData = 0x0
- },
- defaultValueIdx = 4294967295,
- attribIdx = 4294967295
- },
- members of bs::SHADER_DATA_PARAM_DESC:
- type = bs::GPDT_INT4,
- arraySize = 1,
- elementSize = 0
- },
- ["gLightStrides"] = {
- <bs::SHADER_PARAM_COMMON> = {
- name = "gLightStrides",
- gpuVariableName = "gLightStrides",
- rendererSemantic = {
- mData = 0x0
- },
- defaultValueIdx = 4294967295,
- attribIdx = 4294967295
- },
- members of bs::SHADER_DATA_PARAM_DESC:
- type = bs::GPDT_INT2,
- arraySize = 1,
- elementSize = 0
- },
- ["gLights"] = {
- <bs::SHADER_PARAM_COMMON> = {
- name = "gLights",
- gpuVariableName = "gLights",
- rendererSemantic = {
- mData = 0x0
- },
- defaultValueIdx = 4294967295,
- attribIdx = 4294967295
- },
- members of bs::SHADER_DATA_PARAM_DESC:
- type = bs::GPDT_STRUCT,
- arraySize = 8,
- elementSize = 80
- },
- ["gMaxNumLightsPerCell"] = {
- <bs::SHADER_PARAM_COMMON> = {
- name = "gMaxNumLightsPerCell",
- gpuVariableName = "gMaxNumLightsPerCell",
- rendererSemantic = {
- mData = 0x0
- },
- defaultValueIdx = 4294967295,
- attribIdx = 4294967295
- },
- members of bs::SHADER_DATA_PARAM_DESC:
- type = bs::GPDT_INT1,
- arraySize = 1,
- elementSize = 0
- },
- ["gNumCells"] = {
- <bs::SHADER_PARAM_COMMON> = {
- name = "gNumCells",
- gpuVariableName = "gNumCells",
- rendererSemantic = {
- mData = 0x0
- },
- defaultValueIdx = 4294967295,
- attribIdx = 4294967295
- },
- members of bs::SHADER_DATA_PARAM_DESC:
- type = bs::GPDT_INT1,
- arraySize = 1,
- elementSize = 0
- },
- ["gNumReflProbes"] = {
- <bs::SHADER_PARAM_COMMON> = {
- name = "gNumReflProbes",
- gpuVariableName = "gNumReflProbes",
- rendererSemantic = {
- mData = 0x0
- },
- defaultValueIdx = 4294967295,
- attribIdx = 4294967295
- },
- members of bs::SHADER_DATA_PARAM_DESC:
- type = bs::GPDT_INT1,
- arraySize = 1,
- elementSize = 0
- },
- ["gReflectionProbes"] = {
- <bs::SHADER_PARAM_COMMON> = {
- name = "gReflectionProbes",
- gpuVariableName = "gReflectionProbes",
- rendererSemantic = {
- mData = 0x0
- },
- defaultValueIdx = 4294967295,
- attribIdx = 4294967295
- },
- members of bs::SHADER_DATA_PARAM_DESC:
- type = bs::GPDT_STRUCT,
- arraySize = 8,
- elementSize = 112
- }
- },
- textureParams = std::map with 2 elements = {
- ["gDensityTex"] = {
- <bs::SHADER_PARAM_COMMON> = {
- name = "gDensityTex",
- gpuVariableName = "",
- rendererSemantic = {
- mData = 0x0
- },
- defaultValueIdx = 4294967295,
- attribIdx = 4294967295
- },
- members of bs::SHADER_OBJECT_PARAM_DESC:
- type = bs::GPOT_TEXTURE2D,
- gpuVariableNames = std::vector of length 1, capacity 1 = {
- "gDensityTex"
- }
- },
- ["gNoiseTex"] = {
- <bs::SHADER_PARAM_COMMON> = {
- name = "gNoiseTex",
- gpuVariableName = "",
- rendererSemantic = {
- mData = 0x0
- },
- defaultValueIdx = 0,
- attribIdx = 4294967295
- },
- members of bs::SHADER_OBJECT_PARAM_DESC:
- type = bs::GPOT_TEXTURE2D,
- gpuVariableNames = std::vector of length 1, capacity 1 = {
- "gNoiseTex"
- }
- }
- },
- bufferParams = std::map with 7 elements = {
- ["boneMatrices"] = {
- <bs::SHADER_PARAM_COMMON> = {
- name = "boneMatrices",
- gpuVariableName = "",
- rendererSemantic = {
- mData = 0x0
- },
- defaultValueIdx = 4294967295,
- attribIdx = 4294967295
- },
- members of bs::SHADER_OBJECT_PARAM_DESC:
- type = bs::GPOT_RWTYPED_BUFFER,
- gpuVariableNames = std::vector of length 1, capacity 1 = {
- "boneMatrices"
- }
- },
- ["gGridLightOffsetsAndSize"] = {
- <bs::SHADER_PARAM_COMMON> = {
- name = "gGridLightOffsetsAndSize",
- gpuVariableName = "",
- rendererSemantic = {
- mData = 0x0
- },
- defaultValueIdx = 4294967295,
- attribIdx = 4294967295
- },
- members of bs::SHADER_OBJECT_PARAM_DESC:
- type = bs::GPOT_RWTYPED_BUFFER,
- gpuVariableNames = std::vector of length 1, capacity 1 = {
- "gGridLightOffsetsAndSize"
- }
- },
- ["gGridProbeOffsetsAndSize"] = {
- <bs::SHADER_PARAM_COMMON> = {
- name = "gGridProbeOffsetsAndSize",
- gpuVariableName = "",
- rendererSemantic = {
- mData = 0x0
- },
- defaultValueIdx = 4294967295,
- attribIdx = 4294967295
- },
- members of bs::SHADER_OBJECT_PARAM_DESC:
- type = bs::GPOT_RWTYPED_BUFFER,
- gpuVariableNames = std::vector of length 1, capacity 1 = {
- "gGridProbeOffsetsAndSize"
- }
- },
- ["gLightIndices"] = {
- <bs::SHADER_PARAM_COMMON> = {
- name = "gLightIndices",
- gpuVariableName = "",
- rendererSemantic = {
- mData = 0x0
- },
- defaultValueIdx = 4294967295,
- attribIdx = 4294967295
- },
- members of bs::SHADER_OBJECT_PARAM_DESC:
- type = bs::GPOT_RWTYPED_BUFFER,
- gpuVariableNames = std::vector of length 1, capacity 1 = {
- "gLightIndices"
- }
- },
- ["gLights"] = {
- <bs::SHADER_PARAM_COMMON> = {
- name = "gLights",
- gpuVariableName = "",
- rendererSemantic = {
- mData = 0x0
- },
- defaultValueIdx = 4294967295,
- attribIdx = 4294967295
- },
- members of bs::SHADER_OBJECT_PARAM_DESC:
- type = bs::GPOT_STRUCTURED_BUFFER,
- gpuVariableNames = std::vector of length 1, capacity 1 = {
- "gLights"
- }
- },
- ["gReflectionProbeIndices"] = {
- <bs::SHADER_PARAM_COMMON> = {
- name = "gReflectionProbeIndices",
- gpuVariableName = "",
- rendererSemantic = {
- mData = 0x0
- },
- defaultValueIdx = 4294967295,
- attribIdx = 4294967295
- },
- members of bs::SHADER_OBJECT_PARAM_DESC:
- type = bs::GPOT_RWTYPED_BUFFER,
- gpuVariableNames = std::vector of length 1, capacity 1 = {
- "gReflectionProbeIndices"
- }
- },
- ["gReflectionProbes"] = {
- <bs::SHADER_PARAM_COMMON> = {
- name = "gReflectionProbes",
- gpuVariableName = "",
- rendererSemantic = {
- mData = 0x0
- },
- defaultValueIdx = 4294967295,
- attribIdx = 4294967295
- },
- members of bs::SHADER_OBJECT_PARAM_DESC:
- type = bs::GPOT_STRUCTURED_BUFFER,
- gpuVariableNames = std::vector of length 1, capacity 1 = {
- "gReflectionProbes"
- }
- }
- },
- samplerParams = std::map with 7 elements = {
- ["gAmbientOcclusionSamp"] = {
- <bs::SHADER_PARAM_COMMON> = {
- name = "gAmbientOcclusionSamp",
- gpuVariableName = "",
- rendererSemantic = {
- mData = 0x0
- },
- defaultValueIdx = 0,
- attribIdx = 4294967295
- },
- members of bs::SHADER_OBJECT_PARAM_DESC:
- type = bs::GPOT_SAMPLER2D,
- gpuVariableNames = std::vector of length 2, capacity 2 = {
- "gAmbientOcclusionSamp",
- "gAmbientOcclusionTex"
- }
- },
- ["gDensitySamp"] = {
- <bs::SHADER_PARAM_COMMON> = {
- name = "gDensitySamp",
- gpuVariableName = "",
- rendererSemantic = {
- mData = 0x0
- },
- defaultValueIdx = 4294967295,
- attribIdx = 4294967295
- },
- members of bs::SHADER_OBJECT_PARAM_DESC:
- type = bs::GPOT_SAMPLER2D,
- gpuVariableNames = std::vector of length 2, capacity 2 = {
- "gDensitySamp",
- "gDensityTex"
- }
- },
- ["gNoiseSamp"] = {
- <bs::SHADER_PARAM_COMMON> = {
- name = "gNoiseSamp",
- gpuVariableName = "",
- rendererSemantic = {
- mData = 0x0
- },
- defaultValueIdx = 4294967295,
- attribIdx = 4294967295
- },
- members of bs::SHADER_OBJECT_PARAM_DESC:
- type = bs::GPOT_SAMPLER2D,
- gpuVariableNames = std::vector of length 2, capacity 2 = {
- "gNoiseSamp",
- "gNoiseTex"
- }
- },
- ["gPreintegratedEnvBRDFSamp"] = {
- <bs::SHADER_PARAM_COMMON> = {
- name = "gPreintegratedEnvBRDFSamp",
- gpuVariableName = "",
- rendererSemantic = {
- mData = 0x0
- },
- defaultValueIdx = 4,
- attribIdx = 4294967295
- },
- members of bs::SHADER_OBJECT_PARAM_DESC:
- type = bs::GPOT_SAMPLER2D,
- gpuVariableNames = std::vector of length 2, capacity 2 = {
- "gPreintegratedEnvBRDFSamp",
- "gPreintegratedEnvBRDF"
- }
- },
- ["gReflProbeSamp"] = {
- <bs::SHADER_PARAM_COMMON> = {
- name = "gReflProbeSamp",
- gpuVariableName = "",
- rendererSemantic = {
- mData = 0x0
- },
- defaultValueIdx = 4294967295,
- attribIdx = 4294967295
- },
- members of bs::SHADER_OBJECT_PARAM_DESC:
- type = bs::GPOT_SAMPLER2D,
- gpuVariableNames = std::vector of length 1, capacity 1 = {
- "gReflProbeSamp"
- }
- },
- ["gSSRSamp"] = {
- <bs::SHADER_PARAM_COMMON> = {
- name = "gSSRSamp",
- gpuVariableName = "",
- rendererSemantic = {
- mData = 0x0
- },
- defaultValueIdx = 2,
- attribIdx = 4294967295
- },
- members of bs::SHADER_OBJECT_PARAM_DESC:
- type = bs::GPOT_SAMPLER2D,
- gpuVariableNames = std::vector of length 2, capacity 2 = {
- "gSSRSamp",
- "gSSRTex"
- }
- },
- ["gSkyReflectionSamp"] = {
- <bs::SHADER_PARAM_COMMON> = {
- name = "gSkyReflectionSamp",
- gpuVariableName = "",
- rendererSemantic = {
- mData = 0x0
- },
- defaultValueIdx = 4294967295,
- attribIdx = 4294967295
- },
- members of bs::SHADER_OBJECT_PARAM_DESC:
- type = bs::GPOT_SAMPLER2D,
- gpuVariableNames = std::vector of length 1, capacity 1 = {
- "gSkyReflectionSamp"
- }
- }
- },
- paramBlocks = std::map with 2 elements = {
- ["CloudColours"] = {
- name = "CloudColours",
- shared = false,
- rendererSemantic = {
- mData = 0x0
- },
- usage = bs::GBU_STATIC
- },
- ["GridParams"] = {
- name = "GridParams",
- shared = false,
- rendererSemantic = {
- mData = 0x0
- },
- usage = bs::GBU_STATIC
- }
- },
- dataDefaultValues = std::vector of length 0, capacity 0,
- samplerDefaultValues = std::vector of length 6, capacity 6 = {
- std::shared_ptr<bs::SamplerState> (use count 2, weak count 1) = {
- get() = 0x8d8ca20
- },
- std::shared_ptr<bs::SamplerState> (use count 2, weak count 1) = {
- get() = 0x8d8ca20
- },
- std::shared_ptr<bs::SamplerState> (use count 2, weak count 1) = {
- get() = 0x8c896e0
- },
- std::shared_ptr<bs::SamplerState> (use count 2, weak count 1) = {
- get() = 0x8c896e0
- },
- std::shared_ptr<bs::SamplerState> (use count 2, weak count 1) = {
- get() = 0x8c41d70
- },
- std::shared_ptr<bs::SamplerState> (use count 2, weak count 1) = {
- get() = 0x8c41d70
- }
- },
- textureDefaultValues = std::vector of length 1, capacity 1 = {
- {
- <bs::TResourceHandleBase<false>> = {
- <bs::ResourceHandleBase> = {
- <bs::IReflectable> = {
- _vptr.IReflectable = 0x4b7208 <vtable for bs::TResourceHandle<bs::Texture, false>+16>
- },
- members of bs::ResourceHandleBase:
- mData = std::shared_ptr<bs::ResourceHandleData> (use count 21, weak count 0) = {
- get() = 0x9bb680
- }
- }, <No data fields>}, <No data fields>}
- },
- paramAttributes = std::vector of length 0, capacity 0
- },
- mId = 86
- }, <No data fields>}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement