You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 19:41:11 +00:00
Merge pull request #81333 from dalexeev/fix-rd-pcbs-attachments-setter
Fix `RDPipelineColorBlendState.attachments` setter
This commit is contained in:
@@ -696,7 +696,7 @@ public:
|
|||||||
RD_SETGET(Color, blend_constant)
|
RD_SETGET(Color, blend_constant)
|
||||||
|
|
||||||
void set_attachments(const TypedArray<RDPipelineColorBlendStateAttachment> &p_attachments) {
|
void set_attachments(const TypedArray<RDPipelineColorBlendStateAttachment> &p_attachments) {
|
||||||
attachments.push_back(p_attachments);
|
attachments = p_attachments;
|
||||||
}
|
}
|
||||||
|
|
||||||
TypedArray<RDPipelineColorBlendStateAttachment> get_attachments() const {
|
TypedArray<RDPipelineColorBlendStateAttachment> get_attachments() const {
|
||||||
|
|||||||
Reference in New Issue
Block a user